Applying a permutation to a vector, part 6--Raymond Chen

It seems a simple problem, yet…

Applying a permutation to a vector, part 6

by Raymond Chen

From the article:

I left an exercise to write a function apply_reverse_permutation in which each element in the indices represents where the element should move to rather than where it comes from...

 

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.