Returns L1 norm of a vector.
For vectors that equals the sum of magnitudes of its individual elements.
- Template Parameters
-
T | type of the vector (must be derived from Eigen::MatrixBase ) |
- Parameters
-
- Returns
- L1 norm of v.
Definition at line 20 of file norm1.hpp.