#linear-algebra #sparse #matrix #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

#1168 in Algorithms

Download history 1/week @ 2024-09-18 53/week @ 2024-09-25 82/week @ 2024-10-02 2/week @ 2024-10-09 1/week @ 2024-11-20 2/week @ 2024-12-04 20/week @ 2024-12-11 19/week @ 2024-12-18 12/week @ 2025-01-01

53 downloads per month
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