How to generate a random permutation?
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 it.
Would be great to get your help. I appreciate any suggestions