FLINT3.7.0-dev

gr_zeta, gr_zeta_ui

Synopsis#include <flint/gr_special.h>
int gr_zeta(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source
int gr_zeta_ui(gr_ptr res, ulong x, gr_ctx_t ctx)source

Set res to the Riemann zeta function \zeta(s); GR_DOMAIN at the pole s = 1. The method of gr_zeta_ui is implemented for real and complex balls (arb_zeta_ui); other rings return GR_UNABLE, and gr_zeta with an integer argument can be used instead.

Guides#

Cite this page

The FLINT team, “gr_zeta, gr_zeta_ui (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_zeta.html (generated 2026-10-20).