Skip to main content

A rich library with implementations for mathematical matrices and vectors and their operations

Project description

Matrixflow

Downloads

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.4.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matrixflow-0.1.4-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file matrixflow-0.1.4.tar.gz.

File metadata

  • Download URL: matrixflow-0.1.4.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for matrixflow-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d77a0b323bd50b6ef8baa8abf01898e856e7bde2bef68c6b0748d8eaf73d7ebe
MD5 5a2bd6282f95ee65d9bbcc5c468f0f4e
BLAKE2b-256 317691e0956297fade7fc8f08535ec0b700e290e64fc357353b256aa7bb18ada

See more details on using hashes here.

File details

Details for the file matrixflow-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: matrixflow-0.1.4-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

Hashes for matrixflow-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cb2cbc64a8176eae3834684f4ea7e260c558d6fc8007e4e94fcd41901fc3783f
MD5 1395c4768e1b03934fdeaaaf0172f754
BLAKE2b-256 499a02f90a2a043587170343638b31475bade635082570be9dc33b4bbe259ed6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page