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

◆ subtractMultipleTo() [10/10]

template<typename Mat>
void MatrixOps::subtractMultipleTo ( 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 298 of file mat-linalg.hpp.

300{
301 (void) C;
302 (void) A;
303 (void) B;
304 throw exc::engine_error(
305 "'subtractMultipleTo' not implemented for this kind of matrix over this "
306 "ring");
307}