The NumPy library is very helpful for solving linear systems in python. For instructions on how to install NumPy look here
...
title | Importing NumPy |
---|
...
.
...
Matrixes in Python
In Python, matrices are not it's own thing, but rather a list of list/nested lists. Let's look at an example:
Our matrix of choice is
Code Block | ||||
---|---|---|---|---|
| ||||
a = np.array([[1,2],[3,4]]) |
...