A math library I made to learn and explore math.
Open up a terminal and go to the directory where you want to put Math Tools.
Clone the repo:
git clone https://github.com/martin-petersson/MathTools.git
Inside the same directory run the interactive Python interpreter:
$ python
>>> import mathtools as mt
a = mt.Vector([x, y])
a + b
a * 0.78
a / 2
a.unit
a.dot(b)
a.cross(b)
t = 0.5
a.lerp(b, t)
m = mt.Matrix([[a, b], [c, d]])