acb_dirichlet_chi
Synopsis
#include <flint/acb_dirichlet.h>void acb_dirichlet_chi(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, ulong n, slong prec)sourceSets res to \chi(n), which is 0 if \gcd(n, q) > 1 and a root of unity otherwise.
Cite this page
The FLINT team, “acb_dirichlet_chi (acb_dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_dirichlet/acb_dirichlet_chi.html (generated 2026-10-20).
@misc{flint-doc-acb-dirichlet-acb-dirichlet-chi,
author = {{The FLINT team}},
title = {{acb\_dirichlet\_chi (acb\_dirichlet.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_dirichlet/acb_dirichlet_chi.html},
note = {Generated 2026-10-20}
}