python-sparse 0.13.0 Library for multi-dimensional sparse arrays
This package implements sparse arrays of arbitrary dimension on top of numpy
and scipy.sparse
. Sparse array is a matrix in which most of the elements are zero. python-sparse
generalizes the scipy.sparse.coo_matrix
and scipy.sparse.dok_matrix
layouts, but extends beyond just rows and columns to an arbitrary number of dimensions. Additionally, this project maintains compatibility with the numpy.ndarray
interface rather than the numpy.matrix
interface used in scipy.sparse
. These differences make this project useful in certain situations where scipy.sparse
matrices are not well suited, but it should not be considered a full replacement. It lacks layouts that are not easily generalized like compressed sparse row/column(CSR/CSC) and depends on scipy.sparse
for some computations.
- Website: https://github.com/pydata/sparse/
- License: Modified BSD
- Package source: python-xyz.scm
- Patches: None
- Builds: x86_64-linux, aarch64-linux, powerpc64le-linux, i686-linux, armhf-linux