nalgebra-sparse-linalg
Sparse linear algebra iterative solvers for nalgebra_sparse.
Overview
nalgebra-sparse-linalg provides iterative methods for solving large, sparse linear systems of equations, with a focus on compatibility with the nalgebra_sparse crate. The initial release includes a Jacobi iterative solver for diagonally dominant matrices.
Features
- Jacobi iterative solver for sparse matrices in CSR format.
- Generic over scalar types (e.g.,
f32,f64). - Simple API compatible with
nalgebra_sparse's matrix and vector types.
Usage
Add this to your Cargo.toml:
[]
= "0.1"
= "0.9"
= "0.32"
Example:
use ;
use solve;
let a = identity;
let b = from_vec;
let result = solve;
assert!;
Documentation
See docs.rs for full API documentation.
License
Licensed under either of
- Apache License, Version 2.0
- MIT license
at your option.