_nmod_poly_evaluate_nmod, nmod_poly_evaluate_nmod
Synopsis
#include <flint/nmod_poly.h>For moduli below 2^{\mathtt{FLINT\_BITS} - 1}, lengths below FLINT_MULMOD_SHOUP_THRESHOLD (23 on common platforms) use Horner's rule with nmod_mul, lengths up to 50 Horner's rule with Shoup multiplication by the fixed c (with lazy reduction if 3n - 1 \le 2^{\mathtt{FLINT\_BITS}}), and longer polynomials rectangular splitting. For larger moduli, Horner's rule is used up to length 13 and rectangular splitting beyond.
Guides#
Cite this page
The FLINT team, “_nmod_poly_evaluate_nmod, nmod_poly_evaluate_nmod (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/_nmod_poly_evaluate_nmod.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-evaluate-nmod,
author = {{The FLINT team}},
title = {{\_nmod\_poly\_evaluate\_nmod, nmod\_poly\_evaluate\_nmod (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/_nmod_poly_evaluate_nmod.html},
note = {Generated 2026-10-20}
}