FLINT3.7.0-dev

acb_mzeta_epstein, acb_mzeta_epstein_generic

Synopsis#include <flint/acb_mzeta.h>
int acb_mzeta_epstein(acb_t res, const acb_t nu, const arb_mat_t A, arb_srcptr x, arb_srcptr y, int flags, slong prec)source
int acb_mzeta_epstein_generic(acb_t res, const acb_t nu, const arb_mat_t A, arb_srcptr x, arb_srcptr y, int flags, acb_mzeta_cache_t cache, slong prec)source

Sets res to the Epstein zeta function, choosing an algorithm: acb_mzeta_epstein_shell when the input is exact and rational, above 95 bits; acb_mzeta_epstein_crandall_dfloat up to 95 bits for real ν\nu, unless its result has lost more than 12 bits of accuracy; acb_mzeta_epstein_theta in dimension 3 from 800 bits, 4 from 400 bits and 5 to 8 from 250 bits; and otherwise acb_mzeta_epstein_crandall. Always returns 1.

The first form keeps a thread-local cache with the data of the most recently used lattices and ν\nu (the typical use being many evaluations with a fixed lattice), released by flint_cleanup; the second form, like the individual algorithms below, takes an explicit cache (or NULL for none).

Cite this page

The FLINT team, “acb_mzeta_epstein, acb_mzeta_epstein_generic (acb_mzeta.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_mzeta/acb_mzeta_epstein.html (generated 2026-11-07).