FLINT3.7.0-dev

_fq_zech_poly_powmod_ui_binexp, fq_zech_poly_powmod_ui_binexp, _fq_zech_poly_powmod_fmpz_binexp, fq_zech_poly_powmod_fmpz_binexp

Synopsis#include <flint/fq_zech_poly.h>
void _fq_zech_poly_powmod_ui_binexp(fq_zech_struct * res, const fq_zech_struct * poly, ulong e, const fq_zech_struct * f, slong lenf, const fq_zech_ctx_t ctx)
void fq_zech_poly_powmod_ui_binexp(fq_zech_poly_t res, const fq_zech_poly_t poly, ulong e, const fq_zech_poly_t f, const fq_zech_ctx_t ctx)
void _fq_zech_poly_powmod_fmpz_binexp(fq_zech_struct * res, const fq_zech_struct * poly, const fmpz_t e, const fq_zech_struct * f, slong lenf, const fq_zech_ctx_t ctx)
void fq_zech_poly_powmod_fmpz_binexp(fq_zech_poly_t res, const fq_zech_poly_t poly, const fmpz_t e, const fq_zech_poly_t f, const fq_zech_ctx_t ctx)

Set res to \mathit{poly}^e \bmod f for e \ge 0, by binary exponentiation. The underscore versions require e > 0, lenf > 1, poly reduced modulo f and zero-padded to length lenf - 1, and space for lenf - 1 coefficients in res.

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

Cite this page

The FLINT team, “_fq_zech_poly_powmod_ui_binexp, fq_zech_poly_powmod_ui_binexp, _fq_zech_poly_powmod_fmpz_binexp, fq_zech_poly_powmod_fmpz_binexp (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_ui_binexp.html (generated 2026-10-20).