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!
Metadata
Release files for matrixflow 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| matrixflow-0.1.5.tar.gz | 16.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| matrixflow-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.2 kB
Release files / matrixflow-0.1.5.tar.gz
| Download URL | matrixflow-0.1.5.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36bcd38460336d4c71f5b08cc383de9ff4fff71e7b9caa9f41c563133d21369e
|
|
BLAKE2b-256 checksum How to use checksums |
d791df6abceb727371676cb3761f8bec2c02f83b5e4c1b60d8dac2f3995ad04f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / matrixflow-0.1.5-py3-none-any.whl
| Download URL | matrixflow-0.1.5-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ea797b88706bf03e3d5a195ea96648fc08f61586358062b7b762935c46a0f6b
|
|
BLAKE2b-256 checksum How to use checksums |
1273323005a79102ef23684e35c8aa36a3ca9820216992582abfb92b237f6820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|