Returns the nth Harmonic Number.
Namespace:
Extreme.Mathematics.SpecialFunctions
Assembly:
Extreme.Numerics.Net20 (in Extreme.Numerics.Net20.dll) Version: 3.6.10055.0 (3.6.10077.0)
Syntax
| C# |
|---|
public static double HarmonicNumber(
int n
) |
| Visual Basic (Declaration) |
|---|
Public Shared Function HarmonicNumber ( _
n As Integer _
) As Double |
| Visual C++ |
|---|
public:
static double HarmonicNumber(
int n
) |
| F# |
|---|
static member HarmonicNumber :
n:int -> float
|
Return Value
The
nth Harmonic Number.
Remarks
See Also