Computes the Dirichlet eta function.
- s (Double)
- The argument, which must be non-negative.
The value of η(s).
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.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | s is negative. |