math_audio_solvers/iterative/
mod.rs

1//! Iterative solvers for linear systems
2//!
3//! This module provides Krylov subspace methods for solving large sparse systems:
4//! - [`gmres`]: GMRES(m) with restart - best for general non-symmetric systems
5//! - [`bicgstab`]: BiCGSTAB - good alternative to GMRES
6//! - [`cgs`]: CGS - faster but less stable than BiCGSTAB
7//! - [`cg`]: Conjugate Gradient - for symmetric positive definite systems
8
9mod bicgstab;
10mod cg;
11mod cgs;
12mod gmres;
13#[cfg(feature = "rayon")]
14pub mod gmres_pipelined;
15
16pub use bicgstab::{BiCgstabConfig, BiCgstabSolution, bicgstab};
17pub use cg::{CgConfig, CgSolution, cg};
18pub use cgs::{CgsConfig, CgsSolution, cgs};
19pub use gmres::{
20    GmresConfig, GmresSolution, gmres, gmres_preconditioned, gmres_preconditioned_with_guess,
21    gmres_with_guess,
22};
23#[cfg(feature = "rayon")]
24pub use gmres_pipelined::gmres_pipelined;