Special.MultinomialCoefficient Method

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

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
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