Returns L2 norm of a vector.
For vectors that equals the square-root of the sum of squares of the elements.
- Template Parameters
-
T | type of the vector (must be derived from Eigen::MatrixBase ) |
- Parameters
-
- Returns
- L2 norm of v.
Definition at line 20 of file norm2.hpp.