Next: 36.8 Transforming operators (TRAN) Up: 36 MATRIX OPERATIONS Previous: 36.6 Setting variables (SET)

36.7 Multiplying matrices (MULT)

MULT,result, mat1, mat2,[fac1],[fac2]

calculates result = fac2 * result + fac1 * mat1 $\cdot$ mat2

The strings result , mat1 , mat2 are the internal names of the matrices. If fac1 is not given, fac1=1 is assumed. If fac2 is not given, fac2=0 is assumed. If a backquote (`) is appended to mat1 or mat2 the corresponding matrix is transposed before the operation. If a backquote is appended to result, the resulting matrix is transposed.



P.J. Knowles and H.-J. Werner
molpro@tc.bham.ac.uk
Jan 15, 2002