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!
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.5.tar.gz
(16.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file matrixflow-0.1.5.tar.gz.
File metadata
- Download URL: matrixflow-0.1.5.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36bcd38460336d4c71f5b08cc383de9ff4fff71e7b9caa9f41c563133d21369e
|
|
| MD5 |
39d35f0330ba2b4d48ff22e3ad279763
|
|
| BLAKE2b-256 |
d791df6abceb727371676cb3761f8bec2c02f83b5e4c1b60d8dac2f3995ad04f
|
File details
Details for the file matrixflow-0.1.5-py3-none-any.whl.
File metadata
- Download URL: matrixflow-0.1.5-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ea797b88706bf03e3d5a195ea96648fc08f61586358062b7b762935c46a0f6b
|
|
| MD5 |
da1e8538ef01dda7a116ad6e277f7e86
|
|
| BLAKE2b-256 |
1273323005a79102ef23684e35c8aa36a3ca9820216992582abfb92b237f6820
|