XLPack 6.1
C/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