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



Hello,

Mike wrote:

A0=A(:,E)
A=A0

Of course, this requires having a matrix the size of A allocated
twice. Since A is several gigabytes on my system, this is a rather
undesirable way to do things. Yet, I get errors if I try something
like A=A(:,E). Can anyone suggest a way of doing this that doesn't
require as much memory?

Have you tried writing a swap_columns routine
to swap the columns using a temporary vector?
Or is E not a permutation?

--

Dan Nagle
Purple Sage Computing Solutions, Inc.
.



Relevant Pages

  • Re: FREE MM Troll LED eye kit, RED
    ... Mike O. ... I could have changed out the whole playfield in less time. ... Anyone who has successfully executed this maneuver, twice, should move ...
    (rec.games.pinball)
  • Re: Calling David Long
    ... Mike & Krystyna Wooding writes ... I have tried twice to email you via the SCAR's address, ... occasions I have been advised that the emails have not been able to be ...
    (uk.rec.waterways)
  • Re: Bah Humbug!
    ... > Mike wrote: ... >> Search as I might, twice over, I could see no connection with gardening ... horrid dot squeak snailything zetnet point co period uk ...
    (uk.rec.gardening)
  • Re: keyboard doesnt always boot
    ... Mike F from TN wrote: ... About once or twice a week now my keyboard does not boot up with the computer. ... During a normal boot the num, caps and scroll locks light up at various times, go off, and then at the end the numlock comes on and stays on. ...
    (microsoft.public.windows.mediacenter)
  • Re: Crazy Ebay Item
    ... I have only been to Seattle Washington, USA, twice. ... I can't imagine a more ... > Mike wrote: ... >> Yo Joan ...
    (microsoft.public.windowsxp.newusers)