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

◆ determinant() [5/5]

template<typename Mat>
void MatrixOps::determinant ( const Mat & A,
typename Mat::ElementType & result_det )

the determinant of a square matrix

result_det should be a previously initialized ElementType. throws an engine_error for ring/matrix types where the function is not implemented.

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

134{
135 (void) A;
136 (void) result_det;
137 throw exc::engine_error(
138 "'determinant' not implemented for this kind of matrix over this ring");
139}

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