1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//! Sparse linear algebra wrappers and preconditioning utilities.
//!
//! # Two Intuitions
//!
//! 1. **Solver view.** This subsystem provides the direct and iterative sparse
//! linear algebra needed by the control and decomposition layers.
//! 2. **Building-block view.** It also exposes the supporting pieces that make
//! those solvers composable: compensated reductions, sparse matvec traits,
//! block preconditioners, and Schur-complement operators.
//!
//! # Glossary
//!
//! - **CSC / CSR:** Sparse compressed-column / compressed-row storage.
//! - **Preconditioner:** Approximate inverse used inside an iterative solver.
//! - **Iterative refinement:** Residual-correction loop on top of a direct
//! factorization.
//! - **Schur complement:** Reduced operator formed by eliminating one block of
//! a block system.
//!
//! # Mathematical Formulation
//!
//! The major solver forms are:
//!
//! - direct factorizations `P A Q = L U` or sparse Cholesky variants
//! - iterative Krylov solve for `A x = b`
//! - block preconditioner applications that approximate `A^-1`
//!
//! # Implementation Notes
//!
//! - The sparse surface is designed so direct factorizations can also act as
//! preconditioners.
//! - Compensated reductions are kept small and reusable so high-level modules
//! can opt into improved residual checks.
//! - Most wrappers are staged around `faer`'s symbolic/numeric split.
//!
//! # Feature Matrix
//!
//! | Feature | Direct | Iterative | Preconditioning | Complex support |
//! | --- | --- | --- | --- | --- |
//! | LU | yes | refinement only | yes | yes |
//! | Cholesky | yes | no | yes | yes |
//! | BiCGSTAB | no | yes | yes | yes |
//! | Equilibration | n/a | assists | assists | yes |
//! | Block/Schur operators | n/a | assists | yes | yes |
/// BiCGSTAB iterative solver.
/// Sparse Cholesky factorizations.
pub
/// Compensated complex and real accumulation helpers.
/// Two-sided sparse matrix equilibration.
/// Sparse LU factorization and iterative refinement helpers.
/// Sparse matrix-vector multiplication traits and wrappers.
/// Preconditioner traits and concrete sparse preconditioners.
/// Schur-complement operators for block sparse systems.
pub use ;
pub use ;
pub use CompensatedField;
pub use ;
pub use ;
pub use SparseMatVec;
pub use ;
pub use ;