...
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 will be
. To represent this matrix in python, we will consider the matrix as two independent lists (
put together in one list.
Code Block | ||||
---|---|---|---|---|
| ||||
a = np.array([[1,2],[3,4]]) |
...