FLINT3.7.0-dev

fmpz_mat_find_pivot_any, fmpz_mat_find_pivot_smallest

Synopsis#include <flint/fmpz_mat.h>
slong fmpz_mat_find_pivot_any(const fmpz_mat_t mat, slong start_row, slong end_row, slong c)source
slong fmpz_mat_find_pivot_smallest(const fmpz_mat_t mat, slong start_row, slong end_row, slong c)source

Returns 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).