Macaulay2 Engine
Loading...
Searching...
No Matches

◆ addMultipleTo() [12/12]

template<typename Mat>
void MatrixOps::addMultipleTo ( Mat & C,
const Mat & A,
const Mat & B )

Set C += A*B.

Throws an exception if not yet implemented for this ring/matrix type. The sizes of C,A,B must be compatible. These are checked only via assertions.

Definition at line 282 of file mat-linalg.hpp.

284{
285 (void) C;
286 (void) A;
287 (void) B;
288 throw exc::engine_error(
289 "'addMultipleTo' not implemented for this kind of matrix over this ring");
290}