FLINT3.7.0-dev

fq_nmod_mat_inv

Synopsis#include <flint/fq_nmod_mat.h>
int fq_nmod_mat_inv(fq_nmod_mat_t B, fq_nmod_mat_t A, const fq_nmod_ctx_t ctx)

If the square matrix A is invertible, sets B = A^{-1} and returns 1; otherwise returns 0 and the entries of B are undefined. A is not modified (although not declared const), and B may be aliased with A.

Generated from the same template as fq_mat_inv, whose documentation has the details.

Cite this page

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