aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/deuler.hlp
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/slalib/doc/deuler.hlp
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'math/slalib/doc/deuler.hlp')
-rw-r--r--math/slalib/doc/deuler.hlp50
1 files changed, 50 insertions, 0 deletions
diff --git a/math/slalib/doc/deuler.hlp b/math/slalib/doc/deuler.hlp
new file mode 100644
index 00000000..1dc55844
--- /dev/null
+++ b/math/slalib/doc/deuler.hlp
@@ -0,0 +1,50 @@
+.help deuler Jun99 "Slalib Package"
+.nf
+
+ SUBROUTINE slDEUL (ORDER, PHI, THETA, PSI, RMAT)
+
+ - - - - - - -
+ D E U L
+ - - - - - - -
+
+ Form a rotation matrix from the Euler angles - three successive
+ rotations about specified Cartesian axes (double precision)
+
+ Given:
+ ORDER c*(*) specifies about which axes the rotations occur
+ PHI d 1st rotation (radians)
+ THETA d 2nd rotation ( " )
+ PSI d 3rd rotation ( " )
+
+ Returned:
+ RMAT d(3,3) rotation matrix
+
+ A rotation is positive when the reference frame rotates
+ anticlockwise as seen looking towards the origin from the
+ positive region of the specified axis.
+
+ The characters of ORDER define which axes the three successive
+ rotations are about. A typical value is 'ZXZ', indicating that
+ RMAT is to become the direction cosine matrix corresponding to
+ rotations of the reference frame through PHI radians about the
+ old Z-axis, followed by THETA radians about the resulting X-axis,
+ then PSI radians about the resulting Z-axis.
+
+ The axis names can be any of the following, in any order or
+ combination: X, Y, Z, uppercase or lowercase, 1, 2, 3. Normal
+ axis labeling/numbering conventions apply; the xyz (=123)
+ triad is right-handed. Thus, the 'ZXZ' example given above
+ could be written 'zxz' or '313' (or even 'ZxZ' or '3xZ'). ORDER
+ is terminated by length or by the first unrecognized character.
+
+ Fewer than three rotations are acceptable, in which case the later
+ angle arguments are ignored. If all rotations are zero, the
+ identity matrix is produced.
+
+ P.T.Wallace Starlink 23 May 1997
+
+ Copyright (C) 1997 Rutherford Appleton Laboratory
+ Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.
+
+.fi
+.endhelp