Click or drag to resize

AdvancedIntegerMathStirlingNumber1 Method

Computes a Stirling number of the first kind.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static double StirlingNumber1(
	int n,
	int k
)

Parameters

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

Return Value

Type: Double
The value of the unsigned Stirling number of the first kind.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionn is negative, or k lies outside [0, n].
See Also