FLINT3.7.0-dev

_fq_zech_poly_powmod_fmpz_sliding_preinv, fq_zech_poly_powmod_fmpz_sliding_preinv

Synopsis#include <flint/fq_zech_poly.h>
void _fq_zech_poly_powmod_fmpz_sliding_preinv(fq_zech_struct * res, const fq_zech_struct * poly, const fmpz_t e, ulong k, const fq_zech_struct * f, slong lenf, const fq_zech_struct * finv, slong lenfinv, const fq_zech_ctx_t ctx)
void fq_zech_poly_powmod_fmpz_sliding_preinv(fq_zech_poly_t res, const fq_zech_poly_t poly, const fmpz_t e, ulong k, const fq_zech_poly_t f, const fq_zech_poly_t finv, const fq_zech_ctx_t ctx)

As fq_zech_poly_powmod_fmpz_binexp_preinv, using sliding window exponentiation with windows of k bits; k = 0 chooses k from the size of e.

Generated from the same template as _fq_poly_powmod_fmpz_sliding_preinv, whose documentation has the details.

Cite this page

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