pub trait SvdFloat:
FloatOpsTS
+ ScalarOperand
+ MulAcc
+ DivAssign
+ 'static {
// Required methods
fn eps() -> Self;
fn eps34() -> Self;
fn to_f64(self) -> f64;
fn from_f64_val(v: f64) -> Self;
// Provided method
fn close(a: Self, b: Self) -> bool { ... }
}Expand description
Scalar types this crate can decompose.
Implemented for f32 and f64. The supertraits are what the sparse kernels and
the ndarray glue need; nothing here leaks a linear-algebra backend, because the
small dense factorizations are always performed in f64 and cast back.
Required Methods§
Sourcefn from_f64_val(v: f64) -> Self
fn from_f64_val(v: f64) -> Self
Narrow back from f64.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".