XLPack 6.0
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Zeta()

Function Zeta ( X As  Double,
Optional Info As  Long 
)

Riemann zeta function ζ(x)

Purpose
This routine computes the Riemann zeta function.
ζ(s) = Σ1/n^s (for n = 1 to ∞)
Returns
Double
Riemann zeta function ζ(x).
Parameters
[in]XArgument x. (X <> 1)
[out]Info(Optional)
= 0: Successful exit.
= -1: The argument X had an illegal value. (X = 1) = 1: Floating point range error.
Reference
boost/math/special_functions