sparse_ir_sve/sve/mod.rs
1//! Singular Value Expansion (SVE) module
2//!
3//! This module provides functionality for computing the singular value expansion
4//! of integral kernels.
5//!
6//! # Design Principles
7//!
8//! 1. **Separation of Concerns**: Clear separation between general SVE processing
9//! and symmetry-specific logic
10//! 2. **Type-driven Precision**: Automatic selection of working precision based on
11//! required accuracy
12//! 3. **Symmetry Exploitation**: Efficient computation for centrosymmetric kernels
13//! via even/odd decomposition
14//! 4. **Composability**: Modular design allowing easy extension and testing
15
16pub(crate) mod compute;
17mod residual;
18mod result;
19pub(crate) mod strategy;
20mod types;
21pub(crate) mod utils;
22
23// Re-export public API
24pub use compute::{ACCURACY_CUTOFF_FACTOR, SVEOptions, compute_sve, compute_sve_with};
25pub use residual::sve_residual;
26pub use result::SVEResult;
27pub use types::TworkType;
28
29#[cfg(test)]
30mod tests;