HP Forums

Full Version: Numworks now has the numpy module
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Nice!

I hope the HP Prime team are reading this - hint, hint ;-)
(09-24-2023 11:14 PM)Eddie W. Shore Wrote: [ -> ]https://www.numworks.com/calculator/update/version-21/

It's limited to 2-dimensional arrays and doesn't have functions like

sum
add
sqrt
transpose
inverse
determinant
sin
cos
tan

I don't see much use for it right now. If they expand it in the future, maybe...
When I use from numpy import *, I am not able to use float-input or int-input statements. However, using import numpy as np and attaching all numpy commands to np., I can use the input statements.

Numworks is also missing the eig (eigenvalue) command. However, the array.transpose() command exists.

Correct me if I am wrong, but I think the HP Prime has the numpy (or at least a subset) module.
I was looking for some Numpy features on the Prime a while back and couldn't find what I was looking for (can't remember what it was now). There may be a subset of Numpy features but with the barebones/incomplete documentation it's hard to know for sure :-(

(09-26-2023 02:30 PM)Eddie W. Shore Wrote: [ -> ]When I use from numpy import *, I am not able to use float-input or int-input statements. However, using import numpy as np and attaching all numpy commands to np., I can use the input statements.

Numworks is also missing the eig (eigenvalue) command. However, the array.transpose() command exists.

Correct me if I am wrong, but I think the HP Prime has the numpy (or at least a subset) module.
(09-29-2023 11:33 AM)dmh Wrote: [ -> ]I was looking for some Numpy features on the Prime a while back and couldn't find what I was looking for (can't remember what it was now). There may be a subset of Numpy features but with the barebones/incomplete documentation it's hard to know for sure :-(

Here are some notes on Python, numpy, and the HP Prime. It's from over a year ago:
https://drive.google.com/drive/folders/1...sp=sharing

I agree with you, the documentation has been incomplete. Maybe incomplete is an understatement.
(09-29-2023 02:08 PM)Eddie W. Shore Wrote: [ -> ]
(09-29-2023 11:33 AM)dmh Wrote: [ -> ]I was looking for some Numpy features on the Prime a while back and couldn't find what I was looking for (can't remember what it was now). There may be a subset of Numpy features but with the barebones/incomplete documentation it's hard to know for sure :-(

Here are some notes on Python, numpy, and the HP Prime. It's from over a year ago:
https://drive.google.com/drive/folders/1...sp=sharing

I agree with you, the documentation has been incomplete. Maybe incomplete is an understatement.
I don't see any mention of numpy at that link. What am I missing?
(09-30-2023 09:40 AM)toml_12953 Wrote: [ -> ]
(09-29-2023 02:08 PM)Eddie W. Shore Wrote: [ -> ]Here are some notes on Python, numpy, and the HP Prime. It's from over a year ago:
https://drive.google.com/drive/folders/1...sp=sharing

I agree with you, the documentation has been incomplete. Maybe incomplete is an understatement.
I don't see any mention of numpy at that link. What am I missing?

Let's try this link: https://docs.google.com/document/d/1ytaJ...ue&sd=true
Reference URL's