#linear-algebra #matrix #sparse #row #format #compression #coo-mat

sparse_matrix

A library to do linear algebra with sparse matrix

14 unstable releases (3 breaking)

0.6.0 Jan 29, 2024
0.5.0 Aug 2, 2023
0.4.6 Aug 1, 2023
0.4.4 Jul 31, 2023
0.1.3 Apr 18, 2023

#1257 in Algorithms

Download history 7/week @ 2024-01-25 6/week @ 2024-02-22 3/week @ 2024-02-29 1/week @ 2024-03-14 239/week @ 2024-03-21 7/week @ 2024-03-28

247 downloads per month
Used in ratrod-rs

MIT license

11KB
289 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.4–1MB
~23K SLoC