Skip to main content

Random.permute

Random.permutev

Group: Random

Documentation

Returns a random permutation of the input Vector.

Arguments

  • vector: The Vector to permute.

Examples

Permute a vector.

      import Standard.Base.Random.Random

permuted = Random.permute [1, 2, 3, 4]