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

◆ rawLinAlgDeterminant()

const RingElement * rawLinAlgDeterminant ( MutableMatrix * A)

requires: M should be a square matrix. If not, or if the ring has not implemented this routine, then null is returned (and an error message is given).

Definition at line 836 of file mutable-matrix.cpp.

837{
838 try
839 {
840 return A->determinant();
841 } catch (const exc::engine_error& e)
842 {
843 ERROR(e.what());
844 return nullptr;
845 }
846}
virtual const RingElement * determinant() const =0
const int ERROR
Definition m2-mem.cpp:55

References MutableMatrix::determinant(), and ERROR.