pub fn l1_norm<T, const D: usize>(
v: &Matrix<T, Const<D>, Const<1>, ArrayStorage<T, D, 1>>,
) -> Twhere
T: RealNumber,Expand description
The l1-norm of v.
This is also known as the “Manhattan distance” or “taxicab distance” and
corresponds to the sum of the absolute values of the components of v.