hi
I want to get a matrix which consists all permutation of each rows of previous matrix… For example,
A = 1 2 2 2 2 3
result =
1 2 2 2 1 2 2 2 1 2 2 3 2 3 2 3 2 2
Best Answer