generate Int Tuple From
fun generateIntTupleFrom(size: Int, generator: (Int) -> Int): AvailObject
Content copied to clipboard
Create an object of the appropriate size, whose descriptor is an instance of IntTupleDescriptor. Run the generator for each position in ascending order to produce the ints with which to populate the tuple.
Return
The new tuple.
Parameters
size
The size of int-tuple to create.
generator
A generator to provide ints to store.