Click or drag to resize

CombinatorialTuplesT Method (Int32, FuncInt32, T)

Generates n-tuples of integers 0 to n-1 and applies the selector to them.

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

Parameters

n
Type: SystemInt32
select
Type: SystemFuncInt32, T

Type Parameters

T

Return Value

Type: IEnumerableT
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionn;must be non negative
See Also