Computes the Dirichlet eta function.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static double DirichletEta(
	double s
)
Public Shared Function DirichletEta ( _
	s As Double _
) As Double
public:
static double DirichletEta(
	double s
)

Parameters

s
Double
The argument, which must be non-negative.

Return Value

The value of η(s).

Remarks

The Dirichlet eta function is the sum of the sth inverse power of the natural numbers, with alternating signs. It can be related to the Riemann ζ function.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException s is negative.

See Also