gr_dirichlet_chi_fmpz, gr_dirichlet_chi_vec
Synopsis
#include <flint/gr_special.h>int gr_dirichlet_chi_fmpz(gr_ptr res, const dirichlet_group_t G, const dirichlet_char_t chi, const fmpz_t n, gr_ctx_t ctx)sourceint gr_dirichlet_chi_vec(gr_ptr res, const dirichlet_group_t G, const dirichlet_char_t chi, slong len, gr_ctx_t ctx)sourceSet res to the value \chi(n) of the Dirichlet character chi of the group G, respectively the values \chi(0), \ldots, \chi(\mathit{len}-1), as complex numbers. These are not methods: they are implemented for complex balls (acb) only and return GR_UNABLE otherwise. Declared only if dirichlet.h is included first.
Cite this page
The FLINT team, “gr_dirichlet_chi_fmpz, gr_dirichlet_chi_vec (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_dirichlet_chi_fmpz.html (generated 2026-10-20).
@misc{flint-doc-gr-special-gr-dirichlet-chi-fmpz,
author = {{The FLINT team}},
title = {{gr\_dirichlet\_chi\_fmpz, gr\_dirichlet\_chi\_vec (gr\_special.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_special/gr_dirichlet_chi_fmpz.html},
note = {Generated 2026-10-20}
}