Class Permutation
Permutation generator (nPr).
Inherited Members
Namespace: Advanced.Algorithms.Combinatorics
Assembly: Advanced.Algorithms.dll
Syntax
public class Permutation
Methods
| Improve this Doc View SourceFind<T>(List<T>, Int32, Boolean)
Declaration
public static List<List<T>> Find<T>(List<T> n, int r, bool withRepetition = false)
Parameters
| Type | Name | Description |
|---|---|---|
| List<T> | n | |
| Int32 | r | |
| Boolean | withRepetition |
Returns
| Type | Description |
|---|---|
| List<List<T>> |
Type Parameters
| Name | Description |
|---|---|
| T |