Click or drag to resize

Combinatorics Class

A utility class containing combinatorics methods.
Inheritance Hierarchy
SystemObject
  AglomeraCombinatorics

Namespace:  Aglomera
Assembly:  Aglomera (in Aglomera.dll) Version: 1.1.0
Syntax
C#
public static class Combinatorics
Request Example View Source

The Combinatorics type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetCombinations
Gets the number of possible combinations (without repetition) according to the given number of elements and combination size.
Public methodStatic memberGetFactorial
Computes the factorial function n! of a given integer number > 0.
Public methodStatic memberGetPermutations
Returns the number of possible permutations of k elements from a set of n (without repetition).
Top
See Also