VectorInt RandomRamp(Int32 Len, TIntPrecision aIntPrecision)
Fills the resulting vector elements with linear rule and randomly shuffles the indexes.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Len | Int32 | element count |
| 2 | aIntPrecision | TIntPrecision |
Returns: VectorInt
Remarks:
Fills the resulting vector with a series following the rule:
Values[k] := k
and then scrambles the contents of the vector randomly by using the Fisher-Yates shuffle.