R/utils.R
l2_normalize.Rd
L2 normalize an input vector x to a length of 1
l2_normalize(x)
a numeric vector
a vector of length length(x) with a magnitude of 1