rnd_permutation
- Details
- Last Updated on Wednesday, 30 January 2013 13:44
syntax
- rnd_permutation(seed, DomainUnit)
syntax
rnd_permutation(seed, DomainUnit) results in a random permutation of the index numbers of the DomainUnit argument.
- a random seed with a unique number; using the same random seed results in the same random order;
- the DomainUnit for which the permutation is made;
applies to
Data item random seed with value type:
since version
5.68
example
attribute<float32> rand_order (ADomain): expr =
"rnd_permutation("
" 0"
",ADomain"
")";
| rand_order |
| 1 |
| 0 |
| 3 |
| 4 |
| 2 |