Special.MultinomialCoefficient Method

Returns the number of ways to partition a set into subsets of the specified size.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static double MultinomialCoefficient(
	params int[] size
)

Parameters

size  Int32[]
A list or array of integers specifying the size of the subsets.

Return Value

Double
The requested multinomial coefficient.

Remarks

The multinomial coefficient gives the total number of ways to partition a set of n numbers into sets of nk elements, where n is the sum of the nk.

See Also