Special.HarmonicNumber Method

Returns the nth Harmonic Number.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static double HarmonicNumber(
	int n
)

Parameters

n  Int32
The degree of the coefficient.

Return Value

Double
The nth Harmonic Number.

Remarks

The nth Harmonic Number, Hn, is the sum of the reciprocals from 1 up to n.

See Also