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

◆ solveInvertible() [3/3]

template<typename Mat>
bool MatrixOps::solveInvertible ( const Mat & A,
const Mat & B,
Mat & X )

solve AX=B, where A is a square (invertible) matrix.

return true if A is invertible, and in this case, sets X. If false is returned, X's value is undefined.

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

246{
247 (void) A;
248 (void) B;
249 (void) X;
250 throw exc::engine_error(
251 "'solveInvertible' not implemented for this kind of matrix over this "
252 "ring");
253}

Referenced by MutableMat< Mat >::solveInvertible().