pub trait Native:
Float<Working = Self>
+ Core
+ Folds {
// Required methods
fn algebraic_add(self, other: Self) -> Self;
fn algebraic_mul(self, other: Self) -> Self;
}Expand description
A float type that rustymath’s algorithms run in: f32 or f64.
Required Methods§
Sourcefn algebraic_add(self, other: Self) -> Self
fn algebraic_add(self, other: Self) -> Self
+ that may be reordered with other algebraic operations. A sum of them vectorizes.
Sourcefn algebraic_mul(self, other: Self) -> Self
fn algebraic_mul(self, other: Self) -> Self
× that may be reordered with other algebraic operations.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".