Expand description
SVD decomposition for tensors.
Provides svd and svd_with for computing truncated SVD of
TensorDynLen values. The tensor is unfolded into a matrix by
splitting its indices into left and right groups, then the standard
matrix SVD is computed and truncated according to SvdOptions.
This module works with concrete types (DynIndex, TensorDynLen) only.
Structs§
- SvdOptions
- Options for SVD decomposition with truncation control.
Enums§
- SvdError
- Error type for SVD operations in tensor4all-linalg.
Functions§
- default_
svd_ truncation_ policy - Get the global default truncation policy for SVD.
- set_
default_ svd_ truncation_ policy - Set the global default truncation policy for SVD.
- svd
- Compute SVD decomposition of a tensor with arbitrary rank, returning (U, S, V).
- svd_
with - Compute SVD decomposition of a tensor with arbitrary rank, returning (U, S, V).