FLINT3.7.0-dev

dirichlet_group_dlog_precompute

Synopsis#include <flint/dirichlet.h>
void dirichlet_group_dlog_precompute(dirichlet_group_t G, ulong num)source

Precomputes discrete logarithm tables in every component for about num subsequent logarithms, with dlog_precomp_modpe_init. This speeds up dirichlet_char_log, dirichlet_chi and dirichlet_pairing when they are called many times. For very large num the whole group may be tabulated.

Guides#

Cite this page

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