_fmpz_poly_pow_addchains, fmpz_poly_pow_addchains
Synopsis
#include <flint/fmpz_poly.h>void fmpz_poly_pow_addchains(fmpz_poly_t res, const fmpz_poly_t poly, ulong e)sourceSet res to poly raised to the power e along an addition chain. The underscore version takes a star chain 1 = a_0 < a_1 < \cdots < a_n = e (each a_i is a_{i-1} + a_j for some j < i) with n > 1, requires \mathit{len} > 0 and does not allow aliasing. The non-underscore version uses a table of chains for e \le 148 and raises an exception for larger e.
Cite this page
The FLINT team, “_fmpz_poly_pow_addchains, fmpz_poly_pow_addchains (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_addchains.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-pow-addchains,
author = {{The FLINT team}},
title = {{\_fmpz\_poly\_pow\_addchains, fmpz\_poly\_pow\_addchains (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_addchains.html},
note = {Generated 2026-10-20}
}