fmpq_poly_rem_powers_precomp
Synopsis
#include <flint/fmpq_poly.h>void fmpq_poly_rem_powers_precomp(fmpq_poly_t R, const fmpq_poly_t A, const fmpq_poly_t B, const fmpq_poly_powers_precomp_t B_inv)sourceSet R to the remainder of A divide B given precomputed powers mod B provided by fmpq_poly_powers_precompute.
This function is only faster if A->length <= 2*B->length - 1.
The output of this function is not canonicalised.
Cite this page
The FLINT team, “fmpq_poly_rem_powers_precomp (fmpq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_poly/fmpq_poly_rem_powers_precomp.html (generated 2026-10-20).
@misc{flint-doc-fmpq-poly-fmpq-poly-rem-powers-precomp,
author = {{The FLINT team}},
title = {{fmpq\_poly\_rem\_powers\_precomp (fmpq\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_poly/fmpq_poly_rem_powers_precomp.html},
note = {Generated 2026-10-20}
}