FLINT3.7.0-dev

fq_nmod_mat_lu

Synopsis#include <flint/fq_nmod_mat.h>
slong fq_nmod_mat_lu(slong * P, fq_nmod_mat_t A, int rank_check, const fq_nmod_ctx_t ctx)

Computes a generalised LU decomposition PA = LU of A in place, and returns the rank of A. P must have room for as many entries as A has rows; it receives the row permutation.

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

Cite this page

The FLINT team, “fq_nmod_mat_lu (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_lu.html (generated 2026-10-20).