AdvancedIntegerMathStirlingNumber1 Method

Computes a Stirling number of the first kind.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double StirlingNumber1(
	int n,
	int k
)

Parameters

n  Int32
The upper argument, which must be non-negative.
k  Int32
The lower argument, which must lie between 0 and n.

Return Value

Double
The value of the unsigned Stirling number of the first kind.

Exceptions

ArgumentOutOfRangeExceptionn is negative, or k lies outside [0, n].

See Also