Skip to main content

simd_sum_sq_diff_f64

Function simd_sum_sq_diff_f64 

Source
pub fn simd_sum_sq_diff_f64(data: &[f64], mean: f64) -> f64
Expand description

SIMD-accelerated computation of sum((x - mean)²) for f64 slices.

Computes the sum of squared differences from the mean in a single pass without allocating an intermediate Vec. Uses 4 SIMD accumulators for ILP.