Special.Harmonic Number Method
Returns the nth Harmonic Number.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The nth Harmonic Number.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static double HarmonicNumber(
int n
)
Parameters
- n Int32
- The degree of the coefficient.
Return Value
DoubleThe nth Harmonic Number.
Remarks
The nth Harmonic Number, Hn, is the sum of the reciprocals from 1 up to n.