 | 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)
Syntaxpublic 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:
BigIntegerThe result of the multinomial coefficient.
ExceptionsException | Condition |
---|
ArgumentException | If the sum of k is higher than n, or if any of k is negative. |
See Also