fmpz_mod_mat_reduce_row
Synopsis
#include <flint/fmpz_mod_mat.h>int fmpz_mod_mat_reduce_row(slong * column, fmpz_mod_mat_t A, slong * P, slong * L, slong m, const fmpz_mod_ctx_t ctx)sourceReduces row m of A against the earlier rows, with the conventions of gr_mat_reduce_row: P[i] is the row with its pivot in column i, or -1; L[i] bounds the nonzero columns of row i. Sets *column to the pivot column of the reduced row (made monic and recorded in P), or to -1 if the row becomes zero. Returns GR_SUCCESS, or GR_DOMAIN if the new pivot is not invertible. The sums are accumulated exactly and each entry is reduced once, when it is reached.
Cite this page
The FLINT team, “fmpz_mod_mat_reduce_row (fmpz_mod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_mat/fmpz_mod_mat_reduce_row.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mod-mat-fmpz-mod-mat-reduce-row,
author = {{The FLINT team}},
title = {{fmpz\_mod\_mat\_reduce\_row (fmpz\_mod\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_mat/fmpz_mod_mat_reduce_row.html},
note = {Generated 2026-10-20}
}