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 https://github.com/opengeophysics/matrixutils.git
cd matrixutils
python setup.py install
or to build the installation in-place:
git clone https://github.com/opengeophysics/matrixutils.git
cd matrixutils
python setup.py install build_ext --inplace
Website: http://simpeg.xyz
Documentation: http://matrixutils.readthedocs.io
Code: https://github.com/opengeophysics/matrixutils
Tests: Coming soon...
Bugs & Issues: https://github.com/opengeophysics/matrixutils/issues
Questions: https://groups.google.com/forum/#!forum/simpeg
Chat: http://slack.simpeg.xyz/