Re: Re-ordering columns or rows of an array efficiently



Hello,

glen herrmannsfeldt wrote:

You could do the rearrangement one row at a time, which requires
only one temporary row.

I think at worst he needs only two temporary vectors
to make whatever rearrangement he wants.

--

Dan Nagle
Purple Sage Computing Solutions, Inc.
.



Relevant Pages