Skip to main content

simd_standardize_f64

Function simd_standardize_f64 

Source
pub fn simd_standardize_f64(input: &ArrayView1<'_, f64>) -> Array1<f64>
Expand description

SIMD-accelerated standardization for f64 arrays

Returns (x - mean) / std for each element (z-score normalization). If std is zero or NaN, returns a zero array.

§Arguments

  • input - Input array to standardize

§Returns

Standardized array with mean=0 and std=1 (or zero array if input std is zero)