#linear-algebra #matrix #sparse #format

sparse_matrix

A library to do linear algebra with sparse matrix

17 releases

0.6.3 Jun 3, 2024
0.6.0 Jan 29, 2024
0.5.0 Aug 2, 2023
0.4.4 Jul 31, 2023

#1045 in Algorithms


Used in ratrod-rs

MIT license

14KB
366 lines

sparse_matrix

A library to do solve sparse algebra problems.

How is it meant to be used ?

You are meant to create build your matrix using a coo_mat that uses a HashMap to store the matrix. Then transform it to a csr_matrix that uses the Compressed Sparse Row format that will be used to solve your problem.

Dependencies

~0.3–1MB
~21K SLoC