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

◆ determinant() [4/5]

void MatrixOps::determinant ( const DMatZZGMP & A,
M2::ARingZZGMP::ElementType & result_det )
inline

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

788{
789 FlintZZMat A1(A);
790 fmpz_t det;
791 fmpz_init(det);
792 fmpz_mat_det(det, A1.value());
793 fmpz_get_mpz(&result_det, det);
794 fmpz_clear(det);
795}
RAII wrapper around FLINT's fmpz_mat_t for translating dense ZZ-coefficient matrices between the engi...

References FlintZZMat::value().