Computes the Dirichlet eta function.
Namespace:
Meta.Numerics.FunctionsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
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
| Exception | Condition |
|---|---|
| System..::.ArgumentOutOfRangeException | s is negative. |