Click or drag to resize

CombinatoricsBinomialCoefficient Method

Combinatorics coefficient (n choose k). The number of ways k objects can be chosen from a set of n objects.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static double BinomialCoefficient(
	int n,
	int k
)

Parameters

n
Type: SystemInt32
The number of objects in the set.
k
Type: SystemInt32
The subset of objects to be chosen.

Return Value

Type: Double
The binomial coefficient.
See Also