/triarray

Python package for working with pairwise distance/similarity matrices in non-redundant format.

Primary LanguagePythonMIT LicenseMIT

triarray

CI Documentation Status

Python package for working with symmetric matrices in non-redundant format.

See full documentation here.

Overview

The triarray package contains tools for working with large symmetric matrices while only storing the elements in the upper or lower triangle, thus halving memory requirements.

triarray uses Numba's just-in-time compilation to generate high-performance C code that works with any data type and is easily extendable (including within a Jupyter notebook).

Installation

The easiest way is to use pip:

pip install triarray

or you can clone the repository and run the setup script:

cd path/to/triarray
pip install .

License

This project is licensed under the MIT License - see the LICENSE file for details.