Back to Linear Algebra (Eigen)
eigen.vector.normVec
Compute the Euclidean (L2) norm of a vector: ||v||_2 = sqrt(sum(v_i^2))
Syntax
eigen.vector.normVec(v)
Description
Compute the Euclidean (L2) norm of a vector: ||v||_2 = sqrt(sum(v_i^2))
Parameters
| Name | Description |
|---|---|
| v | - Vector |
Returns
number