vunit - luxembourg/muxcode-clm GitHub Wiki
VUNIT()
FUNCTION: vunit(<vector>[,<delimiter>])
Returns the unit vector (a vector of magnitude 1) which points
in the same direction as the given vector.
Example:
> think vunit(2 0 0)
1 0 0
> think vmul(vunit(5 6 7),vmag(5 6 7))
5 6 7
Related Topics: vdim, vmag