CombinatoricsVariations Method |
Count the number of possible variations without repetition.
The order matters and each object can be chosen only once.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double Variations(
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 at most once.
Return Value
DoubleMaximum number of distinct variations.
See Also