Posted: 10 Oct 2013, 00:39
Hi
I wonder how can i do to create values of an array mapped in different order on another one.
for example an array of 4 values 1/42 ,2/36, 3/48 , 4/29 mapped in 1-3, 2-4 , 3-1, 4-2 give 1/48, 2/29 , 3/42, 4/36.
it's looks simple but i don't see any efficient solution...
I wonder how can i do to create values of an array mapped in different order on another one.
for example an array of 4 values 1/42 ,2/36, 3/48 , 4/29 mapped in 1-3, 2-4 , 3-1, 4-2 give 1/48, 2/29 , 3/42, 4/36.
it's looks simple but i don't see any efficient solution...