Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The NumPy library is very helpful for solving linear systems in python. For instructions on how to install NumPy look here

...

titleImporting 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
languagepy
titleCreating a matrix
a = np.array([[1,2],[3,4]])

...