FLINT3.7.0-dev

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)source
ulong _dirichlet_char_exp(dirichlet_char_t x, const dirichlet_group_t G)source

Return 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).