Next: F121 Vector Algebra
Up: CERNLIB
Previous: F117 Vector Product
Routine ID: F118
| Author(s): CERN TC Division | Library: KERNLIB
|
Submitter: C. Letertre | Submitted: 01.09.1969
|
Language: Fortran | Revised:
|
Subroutine subprogram ROT rotates a 3-vector
by a given angle
around the z-axis.
Structure:
SUBROUTINE subprogram
User Entry Names: ROT
COMMON Block Names and Lengths: /SLATE/ 40
Usage:
CALL ROT(A,TH,B)
- A
- ( REAL) One-dimensional array of length 3,
containing
.
- TH
- ( REAL) Angle
given in radians.
- B
- ( REAL) One-dimensional array of length 3. On exit,
B contains the components
of the rotated vector,
i.e.
-
-
-
-
-
-
.
B may overlap A.
F121
Janne Saarela
Mon Apr 3 15:06:23 METDST 1995