aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/dav2m.hlp
blob: 26d5fae63aec5131b61f2f99fdbf5f746df2b462 (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
28
29
30
31
32
33
34
35
36
.help dav2m Jun99 "Slalib Package"
.nf

      SUBROUTINE slDAVM (AXVEC, RMAT)

     - - - - - -
      D A V M
     - - - - - -

  Form the rotation matrix corresponding to a given axial vector.
  (double precision)

  A rotation matrix describes a rotation about some arbitrary axis.
  The axis is called the Euler axis, and the angle through which the
  reference frame rotates is called the Euler angle.  The axial
  vector supplied to this routine has the same direction as the
  Euler axis, and its magnitude is the Euler angle in radians.

  Given:
    AXVEC  d(3)     axial vector (radians)

  Returned:
    RMAT   d(3,3)   rotation matrix

  If AXVEC is null, the unit matrix is returned.

  The reference frame rotates clockwise as seen looking along
  the axial vector from the origin.

  P.T.Wallace   Starlink   June 1989

  Copyright (C) 1995 Rutherford Appleton Laboratory
  Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.

.fi
.endhelp