blob: 6448b842bdb4cdd5d30fce3e99fdbb56d590c594 (
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
37
38
|
.help dm2av Jun99 "Slalib Package"
.nf
SUBROUTINE slDMAV (RMAT, AXVEC)
- - - - - -
D M A V
- - - - - -
From a rotation matrix, determine the corresponding 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 returned by this routine has the same direction as the
Euler axis, and its magnitude is the Euler angle in radians. (The
magnitude and direction can be separated by means of the routine
slDVN.)
Given:
RMAT d(3,3) rotation matrix
Returned:
AXVEC d(3) axial vector (radians)
The reference frame rotates clockwise as seen looking along
the axial vector from the origin.
If RMAT is null, so is the result.
P.T.Wallace Starlink 24 December 1992
Copyright (C) 1995 Rutherford Appleton Laboratory
Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.
.fi
.endhelp
|