0
$\begingroup$

I have two matrices A, B with same number of rows. I want lattice reduction on B. During this reduction, I change rows of A accordingly. That is if i-th row and j-th row in B interchanges, swap i-th row and j-th row of A. Similar for other elementary row operations.

How can I do efficiently this in Sage or other software?

  • 0
    Apparently it's not possible to undo a close vote. I voted to close because I thought this belonged to cs.SE, but then realized it's about math software. Please ignore the close vote.2011-07-15
  • 2
    You haven't accepted any of the answers to your previous questions -- were they not acceptable?2011-07-15
  • 1
    @joriki: redirecting people to cs.SE from here is generally not such a good idea, as that site is explicitly intended for *research level* questions. They are about as strict as MO about that. Yes, you can't undo a close vote, but leaving a comment as you did should be sufficient. (while I'm at it I vote *against* closing, just to be sure).2011-07-15
  • 0
    It seems that the same question was asked here: http://groups.google.com/group/sage-support/browse_thread/thread/c3ab769eb42a91de2011-07-19
  • 0
    If you were doing this by hand, you would probably form a large matrix with $B$ as the left block and $A$ as the right block. Then simply carry whichever row operations you wanted to do to this composite matrix. In the end you would separate the blocks again, and exact same row operations had been done to the two blocks. I am unfamiliar with Sage, so I don't know how easy it it is to form a matrix by combinining two blocks with its set of commands. @Martin may be able to say something more about that?2011-07-19

1 Answers 1