permute

open fun permute(x: DoubleArray)

Randomly permutes the supplied array

Parameters

x

the array


open fun permute(x: IntArray)

Randomly permutes the supplied array, the array is changed.

Parameters

x

the array


open fun permute(x: BooleanArray)

Randomly permutes the supplied array using the stream. The array is changed.

Parameters

x

the array


open fun <T> permute(x: Array<T>)

Randomly permutes the supplied array using the stream. The array is changed.

Parameters

T

the type of the array

x

the array


open fun <T> permute(x: MutableList<T>)

Randomly permutes the supplied List using the stream. The list is changed.

Parameters

T

the type of the list

x

the list