FLINT3.7.0-dev

_gr_poly_reduce_matrix_mod_poly

Synopsis#include <flint/gr_poly.h>
int _gr_poly_reduce_matrix_mod_poly(gr_mat_t A, const gr_mat_t B, const gr_poly_t f, gr_ctx_t ctx)source

Sets row i of A to the reduction of row i of B (read as the coefficients of a polynomial) modulo f, for 1 \le i \le \sqrt{\deg f}. B must have at least \sqrt{\deg f} rows and \deg f columns, and f must be nonzero.

Cite this page

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