Crate sparse[][src]

sparse is a sparse linear algebra library for working with sparse matrices and sparse vectors.

Sparse Matrices

sparse includes multiple sparse matrix format:

CooMat is intented for incremental matrix builds including support for duplicate entries.
DokMat is intented for incremental matrix builds without support for duplicate entries.
CsrMat and CscMat are compressed format efficient for arithmetic operations and slicing on rows or columns respectively.

Re-exports

pub use coo::CooMat;
pub use csc::CscMat;
pub use csr::CsrMat;
pub use dok::DokMat;

Modules

coo

Coordinate (COO) format sparse matrix.

csc

Compressed sparse column (CSC) format sparse matrix.

csr

Compressed sparse row (CSR) format sparse matrix.

dok

Dictionary Of Keys (DOK) format sparse matrix.