![]() |
How to use python linalg module? - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: How to use python linalg module? (/thread-16981.html) |
How to use python linalg module? - kilasuelika - 05-20-2021 12:02 PM Update: It looks like that a 2d list can be automatically recognized as a matrix. Code:
Code:
------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------- I don't know how to create a matrix with python linalg module. Code:
All won't work. What's more, Code:
Only shows: Code:
Then it looks like that matrix doesn't have any member function. If use arange function: Code:
RE: How to use python linalg module? - parisse - 05-20-2021 04:01 PM linalg uses giac conventions (that is the same conventions as in the Prime CAS), a vector is a list and a matrix is a list of lists of the same size. |