Special.Zeta Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

Zeta(Double) Returns the Riemann zeta function.
Zeta(Double, Double) Returns the Hurwitz zeta function.

Zeta(Double)

Returns the Riemann zeta function.
C#
public static double Zeta(
	double s
)

Parameters

s  Double
A real number.

Return Value

Double
The Riemann zeta function at s.

Zeta(Double, Double)

Returns the Hurwitz zeta function.
C#
public static double Zeta(
	double s,
	double a
)

Parameters

s  Double
A real number.
a  Double
A real number.

Return Value

Double
The Hurwitz zeta function at s with parameter a.

Remarks

When a is zero, the Hurwitz zeta function reduces to the Riemann zeta function.

See Also