# Revision history [back]

### How to generate a random permutation?

  Hi!
I am using opencv2 to  generate a random  permutation.For example,generate a random permutation with number ranging from 1 to 10.I have tried many times,howerver I couldn't realize it.   Would be great to get your help. I appreciate any suggestions


### How to generate a random permutation?

  Hi!
I am using opencv2 to  generate a random  permutation.For example,generate a random permutation with number ranging from 1 to 10.I have tried many times,howerver I ,I couldn't realize it it.    Would be great to get your help. I appreciate any suggestions

  Hi!
I am using opencv2 to  generate a random  permutation.For example,generate permutation.