FLINT3.7.0-dev

nmod_discrete_log_pohlig_hellman_struct, nmod_discrete_log_pohlig_hellman_t

Synopsis#include <flint/nmod.h>
nmod_discrete_log_pohlig_hellman_struct
nmod_discrete_log_pohlig_hellman_t

Precomputed data for discrete logarithms modulo one prime: the factorisation of p - 1, the primitive root and lookup tables. The field mod is an nmod_t for p.

Guides#

Cite this page

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