A rich library with implementations for mathematical matrices and vectors and their operations
MIT License
A rich library with implementations for mathematical matrices and vectors and their operations
Refer to the documentation over here
Python 3.10 or higher is required
py -m pip install matrixflow
or from github
py -m pip install git+https://github.com/Tom-the-Bomb/matrixflow.git
from matrixflow import Matrix, Vector
A = Matrix([
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
])
print(A.det()) # calculates the determinant
A.transpose() # transposes `A` in place
u = Vector([1, 2, 3])
v = Vector([4, 5, 6])
print(u * v) # calculates the dot product
Further examples can be found over at the documentation here
Matrices
Vectors