pub trait AdvancedSimdOps<F>: SimdUnifiedOps{
// 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§
Sourcefn simd_sum_cubes(data: &ArrayView1<'_, F>) -> F
fn simd_sum_cubes(data: &ArrayView1<'_, F>) -> F
SIMD-optimized sum of cubes
Sourcefn simd_sum_quads(data: &ArrayView1<'_, F>) -> F
fn simd_sum_quads(data: &ArrayView1<'_, F>) -> F
SIMD-optimized sum of fourth powers
Sourcefn simd_correlation(
x: &ArrayView1<'_, F>,
y: &ArrayView1<'_, F>,
mean_x: F,
meany: F,
) -> F
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", so this trait is not object safe.