PeterJohnNumPyV4
iPhone / Education
****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 ?
"in LandScape mode, inputResultLabel, Position of Cursor BugFixed" and "Stopped PyFinalizeEx(()" Version;
(1) In LandScape mode, at the InputResultLabel, position of Cursor was Wrong, we Fixed the Bug at this time.
(2)we Stopped PyFinalizeEx() 'cause the python Script which uses Thread in the LandScape mode will CRASH When it executes PyFinalizeEx().
****Ezekiel 34:3-6, GNT;
34:3 You drink the milk, wear clothes made from the wool, and kill and eat the finest sheep. But you never tend the sheep.
34:4 You have not taken care of the weak ones, healed the ones that are sick, bandaged the ones that are hurt, brought back the ones that wandered off, or looked for the ones that were lost. Instead, you treated them cruelly.
34:5 Because the sheep had no shepherd, they were scattered, and wild animals killed and ate them.
34:6 So my sheep wandered over the high hills and the mountains.
They were scattered over the face of the earth, and no one looked for them or tried to find them.
Even if you live in the evil country which Evil Emperor rules, You MustNot Lose the Hope that King Jesus comes.
--Yassun