Skip to main content

AdvancedSimdOps

Trait AdvancedSimdOps 

Source
pub trait AdvancedSimdOps<F>: SimdUnifiedOps
where F: Float + NumCast + Zero + One + PartialOrd + Copy + Send + Sync + Display + Sum<F>,
{ // Provided methods fn simd_sum_cubes(data: &ArrayView1<'_, F>) -> F { ... } fn simd_sum_quads(data: &ArrayView1<'_, F>) -> F { ... } fn simd_correlation( x: &ArrayView1<'_, F>, y: &ArrayView1<'_, F>, mean_x: F, meany: F, ) -> F { ... } }
Expand description

Specialized SIMD operations for advanced statistics

Provided Methods§

Source

fn simd_sum_cubes(data: &ArrayView1<'_, F>) -> F

SIMD-optimized sum of cubes

Source

fn simd_sum_quads(data: &ArrayView1<'_, F>) -> F

SIMD-optimized sum of fourth powers

Source

fn simd_correlation( x: &ArrayView1<'_, F>, y: &ArrayView1<'_, F>, mean_x: F, meany: F, ) -> F

SIMD-optimized correlation coefficient

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 AdvancedSimdOps<f32> for f32

Source§

impl AdvancedSimdOps<f64> for f64

Implementors§