Click or drag to resize

CombinatoricsCombinationsWithRepetition Method

Count the number of possible combinations with repetition. The order does not matter and an object can be chosen more than once.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double CombinationsWithRepetition(
	int n,
	int k
)

Parameters

n  Int32
Number of elements in the set.
k  Int32
Number of elements to choose from the set. Each element is chosen 0, 1 or multiple times.

Return Value

Double
Maximum number of combinations with repetition.
See Also