_nmod_poly_mulmod_precond_init_num, nmod_poly_mulmod_precond_init_num
#include <flint/nmod_poly.h>void _nmod_poly_mulmod_precond_init_num(nmod_poly_mulmod_precond_t precond, nn_srcptr a, slong alen, nn_srcptr d, slong dlen, nn_srcptr dinv, slong lendinv, slong num, nmod_t mod)sourcevoid nmod_poly_mulmod_precond_init_num(nmod_poly_mulmod_precond_t precond, const nmod_poly_t a, const nmod_poly_t d, const nmod_poly_t dinv, slong num)sourceLike the init_method functions, but choose the method expected to be fastest for num multiplications.
With : no precomputation for ; the matrix method for and . For with at most four nonzero coefficients below the leading one (where reduction is cheap anyway), the matrix method for and or and , and otherwise no precomputation. For other , the matrix method for and , and , and , or , and moduli below 256; otherwise Shoup's method if , and no precomputation below.
Guides#
The FLINT team, “_nmod_poly_mulmod_precond_init_num, nmod_poly_mulmod_precond_init_num (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/_nmod_poly_mulmod_precond_init_num.html (generated 2026-11-02).
@misc{flint-doc-nmod-poly-nmod-poly-mulmod-precond-init-num,
author = {{The FLINT team}},
title = {{\_nmod\_poly\_mulmod\_precond\_init\_num, nmod\_poly\_mulmod\_precond\_init\_num (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_mulmod_precond_init_num.html},
note = {Generated 2026-11-02}
}