fmpz_mat_find_pivot_any, fmpz_mat_find_pivot_smallest
Synopsis
#include <flint/fmpz_mat.h>slong fmpz_mat_find_pivot_smallest(const fmpz_mat_t mat, slong start_row, slong end_row, slong c)sourceReturns the index of a row r with start_row \le r < end_row whose entry in column c is nonzero, or -1 if there is none. fmpz_mat_find_pivot_any returns the first such row, fmpz_mat_find_pivot_smallest the first one whose entry has the smallest absolute value.
Cite this page
The FLINT team, “fmpz_mat_find_pivot_any, fmpz_mat_find_pivot_smallest (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_find_pivot_any.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mat-fmpz-mat-find-pivot-any,
author = {{The FLINT team}},
title = {{fmpz\_mat\_find\_pivot\_any, fmpz\_mat\_find\_pivot\_smallest (fmpz\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mat/fmpz_mat_find_pivot_any.html},
note = {Generated 2026-10-20}
}