Skip to main content

A lightweight, easy-to-use matrix module in pure Python.

Project description

A lightweight, easy-to-use 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()

See the package documentation or the library’s Github homepage for further details.

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

pymatrix-2.0.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Supported by

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