indicesByRandom

Creates IntArray with random indices

Parameters

count

number of indices


fun indicesByRandom(count: Int, size: Int, random: Random): IntArray

Creates IntArray with random indices

Parameters

count

number of indices, count < size

size

maximum indices count (exclusive)