On Sat, Oct 31, 2009 at 3:05 PM, yotama9 <yota...@gmail.com> wrote: > > Hello. > > I have several files of data that I want to merge into a single array > and then manipulate it (adding a single column to all the column > etc.) > > Each file is constructed of two columns. I want to take the columns of > the first file and add to the the second column of each file. > > Is there a way to do so?
sage: A = matrix([[1,2],[3,4]]) sage: B = matrix([[5,6],[7,8]]) sage: A.rows()[0]+B.rows()[1] (8, 10) Is this what you mean? > > Thanks. > > Yotam > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---