Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Attributes | List of all members
uni20::linalg::SvdLeastSquaresOptions< R > Struct Template Reference

Singular-value truncation policy for minimum-norm least squares. More...

#include <svd_least_squares_info.hpp>

Public Attributes

std::optional< R > relative_cutoff = {}
 Relative cutoff; absent selects epsilon at working precision.
 
bool return_singular_values = false
 

Detailed Description

template<Real R>
struct uni20::linalg::SvdLeastSquaresOptions< R >

Singular-value truncation policy for minimum-norm least squares.

Member Data Documentation

◆ relative_cutoff

template<Real R>
std::optional<R> uni20::linalg::SvdLeastSquaresOptions< R >::relative_cutoff = {}

Relative cutoff; absent selects epsilon at working precision.

Must be finite and nonnegative. Zero disables relative truncation; provider underflow safeguards still apply.

◆ return_singular_values

template<Real R>
bool uni20::linalg::SvdLeastSquaresOptions< R >::return_singular_values = false

The documentation for this struct was generated from the following file: