Expand description
Singular Value Expansion (SVE) module
This module provides functionality for computing the singular value expansion of integral kernels.
§Design Principles
- Separation of Concerns: Clear separation between general SVE processing and symmetry-specific logic
- Type-driven Precision: Automatic selection of working precision based on required accuracy
- Symmetry Exploitation: Efficient computation for centrosymmetric kernels via even/odd decomposition
- Composability: Modular design allowing easy extension and testing
Structs§
- SVEOptions
- Options of
compute_sve_with - SVEResult
- Result of Singular Value Expansion computation
Enums§
- Twork
Type - Working precision type for SVE computations
Constants§
- ACCURACY_
CUTOFF_ FACTOR - Cutoff of
SVEOptions::cutoff_from_epsilonrelative to the required accuracy ε
Functions§
- compute_
sve - Main SVE computation function
- compute_
sve_ with - The SVE of
kernelwithoptions - sve_
residual - The residual of the SVE
sveofkernel, relative to the largest singular value: max |K(x, y) - Σ_l s_l u_l(x) v_l(y)| / s_0