Function optimization_engine::matrix_operations::norm2_squared_diff
source · [−]pub fn norm2_squared_diff<T>(a: &[T], b: &[T]) -> Twhere
T: Float + Sum<T> + Mul<T, Output = T> + AddAssign,
Expand description
Calculate the squared 2-norm of the difference of two vectors