manual   quickstart   instguide   update   basis

Next: 65.5 Trace of a Up: 65 MATRIX OPERATIONS Previous: 65.3 Saving matrices (SAVE)   Contents   Index   PDF

65.4 Adding matrices (ADD)


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

The strings result, mat1, mat2 are internal names specifying the matrices. mat1, mat2 must exist, otherwise an error occurs. If result does not exist, it is created.

The factors fac1, fac2 are optional (may be variables). If not given, one is assumed.

The nuclear values associated to the individual matrices are added accordingly and the result is associated to result. 2018-04-21