next up previous
Next: SLA_MXV - Apply 3D Rotation
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_MOON - Approx Moon Pos/Vel

   
SLA_MXM - Multiply $3\times3$ Matrices

ACTION:
Product of two $3\times3$ 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: A$\times$B

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 up previous
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