Click or drag to resize

chooseChoose Method

Gets the multinomial coefficient of n and one or more numbers in k.

Namespace:  NumberStone
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static BigInteger Choose(
	int n,
	params int[] k
)

Parameters

n
Type: SystemInt32
The super of the multinomial coefficient
k
Type: SystemInt32
The subs of the multinomial coefficient

Return Value

Type: BigInteger
The result of the multinomial coefficient.
Exceptions
ExceptionCondition
ArgumentExceptionIf the sum of k is higher than n, or if any of k is negative.
See Also