dirichlet_group_dlog_precompute
Synopsis
#include <flint/dirichlet.h>void dirichlet_group_dlog_precompute(dirichlet_group_t G, ulong num)sourcePrecomputes 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).
@misc{flint-doc-dirichlet-dirichlet-group-dlog-precompute,
author = {{The FLINT team}},
title = {{dirichlet\_group\_dlog\_precompute (dirichlet.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/dirichlet/dirichlet_group_dlog_precompute.html},
note = {Generated 2026-10-20}
}