Hey guys, I have a math problem I'm trying to work out. Here's how it goes. I have a 2d array I would like to inclose in a type. Types only seem to handle 1d arrays. Anyway, I figure with a few tricky little functions, that I could use the one interger index in that 1d array to extrapolate back out to a 2 dementional array. For axample:
Array(30,30);this would be the original array that I want to simulate with a 1d Array in a type.
So an array index in the 1d array at index(50), would represtent the x and y Indexes(20,2), at least I think. I'm not quite sure how to acomplish this. Any ideas?
Array(30,30);this would be the original array that I want to simulate with a 1d Array in a type.
So an array index in the 1d array at index(50), would represtent the x and y Indexes(20,2), at least I think. I'm not quite sure how to acomplish this. Any ideas?