Function simd_normalize_f64
Source pub fn simd_normalize_f64(input: &ArrayView1<'_, f64>) -> Array1<f64>
Expand description
SIMD-accelerated L2 normalization for f64 arrays
Normalizes the input array to unit L2 norm (Euclidean length = 1).
If the norm is zero or NaN, returns a zero array.
§Arguments
input - Input array to normalize
§Returns
Normalized array where ||output||_2 = 1 (or zero array if input norm is zero)