[−][src]Function optimization_engine::matrix_operations::norm2_squared
pub fn norm2_squared<T>(a: &[T]) -> T where
T: Float + Sum<T> + Mul<T, Output = T>,
Calculate the 2-norm of a vector
pub fn norm2_squared<T>(a: &[T]) -> T where
T: Float + Sum<T> + Mul<T, Output = T>,
Calculate the 2-norm of a vector