 |
CombinatoricsGetCombinations Method |
Gets the number of possible combinations (without repetition) according to the given number of elements and
combination size.
Namespace:
Aglomera
Assembly:
Aglomera (in Aglomera.dll) Version: 1.1.0
Syntaxpublic static long GetCombinations(
long n,
long k
)
Request Example
View SourceParameters
- n
- Type: SystemInt64
The number of elements in the set. - k
- Type: SystemInt64
The number of elements to choose from the set (combination size).
Return Value
Type:
Int64The number of possible combinations (without repetition).
Remarks
See Also