Skip to main content

random_permutation

Function random_permutation 

Source
pub fn random_permutation(size: usize) -> Vec<usize>
Expand description

Create a random permutation of given size

§Arguments

  • size - Size of the permutation

§Returns

A random permutation vector