Reference

Class

RiTa

Name

RiTa.randomOrdering

Description Returns a randomly ordered array of unique integers from 0 to numElements.
The size of the array will be numElements.
Syntax
RiTa.randomOrdering(numElements);
Parameters
intnumElements
Returns
int[]unique integers from 0 to numElements-1
Example
array = RiTa.randomOrdering(5);
Platform Java / Javascript