1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
//! `sparse` is a sparse linear algebra library for working with sparse matrices and sparse vectors. //! //! # Sparse Matrices //! //! `sparse` includes multiple sparse matrix format: //! - [CooMat](sparse::CooMat) //! - [DokMat](sparse::DokMat) //! - [CscMat](sparse::CscMat) //! - [CsrMat](sparse::CsrMat) //! //! `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. pub mod coo; pub use coo::CooMat; pub mod csc; pub use csc::CscMat; pub mod csr; pub use csr::CsrMat; pub mod dok; pub use dok::DokMat; mod num;