A rich library with implementations for mathematical matrices and vectors and their operations
Project description
Matrixflow
A rich library with implementations for mathematical matrices and vectors and their operations
Refer to the documentation over here
Installation
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
Examples
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
Highlight Features
-
Matrices
- Basic operations: addition, subtraction, scalar/matrix multiplication and other basic matrix functions
- Linear transformations
- determinant
- Linear system of equations:
- Gaussian elimination: row echelon & reduced row echelon forms
- Inverse
- and many more!
-
Vectors
- Basic operations: addition, subtraction, scalar/dot/cross products and other basic vector functions
- polar/spherical and cartesian conversions
- projection, rejection
- and many more!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
matrixflow-0.1.3.tar.gz
(17.6 kB
view details)
Built Distribution
File details
Details for the file matrixflow-0.1.3.tar.gz
.
File metadata
- Download URL: matrixflow-0.1.3.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43860582f9f0d414651d0af17d4a5c15716d1c128276844df0a8de15a94ee50 |
|
MD5 | e00efdf0da77b27058b743885056b72b |
|
BLAKE2b-256 | 001197da3ea46beb1474bc7b4942f4b7f9ae42b125bec35a52ffb7c862af44f2 |
File details
Details for the file matrixflow-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: matrixflow-0.1.3-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de2a2ce273717faa86b7729c54bdabbdb80553dfd079aaf17e8f396e6542b31d |
|
MD5 | ad9c18493304de2e2ec7e58d772fabb0 |
|
BLAKE2b-256 | 66b3a79bf263c0c08ca8c4867d988121ffe53bba785c682c511bfdeaee32282a |