Post Reply 
Numworks now has the numpy module
09-24-2023, 11:14 PM
Post: #1
Numworks now has the numpy module
https://www.numworks.com/calculator/update/version-21/
Visit this user's website Find all posts by this user
Quote this message in a reply
09-25-2023, 01:24 PM
Post: #2
RE: Numworks now has the numpy module
Nice!

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

Calculator Clique on YouTube
Visit this user's website Find all posts by this user
Quote this message in a reply
09-26-2023, 08:33 AM
Post: #3
RE: Numworks now has the numpy module
(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...

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
09-26-2023, 02:30 PM (This post was last modified: 09-26-2023 02:31 PM by Eddie W. Shore.)
Post: #4
RE: Numworks now has the numpy module
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-29-2023, 11:33 AM
Post: #5
RE: Numworks now has the numpy 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.

Calculator Clique on YouTube
Visit this user's website Find all posts by this user
Quote this message in a reply
09-29-2023, 02:08 PM
Post: #6
RE: Numworks now has the numpy 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.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-30-2023, 09:40 AM
Post: #7
RE: Numworks now has the numpy module
(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?

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
09-30-2023, 08:16 PM
Post: #8
RE: Numworks now has the numpy module
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)