HP Forums
Numworks now has the numpy module - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not remotely HP Calculators (/forum-9.html)
+--- Thread: Numworks now has the numpy module (/thread-20548.html)



Numworks now has the numpy module - Eddie W. Shore - 09-24-2023 11:14 PM

https://www.numworks.com/calculator/update/version-21/


RE: Numworks now has the numpy module - dmh - 09-25-2023 01:24 PM

Nice!

I hope the HP Prime team are reading this - hint, hint ;-)


RE: Numworks now has the numpy module - toml_12953 - 09-26-2023 08:33 AM

(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...


RE: Numworks now has the numpy module - Eddie W. Shore - 09-26-2023 02:30 PM

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.


RE: Numworks now has the numpy module - dmh - 09-29-2023 11:33 AM

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.



RE: Numworks now has the numpy module - Eddie W. Shore - 09-29-2023 02:08 PM

(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/1RUW1aRBotjhL9nzwz9ShBW_MPhqhRuU-?usp=sharing

I agree with you, the documentation has been incomplete. Maybe incomplete is an understatement.


RE: Numworks now has the numpy module - toml_12953 - 09-30-2023 09:40 AM

(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/1RUW1aRBotjhL9nzwz9ShBW_MPhqhRuU-?usp=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?


RE: Numworks now has the numpy module - Eddie W. Shore - 09-30-2023 08:16 PM

(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/1RUW1aRBotjhL9nzwz9ShBW_MPhqhRuU-?usp=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/1ytaJYCrRFQ-wRK3v2dLqN2J9USI2I4U-/edit?usp=sharing&ouid=118104434289993636800&rtpof=true&sd=true