PeterJohnNumPyV4
iPhone / developpeurs
****PeterJohnNumPyV4
Now You Can Use NumPy 1.20.2 on CPython3.9.9.
****How To Use NumPy on PeterJohnNumPyV4;;
Go To
"TutorialSeason003/scripts/s007LSTMtrainingPlot.py".
Then
"Run Script".
****Not Yet implemented Features;;
Basically, you Can Use all Functions of numpy.ndarray.
**1; numpy.random;;
please use Python3 Standard "random" module instead of it.
1.1); numpy.random.randn();;
So we implemented pjRandN() function using NumPy and Python3 Standard "random" module.
Documents/TutorialSeason003/scripts/pjLStermMemory.py;pjRandN()
**2; numpy.linalg;;
2.1); numpy.linalg.norm();;
So we implemented pjNorm() function using NumPy instead of it.
Documents/TutorialSeason003/scripts/pjLStermMemory.py;pjNorm()
2.2); numpy.linalg.qr();;
So we implemented pjQR() function using NumPy instead of it.
Documents/TutorialSeason003/scripts/pjLStermMemory.py;pjQR();
**3; numpy.diag();;
Basically, you Can Use all Functions of numpy.ndarray,
so Please use numpy.ndarray.diagonal() instead of it.
**4; numpy.fft; Not Yet implemented.
**5; numpy.polynomial;; Not Yet implemented.
**6; numpy.ctypeslib;; Not Yet implemented.
****When you Use this App withOut NumPy;;
Using iPhone's "Files.app", Delete the NumPy's "__pycache__" folder below.
Documents/PeterJohnNumPyV4/usrLocal/lib/python3.9/site-packages/numpy/__pycache__
If there doesNot Exist the NumPy's "__pycache__" folder,
when you touched "Edit Script",
this App Calls "Py_FinalizeEx()"
So you Can Enjoy Scripting Comfortably.
****the WorkAround against the Well-Known Bug of NumPy and Python3.9;;
NumPy and Python3.9 have a Well-Known Bug.
While NumPy has been imported, "Py_FinalizeEx()" doesNot Release memory.
So If you imported NumPy at the Second time, Python3 Crashes.
so we made a WorkAround against the Well-Known Bug of NumPy and Python3.9.
As the Specification of this App,
If there Exists the NumPy's "__pycache__" folder,
Documents/PeterJohnNumPyV4/usrLocal/lib/python3.9/site-packages/numpy/__pycache__
Even if you touched "Edit Script",
this App doesNot call "Py_FinalizeEx()"
This is Not a Perfect Solution But you Can Enjoy NumPy withOut Python3 Crashing.
****1st Corinthians 10:31, GNT;
10:31 Well, whatever you do, whether you eat or drink, do it all for God's glory.
Enjoy NumPy on PeterJohnNumPyV4.
Best Regards,
--Yasushi Yassun Obata
Quoi de neuf dans la dernière version ?
EditScriptView-KeyWordSearch Version;
For many years, our priority was Not implementing TextEditor with "KeyWord Search"
but implementing either NumPy or PyTorch.
But, Since Once we reached at the implementing both NumPy and PyTorch
as "PeterJohnNumPy", "PeterJohnNumPyMatplotlib", "PeterJohnPyTorch",
Now We Added "KeyWord Search" function to EditScriptView at this time.
So that You Can Search a Line and modify the Line easily.
So Far, we needed to use iPhone's "Notes" app in order to search a Line and modify the Line,
and needed to Paste the Script to the EditScriptView again.
but Now You Can Search a Line and modify the Line easily on "PeterJohn".
It seems "Search" in Japanese Language means "Happy" in English.
So we quoted the Scripture about "Happy".
****Psalm 1:1-3, GNT;
1:1 Happy are those
who reject the advice of evil people,
who do not follow the example of sinners
or join those who have no use for God.
1:2 Instead, they find joy in obeying the Law of the Lord,
and they study it day and night.
1:3 They are like trees that grow beside a stream,
that bear fruit at the right time,
and whose leaves do not dry up.
They succeed in everything they do.
Best Regards,
--Yasushi Yassun Obata