pub trait LinalgFloat:
LinalgScalar<LinalgReal = Self>
+ PartialOrd
+ Sealed {
type Complex: LinalgScalar<LinalgReal = Self>;
const EPSILON: Self;
const MIN_POSITIVE: Self;
// Required methods
fn sqrt(self) -> Self;
fn hypot(self, other: Self) -> Self;
fn copysign(self, sign: Self) -> Self;
fn is_nan(self) -> bool;
}Expand description
The real element types of linear algebra: f32 and f64.
Required Associated Constants§
Sourceconst MIN_POSITIVE: Self
const MIN_POSITIVE: Self
The smallest positive normal number (dlamch('S')).
Required Associated Types§
Sourcetype Complex: LinalgScalar<LinalgReal = Self>
type Complex: LinalgScalar<LinalgReal = Self>
The complex type of this real type (c64 for f32).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".