VectorInt RandomRamp(int Len, TIntPrecision aIntPrecision);
Fills the resulting vector elements with linear rule and randomly shuffles the indexes.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Len | int | |
| 2 | aIntPrecision | TIntPrecision |
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.
Declared in Dew::Math::Units::MtxExprInt · Dew.Math/Units.MtxExprInt.h · Cross-compiler