dirichlet_char_exp, _dirichlet_char_exp
Synopsis
#include <flint/dirichlet.h>ulong dirichlet_char_exp(const dirichlet_group_t G, const dirichlet_char_t x)sourceulong _dirichlet_char_exp(dirichlet_char_t x, const dirichlet_group_t G)sourceReturn the number of x. The first function reads the stored number; the second recomputes it from the log, stores it in x and returns it.
Guides#
Cite this page
The FLINT team, “dirichlet_char_exp, _dirichlet_char_exp (dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dirichlet/dirichlet_char_exp.html (generated 2026-10-20).
@misc{flint-doc-dirichlet-dirichlet-char-exp,
author = {{The FLINT team}},
title = {{dirichlet\_char\_exp, \_dirichlet\_char\_exp (dirichlet.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/dirichlet/dirichlet_char_exp.html},
note = {Generated 2026-10-20}
}