[][src]Function lbfgs::vec_ops::norm2_sq

pub fn norm2_sq<T>(a: &[T]) -> T where
    T: Float + Sum<T>, 

Calculate the squared 2-norm of a slice