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

◆ triangularSolve()

template<typename T>
void MutableMat< T >::triangularSolve ( MutableMatrix * x,
int m,
int strategy )
virtual

Implements MutableMatrix.

Definition at line 245 of file mutablemat-imp.hpp.

248{
249 T* Lv1 = this->coerce<T>();
250 T* x1 = x->coerce<T>();
251 if (Lv1 == nullptr or x1 == nullptr)
252 throw exc::engine_error("expected matrices of the same ring/type");
254}
MatT * coerce()
Definition mat.hpp:151
void triangularSolve(Mat &Lv, Mat &x, int m, int strategy)

References MutableMatrix::coerce(), MutableMatrix::MutableMatrix(), T, MatrixOps::triangularSolve(), and x.