Trait rand::distributions::utils::FloatAsSIMD
source · pub(crate) trait FloatAsSIMD: Sized {
// Provided methods
fn lanes() -> usize { ... }
fn splat(scalar: Self) -> Self { ... }
fn extract(self, index: usize) -> Self { ... }
fn replace(self, index: usize, new_value: Self) -> Self { ... }
}
Expand description
Implement functions on f32/f64 to give them APIs similar to SIMD types