NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #3701 most downloaded on crates.io
A sparse matrix library
Latest stable
0.11.6
Last release 1 months ago
13 Oct 2026
Release timing varies
gaps range from 2 weeks to 1.8 years
Nearly every release is documented
notes for 35 of 38 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
41 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Fixed an issue where CsMat::set modified wrong entry
Fixed an issue where CsMat::set modified wrong entry
This project publishes no release notes. Between 0.11.4 and 0.11.5 there were 18 commits, 10 of them substantive:
This project publishes no release notes. Between 0.11.4 and 0.11.5 there were 18 commits, 10 of them substantive:
Accept ndarray 0.17 as dependency
Bump MSRV (1.85) - Accept ndarray 0.17 as dependency
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed a bug where Iptr -> I conversion was not checked
Fixed a bug where Iptr -> I conversion was not checked
Fixed a compilation regression in csmat_binop
Fixed a compilation regression in csmat_binop - Bump MSRV (1.77) - add support for reading/writing Complex{32,64} matrices in matrixmarket format.
Also change semantics so that files of kind {integer,real,complex} are only readable into matrices of the same kind (so integer can be read into [iu]{8,16,32,64,size}), real into u{32,64}, complex into Complex{32,64}. And raise a meaningful error if the user tries something that produces a mismatch.
Also make skew-symmetric and symmetric matrices work for complex values.
add support for reading hermitian complex matrices in matrixmarket format. Of course, reading non-complex hermitian matrices is nonsensical, so this raises an error (on the off-chance that some other matrixmarket writer can write such matrices).
This project publishes no release notes. Between 0.11.0 and 0.11.1 there were 74 commits, 53 of them substantive:
This project publishes no release notes. Between 0.11.0 and 0.11.1 there were 74 commits, 53 of them substantive:
…and 33 more.
MulAcc is generalised to allow different output types from input
MulAcc is generalised to allow different output types from input - Bump ndarray to 0.15. This requires a bump in MSRV to 1.49
refactor the handling of CsMatBase's indptr member to be able to express correct slicing views over the outer dimension breaking change
support more scalar types for scalar/matrix multiplication - refactor the handling of CsMatBase's indptr member to be able to
express correct slicing views over the outer dimension breaking change
refactor slicing to get a nicer API breaking change
use more clippy lints to get more idiomatic code
add a diag method to CsMatBase
fix a bug in CsMatViewMut::outer_iterator_mut
add CsVecBase::to_dense
split the error type between structural and linalg errors breaking change
allow specification of the Iptr type when converting from a triplet matrix to a compressed matrix breaking change
refactor matrix constructors for consistency breaking change
support generic dense vectors in solvers, {matrix,permutation}/vector multiplication. Technically a breaking change, but should not be in practice
remove need for Copy bound in most places
Nothing published for this version
mitigate bugs in middle_outer_views, that will require breaking changes in 0.10 to be fully fixed.
in 0.10 to be fully fixed.
Add scalar mul for {u,i}{8,16}
Add CsMatBase::diag
Fix a crash on matrix products with 0 rows.
Fix a crash on matrix products with 0 rows.
Fix a crash when parallelizing matrix products with less rows than the number of CPU cores.
number of CPU cores.
Make FillInReduction enum non exhaustive to prevent excessive breakage when new algorithms are implemented. breaking change
when new algorithms are implemented. breaking change
Make rayon optional breaking change
Make fill in reduction enum non exhaustive breaking change
Add SuiteSparse's CAMD in the fill in reduction enum
Add structure only sparse matrix type
Add Kronecker product
Implemnt Approx for matrix comparison
Various performance improvements with code patterns enabling removal of bounds checking by the compiler
Improve performance of sparse matrix creation by checking if indices are sorted and sorting only if necessary for owning matrices.
Fix CSC/CSR multiplication which would fail without reason.
Expose the num_kinds module to allow generic usage of matrix market serialization functions in client crates
serialization functions in client crates
accelerate sparse matrix product, remove the old implementation breaking change
breaking change
introduce fill-in reduction permutation using reverse Cuthil-McKee
fix permuted iteration that caused bugs in sprs-ldl breaking change
check permutation validity on creation breaking change
fix issue when building docs on nightly, which broke on docs.sprs
fix issue when building docs on nightly, which broke on docs.sprs
make serde optional breaking change
make mul_acc_mat_vec_cs{r|c} more generic breaking change
support having different types for indptr & indices in CsMatBase breaking change
more careful overflow checking
upgrade dependencies
faster triplet format to compressed storage conversion
fix borrow checker issue flagged by new NLL
can read Matrix Market files from an io::BufRead
improve CsMat::map to enable changing the storage type
add specialized sparse/sparse vector dot product using binary search for vectors where the number of non-zeros is very different.
for vectors where the number of non-zeros is very different.
enhance performance of sparse/sparse vector dot product
more explicit error messages when checking the structure of a CsMat
more explicit error messages when checking the structure of a CsMat
into_raw_storage allows recylcling the storage of a CsMat
support more ndarray versions
initial serde support
add more genericity over index type for CsMat construction functions.
CsMatBase now derives Clone.
add support for symmetric matrices in Matrix Market IO
fix bug with adjacent empty columns in CSR matrix iteration.
fix to_dense for non-square matrices
improve performance of sparse-dense dot products and matrix vector products.
add support for Matrix Market IO.
enable the selection of the integer type for storing indices in matrix types breaking change
types breaking change
update to ndarray 0.10
refactor triplet matrix to use the same idioms used in compressed matrix breaking change
enhance documentation of main data structures
permutation constructor for identity permutation now requires the dimension on which the permutation should operate breaking change
adapt to breaking changes in ndarray 0.7
adapt to breaking changes in ndarray 0.7
add insert() method to insert an element inside an owned csmat
add outer_iterator_mut() method to enable changing the non-zero values of a sparse matrix while keeping its structure constant.
remove unsafe usage in the library
panic for contract violations, use errors only for recoverable problems breaking change
breaking change
depend on latest ndarray version: 0.6 braking change
refactor API to present shorter import paths breaking change
expose sparse matrix / dense vector product via Mul.
add an example of building and solving a sparse linear system
move cholesky factorization into its own crate
add to_dense() method for sparse matrices
rename borrowed() into view()
outer_iterator() no longer returns the index of the dimension we're iterating. The old behavior can be obtained by chaining a call to enumerate().
eye() returns a csr matrix by default, a csc matrix can be obtained using eye_csc().
rename new_borrowed() into new_view().
rename new_raw() into new_view_raw().
rename new_owned() into new() or new_csc() depending on the desired ordering, and have the ownning constructors panic on bad input.
constructors now take a tuple for shape information
Nothing published for this version
rename at family of functions into get, consistent with the naming scheme in standard library. breaking change
scheme in standard library. breaking change
move cholesky factorization behind the "lgpl" feature flag rbeaking change
per-nnz-element function application (map, map_inplace).
binary operations operating on matching non-zero elements (csvec_binop, csmat_binop).
introduce nnz_index to retrieve an index of an element allowing for later constant time access.
depend on ndarray for dense matrices breaking change
iterators return reference where possible breaking change
remove unnecessary copy bounds
constructors to build sparse matrices from dense matrices
forward some LdlSymbolic methods in LdlNumeric
switch to dual MIT/Apache-2.0 license
switch to dual MIT/Apache-2.0 license
triplet matrix format for easier initialization
triplet matrix format for easier initialization
trait to abstract over sparse vectors
trait to abstract over sparse vectors
LDLT decomposition with support for permutations
LDLT decomposition with support for permutations
lifetime issue fixed (revealed by rust 1.4)
lifetime issue fixed (revealed by rust 1.4)
sparse triangular / sparse rhs solvers
sparse triangular / sparse rhs solvers
sparse triangular / dense rhs solvers
avoid "*" in dependencies
initial support for sparse/dense matrix addition
initial support for sparse/dense matrix addition
initial support for sparse/dense matrix multiplication
initial support for sparse/dense matrix multiplication
remove type aliases from impl blocks (doc issue)
remove type aliases from impl blocks (doc issue)
matrix multiplication, addition
block matrix constructors (vstack, hstack, bmat)
trait to abstract over sparse matrices
- first release on crates.io
first release on crates.io
One column per quarter.