A lightweight matrix library in Python.
Python
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
license.txt
pymatrix.py
readme.md
setup.py
test_pymatrix.py

readme.md

Pymatrix

Pymatrix is a lightweight matrix library in Python. It supports a range of basic linear algebra operations.

from pymatrix import matrix

m = matrix([
    [1, 2],
    [3, 4]
])

a = m + m * 2
b = m * m
c = m ** 3

d = m.det()
e = m.inv()

See the documentation for details.