This is a module mainly written in C, which will be much faster than programming in pure python.
More...
|
| A = matrix([[1, 2, 3], [11, 12, 13], [21, 22, 23]]) |
|
| x = matrix([[1], [2], [3]]) |
|
| y = matrix([[1, 2, 3]]) |
|
| B = matrix([[1, 1, 0], [0, 1, 1], [1, -1.91, 1]]) |
|
| z = matrix([[5], [15], [0]]) |
|
| p = poly1d([3, 4, 5]) |
|
This is a module mainly written in C, which will be much faster than programming in pure python.
Here is an example of how to invert a matrix, and do other matrix manipulation.
You can also have a look at the array module, which is a much more efficient implementation of lists, when you have to deal with only one data type.
- Author
- Paulo Roma
- Since
- 03/08/2009