Skip to main content

Module sve

Module sve 

Source
Expand description

Singular Value Expansion (SVE) module

This module provides functionality for computing the singular value expansion of integral kernels.

§Design Principles

  1. Separation of Concerns: Clear separation between general SVE processing and symmetry-specific logic
  2. Type-driven Precision: Automatic selection of working precision based on required accuracy
  3. Symmetry Exploitation: Efficient computation for centrosymmetric kernels via even/odd decomposition
  4. Composability: Modular design allowing easy extension and testing

Structs§

SVEOptions
Options of compute_sve_with
SVEResult
Result of Singular Value Expansion computation

Enums§

TworkType
Working precision type for SVE computations

Constants§

ACCURACY_CUTOFF_FACTOR
Cutoff of SVEOptions::cutoff_from_epsilon relative to the required accuracy ε

Functions§

compute_sve
Main SVE computation function
compute_sve_with
The SVE of kernel with options
sve_residual
The residual of the SVE sve of kernel, relative to the largest singular value: max |K(x, y) - Σ_l s_l u_l(x) v_l(y)| / s_0