Click or drag to resize

CombinatoricsSelectPermutationInplaceT Method

Select a random permutation, without repetition, from a data array by reordering the provided array in-place. Implemented using Fisher-Yates Shuffling. The provided data array will be modified.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void SelectPermutationInplace<T>(
	T[] data,
	Random randomSource = null
)

Parameters

data  T
The data array to be reordered. The array will be modified by this routine.
randomSource  Random  (Optional)
The random number generator to use. Optional; the default random source will be used if null.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.Combinatorics.SelectPermutationInplace``1(``0[],System.Random)"]

See Also