Latest PyPI version Documentation Status MIT license Travis CI build status Coverage status Code quality


matrixutils is a python package that includes utilities for working with matrices as linear operators in python. It includes utilities for wrapping and unwrapping matrices and vectors, tools for creating matrices, and operators Zero and Identity which improve code efficiency without sacrificing readability.

It is used by discretize and SimPEG.


pip install matrixutils

To install as a developer

git clone
cd matrixutils
python install

or to build the installation in-place:

git clone
cd matrixutils
python install build_ext --inplace