dirichlet_char_log
Synopsis
#include <flint/dirichlet.h>void dirichlet_char_log(dirichlet_char_t x, const dirichlet_group_t G, ulong m)sourceSets x to the character of number m, which must be coprime to q and reduced modulo q, computing its log by discrete logarithms in each component (with the tables of G if present).
Guides#
Cite this page
The FLINT team, “dirichlet_char_log (dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dirichlet/dirichlet_char_log.html (generated 2026-10-20).
@misc{flint-doc-dirichlet-dirichlet-char-log,
author = {{The FLINT team}},
title = {{dirichlet\_char\_log (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_log.html},
note = {Generated 2026-10-20}
}