|
Macaulay2 Engine
|
| M2_bool rawLinAlgAddMult | ( | MutableMatrix * | C, |
| const MutableMatrix * | A, | ||
| const MutableMatrix * | B ) |
A,B,C should be mutable matrices over the same ring, and a,b elements of this ring. C = b*C + a * op(A)*op(B), where op(A) = A or transpose(A), depending on transposeA where op(B) = B or transpose(B), depending on transposeB set C += A*B. If not implemented, or sizes/rings are not compatible then false is returned. Otherwise true is returned.
Definition at line 946 of file mutable-matrix.cpp.
References MutableMatrix::addMultipleTo(), and ERROR.