FLINT3.7.0-dev

unity_zp_pow_fmpz, unity_zp_pow_ui, unity_zp_pow_2k_fmpz, unity_zp_pow_2k_ui, unity_zp_pow_sliding_fmpz

Synopsis#include <flint/aprcl.h>
void unity_zp_pow_fmpz(unity_zp f, const unity_zp g, const fmpz_t pow)source
void unity_zp_pow_ui(unity_zp f, const unity_zp g, ulong pow)source
void unity_zp_pow_2k_fmpz(unity_zp f, const unity_zp g, const fmpz_t pow)source
void unity_zp_pow_2k_ui(unity_zp f, const unity_zp g, ulong pow)source
void unity_zp_pow_sliding_fmpz(unity_zp f, unity_zp g, const fmpz_t pow)source

Set f to g^{\mathit{pow}}, by binary exponentiation, by the 2^k-ary method with k from _unity_zp_pow_select_k, and by sliding window exponentiation.

Cite this page

The FLINT team, “unity_zp_pow_fmpz, unity_zp_pow_ui, unity_zp_pow_2k_fmpz, unity_zp_pow_2k_ui, unity_zp_pow_sliding_fmpz (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/unity_zp_pow_fmpz.html (generated 2026-10-20).