Click or drag to resize

CombinatoricsVariationsWithRepetition Method

Count the number of possible variations with repetition. The order matters and each 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 VariationsWithRepetition(
	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 distinct variations with repetition.
See Also