slaDvn -

SYNOPSYS

void slaDvn(v, uv, vm)

PARAMETERS

double *v
double *uv
double *vm

DESCRIPTION


  Normalizes a 3-vector also giving the modulus.

  (double precision)

Given

     v       double[3]      vector

Returned

     uv      double[3]      unit vector in direction of v
     *vm     double         modulus of v


  If the modulus of v is zero, uv is set to zero as well.

  P.T.Wallace   Starlink   31 October 1993

SEE ALSO