08-01-2013 05:36 PM - edited 08-01-2013 05:39 PM
Are they adjacent positive integers starting with zero or random integers (-7000, 5, 1000000)?
It would be so much easier if you could show some typical data.
08-01-2013 05:39 PM
They are adjacent positive integers
08-01-2013 05:43 PM
So, initialize a 2D array based on the max x and max y, then do my earlier suggestion, but wire x and y directly to the index inputs of "replace array subset".
08-01-2013 06:12 PM - edited 08-01-2013 06:14 PM
I'm still rather unsure how to go about this. Here is what I have come up with so far but it doesn't seem very close to working. What might I do to modify it?
08-01-2013 07:37 PM - edited 08-01-2013 08:33 PM
Here's what I would do....
Of course this assumes that all positions are unique, etc.
08-01-2013 09:05 PM
It works! Thank you so much, you've really saved me a lot of time.
08-02-2013 12:26 PM
@chazzchuzz wrote:
It works! Thank you so much, you've really saved me a lot of time.
Make sure you fully understand why it works and how it works. Also be aware of the limitations.