Click or drag to resize

CombinatorialTuples Method (Int32)

Generate all possible tuples of length n with digits 0 to n-1.

Namespace:  Gamelogic.Extensions.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IEnumerable<int[]> Tuples(
	int n
)

Parameters

n
Type: SystemInt32
The length of tuples to generate. All digits are also between 0 and n-1.

Return Value

Type: IEnumerableInt32
See Also