Random.indices
Random.indicesncount
Group: Random
Documentation
Returns count
indices sampled from the range 0 (inclusive) to n (exclusive) without replacement.
Arguments
n
: The end of the range to sample from (exclusive).count
: The number of samples to take.
Examples
Generate 10 random indices between 0 and 100.
import Standard.Base.Random.Random
indices = Random.indices 100 10