FLINT3.7.0-dev

_nmod_mat_det

Synopsis#include <flint/nmod_mat.h>
ulong _nmod_mat_det(nmod_mat_t A)source

Returns the determinant of the square matrix A modulo a prime, computed by nmod_mat_lu, which destroys A.

Cite this page

The FLINT team, “_nmod_mat_det (nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mat/_nmod_mat_det.html (generated 2026-10-20).