lbfgs::vec_ops
pub fn norm1<T>(a: &[T]) -> T where T: Float + Sum<T>,
Calculate the 1-norm of a slice