SLA_DVN

Normalize Vector

ACTION:
Normalize a 3-vector, also giving the modulus (double precision).
CALL:
CALL sla_DVN (V, UV, VM)
GIVEN:

V

D(3)

vector


RETURNED:

UV

D(3)

unit vector in direction of V

VM

D

modulus of V


NOTE:
If the modulus of V is zero, UV is set to zero as well.