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

Calculate the 1-norm of a vector