nrm2_c64_ndarray

Function nrm2_c64_ndarray 

Source
pub fn nrm2_c64_ndarray(x: &Array1<Complex64>) -> f64
Expand description

Computes the Euclidean norm of a Complex64 vector.

||x||_2 = sqrt(Σ |x[i]|²) = sqrt(Σ (x[i].re² + x[i].im²))

This is equivalent to sqrt(x^H · x).