  | SpecialFunctionsHarmonicNumber(Double) Method | 
            The harmonic number, Hn, which is a truncation of the harmonic series.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic static double HarmonicNumber(
	double n
)
Public Shared Function HarmonicNumber ( 
	n As Double
) As Double
public:
static double HarmonicNumber(
	double n
)
static member HarmonicNumber : 
        n : float -> float Parameters
- n  Double
 - The harmonic number's index.
 
Return Value
DoubleThe nth harmonic number.
Remarks  The harmonic number is 
            
      n
      --
Hn =  >   1 / k
      -- 
     k = 1
            The harmonic number is closely related to the digamma function.  (Ref.  http://mathworld.wolfram.com/HarmonicNumber.html )
            
See Also