XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ zeta()

double zeta ( double  x)

Riemann zeta function ζ(x)

Purpose
zeta computes the Riemann zeta function.
ζ(s) = Σ1/k^s (for k = 1 to ∞)
Returns
Riemann zeta function ζ(x).
Parameters
[in]xArgument x. (x != 1)
Error handling
  • If x = 1, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions