pub trait SVDScalar:
TTScalar
+ ComplexFloat
+ Default
+ Copy
+ BackendLinalgScalar
+ 'static {
// Required methods
fn linalg_real_to_f64(real: <Self as TensorScalar>::Real) -> f64;
fn from_linalg_real(real: <Self as TensorScalar>::Real) -> Self;
}Expand description
Trait bounds for SVD-compatible scalars
Required Methods§
Sourcefn linalg_real_to_f64(real: <Self as TensorScalar>::Real) -> f64
fn linalg_real_to_f64(real: <Self as TensorScalar>::Real) -> f64
Convert a backend singular value into f64 for truncation logic.
Sourcefn from_linalg_real(real: <Self as TensorScalar>::Real) -> Self
fn from_linalg_real(real: <Self as TensorScalar>::Real) -> Self
Promote a backend singular value into the matrix scalar type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.