Skip to main content

SimdReal

Trait SimdReal 

Source
pub trait SimdReal:
    SimdScalar
    + Sub<Output = Self>
    + Div<Output = Self> {
    // Required method
    fn from_len(len: usize) -> Self;
}
Expand description

Scalar contract for native-precision real-valued statistics.

Required Methods§

Source

fn from_len(len: usize) -> Self

Converts a non-zero slice length into the scalar’s native representation.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SimdReal for f32

Source§

fn from_len(len: usize) -> Self

Source§

impl SimdReal for f64

Source§

fn from_len(len: usize) -> Self

Implementors§