Next: 47.8 Transforming operators (TRAN) Up: 47 MATRIX OPERATIONS Previous: 47.6 Setting variables (SET)

47.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.



molpro@molpro.net
Oct 10, 2007