Next: SLA_MXV - Apply 3D Rotation
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_MOON - Approx Moon Pos/Vel
SLA_MXM - Multiply Matrices
- ACTION:
- Product of two matrices (single precision).
- CALL:
- CALL sla_MXM (A, B, C)
- GIVEN:
-
A |
R(3,3) |
matrix A |
B |
R(3,3) |
matrix B |
- RETURNED:
-
C |
R(3,3) |
matrix result: AB |
- NOTE:
- To comply with the ANSI Fortran 77 standard, A, B and C must
be different arrays. The routine is, in fact, coded
so as to work properly on the VAX and many other systems even
if this rule is violated, something that is not, however,
recommended.
Next: SLA_MXV - Apply 3D Rotation
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_MOON - Approx Moon Pos/Vel
SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
12 October 1999
E-mail:ptw@star.rl.ac.uk