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