DescriptiveStatisticsBaseRandomPermutateT Method (IListT, Int32, Int32, RandomGenerator)
|
Performs random permutation values in collection.
Namespace:
FinMath.Statistics
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static void RandomPermutate<T>(
this IList<T> data,
int startIndex,
int count,
RandomGenerator random = null
)
Parameters
- data
- Type: System.Collections.GenericIListT
Reference to container object to calculate transformation. - startIndex
- Type: SystemInt32
Start index of the collection. - count
- Type: SystemInt32
The elements number for permutation. - 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
IListT. 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