dirichlet_char_eq, dirichlet_char_eq_deep
Synopsis
#include <flint/dirichlet.h>int dirichlet_char_eq(const dirichlet_char_t x, const dirichlet_char_t y)sourceint dirichlet_char_eq_deep(const dirichlet_group_t G, const dirichlet_char_t x, const dirichlet_char_t y)sourceReturn 1 if x and y are equal, otherwise 0. The first function compares the numbers only; the second also compares the logs and is meant for testing the consistency of the two representations.
Cite this page
The FLINT team, “dirichlet_char_eq, dirichlet_char_eq_deep (dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dirichlet/dirichlet_char_eq.html (generated 2026-10-20).
@misc{flint-doc-dirichlet-dirichlet-char-eq,
author = {{The FLINT team}},
title = {{dirichlet\_char\_eq, dirichlet\_char\_eq\_deep (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_eq.html},
note = {Generated 2026-10-20}
}