sprs
sprs copied to clipboard
sparse linear algebra library for rust
Hey again @vbarrielle, I thought we might continue this discussion in a new issue. I am a Student, I research profile reduction methods for a minor assignment, though mostly for...
As explained [here](https://users.rust-lang.org/t/how-to-zip-two-slices-efficiently/2048), using zip to iterate on members with the same length is inefficient bacause the compiler won't be able to remove both bounds checkings. Some tricks exist for...
Hi! I was wondering if there was a way to efficiently compute the rank of a sparse matrix with this crate? Thanks a lot :)
Currently, `CsMat::new` appears to fail on input that has duplicate values (i.e. when in a CSR matrix multiple indices for a row are the same). They are summed by default,...
Right now this product is either available as a special case of the sparse/dense matrix multiplication, or as a free function that only takes slices as input. We need to...
Have an array view data structure, and an associated trait enabling to take an array view into a matrix. ArrayView implementation of Mul will perform a scalar multiplication instead of...
As motivated [in this thread](https://users.rust-lang.org/t/prior-work-on-krylov-subspace-methods/13261) on Krylov subspace solvers, I think it may be a good idea to try and see, whether this library's types could implement the traits provided...
Since the code is mostly generic, complex types should be supported, but this needs testing. Some complex-only functions should be added.
The rhs could be a dense matrix, or maybe an iterator of rhs. We might want to abstract over these cases.
We need to prevent overflow, if possible by detecting the possible overflows at matrix creation.