Skip to main content

A lightweight matrix module in pure Python.

Project description

A lightweighte matrix module in pure Python. Supports a range of basic linear algebra operations.

Sample syntax:

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()

Supported by

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