Skip to main content

Module truncation

Module truncation 

Source
Expand description

Truncation policy types for decomposition algorithms.

This module keeps algorithm selection separate from algorithm-specific truncation semantics. SVD-based routines use SvdTruncationPolicy, while QR and other decompositions keep their own option types.

Structs§

InvalidThresholdError
Error for invalid SVD truncation thresholds.
SvdTruncationPolicy
Explicit truncation policy for SVD-based decompositions.

Enums§

DecompositionAlg
Decomposition/factorization algorithm.
SingularValueMeasure
Singular-value-derived quantity used for truncation.
ThresholdScale
Threshold scaling for SVD truncation.
TruncationRule
Rule used to map singular values to a retained rank.