CombinatoricsVariationsWithRepetition Method |
Count the number of possible variations with repetition.
The order matters and each object can be chosen more than once.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
DoubleMaximum number of distinct variations with repetition.
See Also