yeh_tm.norm

yeh_tm.norm(a)

Normalize a vector to its length.

Parameters:a (vector) – A vector.
Returns:Unit vector with same direction as a.