blob: 0a98df843e309663a0415a2bb410b8287ec22892 (
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
|
.help av2m Jun99 "Slalib Package"
.nf
SUBROUTINE slAV2M (AXVEC, RMAT)
- - - - -
A V 2 M
- - - - -
Form the rotation matrix corresponding to a given axial vector.
(single 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 r(3) axial vector (radians)
Returned:
RMAT r(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
|