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 ii of AA to the reduction of row ii of BB (read as the coefficients of a polynomial) modulo ff, for 1≤i≤deg⁡f1 \le i \le \sqrt{\deg f}. BB must have at least deg⁡f\sqrt{\deg f} rows and deg⁡f\deg f columns, and ff 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-11-02).