A basic library implementing basic matrix and vector operations
Project description
Matrixflow
A simple & light library with basic implementations for mathematical matrices and vectors
Refer to the documentation over here
Installation
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.tranpose() # 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
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.0.tar.gz
(13.2 kB
view details)
Built Distribution
File details
Details for the file matrixflow-0.1.0.tar.gz
.
File metadata
- Download URL: matrixflow-0.1.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fc7b19ddefa0c14cd0f59408e4e29f4480669d7764020acd9bad50d28e7c7ed |
|
MD5 | 4c323eaabe9361960af5983473ffda8f |
|
BLAKE2b-256 | 72754daf45f912554806c8e5633a71c87e5ca0dbccc75f0877b4c39b3bf7e374 |
File details
Details for the file matrixflow-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: matrixflow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.9 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 | df0fa3b6f37e7cc6130511cbc6b83099a410d6287720e23916f7f200773070c8 |
|
MD5 | 850515eecdcbdeccb7cd534a564e6187 |
|
BLAKE2b-256 | e04a962ac0684b338792c7810b3ced34deb88d064f131c7b5b317a198ccea6cc |