Normalize {manifold} | R Documentation |
Normalize a vector
Description
Normalize a vector
Usage
Normalize(v, tol = 1e-10)
Arguments
v |
A vector to be normalized to have a unit norm |
tol |
The tolerance value for deciding the v is actually 0, cannot be normalized, and thus return just the 0 vector |
Value
A vector with the same length as 'v' but having unit Euclidean norm
[Package manifold version 0.1.1 Index]