FLINT3.7.0-dev

_fmpz_mod_poly_radix_init

Synopsis#include <flint/fmpz_mod_poly.h>
void _fmpz_mod_poly_radix_init(fmpz ** Rpow, fmpz ** Rinv, const fmpz * R, slong lenR, slong k, const fmpz_t invL, const fmpz_mod_ctx_t ctx)source

Computes the powers R^{2^i} and the inverses of their reversals modulo x^{2^i \deg R} for 0 \le i < k, where invL is the inverse of the leading coefficient of R. Rpow[i] and Rinv[i] need space for 2^i \deg R + 1 and 2^i \deg R coefficients. The data can be used for all F with \mathrm{len}(F) \le 2^k \deg R.

Cite this page

The FLINT team, “_fmpz_mod_poly_radix_init (fmpz_mod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_poly/_fmpz_mod_poly_radix_init.html (generated 2026-10-20).