gr_poly_compose_mod_wrapper, gr_poly_compose_mod_preinv_wrapper
Synopsis
#include <flint/gr_poly.h>int gr_poly_compose_mod_wrapper(_gr_method_compose_mod_op _compose_mod, gr_poly_t res, const gr_poly_t poly1, const gr_poly_t poly2, const gr_poly_t poly3, gr_ctx_t ctx)sourceint gr_poly_compose_mod_preinv_wrapper(_gr_method_compose_mod_preinv_op _compose_mod, gr_poly_t res, const gr_poly_t poly1, const gr_poly_t poly2, const gr_poly_t poly3, const gr_poly_t poly3inv, gr_ctx_t ctx)sourceImplement the non-underscore modular composition functions around an underscore implementation: return GR_DOMAIN if h = 0, handle constant inputs, reduce g modulo h (or zero-pad it to length \deg h), manage memory and aliasing, and normalise the result.
Cite this page
The FLINT team, “gr_poly_compose_mod_wrapper, gr_poly_compose_mod_preinv_wrapper (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/gr_poly_compose_mod_wrapper.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-compose-mod-wrapper,
author = {{The FLINT team}},
title = {{gr\_poly\_compose\_mod\_wrapper, gr\_poly\_compose\_mod\_preinv\_wrapper (gr\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_poly/gr_poly_compose_mod_wrapper.html},
note = {Generated 2026-10-20}
}