On 12/3/2009 5:04:12 PM, stuartafbruff wrote:
>I want to 'partition' the array into subarrays,
>such that, for each subarray, the element in
>column n is the same. Each row is preserved.
Oh, I see now. What you have it is a partion then, but a restricted one (that I remember restricted partitions as name is introduced into the number theory for the partition of a number -decompose it into summands- and to eval some Lebesgue integrals in real number theory). Could be the name RestrictedPartitionEqualRows?
>I have a set function which is very similar to yours.
Let me correct you: You don't have a set function similar to mine, you have the ORIGINAL set function, and I only have a modified (only add sort and change the origin, of course) of your set function, which I remember that I take from the collab, but forgot to annotate the author.
Regards. Alvaro.