blob: 295937e62f3c2cd5036bba577ed0aa2a220be965 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
.help dvn Jun99 "Slalib Package"
.nf
SUBROUTINE slDVN (V, UV, VM)
- - - -
D V N
- - - -
Normalizes a 3-vector also giving the modulus (double precision)
Given:
V dp(3) vector
Returned:
UV dp(3) unit vector in direction of V
VM dp modulus of V
If the modulus of V is zero, UV is set to zero as well
P.T.Wallace Starlink 23 November 1995
Copyright (C) 1995 Rutherford Appleton Laboratory
Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.
.fi
.endhelp
|