Click or drag to resize

DescriptiveStatisticsBaseRandomPermutateT Method (T, Int32, Int32, RandomGenerator)

Performs random permutation values in collection.

Namespace:  FinMath.Statistics
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static void RandomPermutate<T>(
	this T[] data,
	int startIndex = 0,
	int count = -1,
	RandomGenerator random = null
)

Parameters

data
Type: T
Reference to container object to calculate transformation.
startIndex (Optional)
Type: SystemInt32
Start index of the collection.
count (Optional)
Type: SystemInt32
The array length to permute. The default value (-1) means permute all array.
random (Optional)
Type: FinMath.StatisticsRandomGenerator
The random numbers generator for permutation. By default the FMControl.DefaultGenerator will be used.

Type Parameters

T
Processed data type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also