Search:

Type: Posts; User: flyvholm

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    6,895

    D'oh!

    No wonder you can't tell what my mind is tripping over. What I failed to realize is that I only have to DECLARE the array globally whereas I can fill in values locally. Sorry, I'm a noob! :)
  2. Replies
    2
    Views
    6,895

    Sorting: Getting permutation index array

    Instead of actually sorting an array, how would you go about obtaining the permutation index array, mapping the original array to the sorted? E.g. if the array to be sorted is

    { 12, 8, 3, 17, 10 }...
Results 1 to 2 of 2