FLINT3.7.0-dev

reduce_matrix

Synopsis#include <flint/qsieve.h>
void reduce_matrix(qs_t qs_inf, slong * nrows, slong * ncols, la_col_t * cols)source

Light filtering of the sparse matrix: repeatedly deletes the columns that contain a row with a single nonzero entry, then trims the matrix to a few more columns than rows, updating the dimensions.

Cite this page

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