_fmpz_poly_pow_binexp, fmpz_poly_pow_binexp
Synopsis
#include <flint/fmpz_poly.h>void fmpz_poly_pow_binexp(fmpz_poly_t res, const fmpz_poly_t poly, ulong e)sourceSet res to poly raised to the power e by left-to-right binary exponentiation [Knu1997, §4.6.3]. The underscore version requires \mathit{len} > 0, e > 1 and room for e(\mathit{len} - 1) + 1 coefficients, and does not allow aliasing.
References#
- [Knu1997] Knuth, D. E. The Art of Computer Programming, volume 2: Seminumerical algorithms, 1997
Cite this page
The FLINT team, “_fmpz_poly_pow_binexp, fmpz_poly_pow_binexp (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/_fmpz_poly_pow_binexp.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-pow-binexp,
author = {{The FLINT team}},
title = {{\_fmpz\_poly\_pow\_binexp, fmpz\_poly\_pow\_binexp (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/_fmpz_poly_pow_binexp.html},
note = {Generated 2026-10-20}
}