is there some efficient way of applying a permutation (in-place)?

in other words, i am using sortperm() on one array to find a permutation 
which i then want to use to in-place sort some data in another array (along 
a particular dimension).  is there a library function that does this?

thanks,
andrew

Reply via email to