No, there isn't such a function. However, some matrices support "windows", these are submatrices which are created without copying the data out. Hence, doing the splitting up/combining step is quite cheap. See:
matrix_window_modn_dense.pyx but it will probably take some code-writing to get it to do what you want. On Tuesday 12 Jun 2012, Thomas Klotz wrote: > I was wondering if anyone knows a way for sage to perform gaussian > elimination on a matrix, but only up to the nth row and will stop at that > point. > > I realize that I could just split up the matrix and perform the algorithm > on that part of it, and just re-join it to the rest of the matrix, but I > was wondering if there is some built-in function for this. > > Thanks, > Tom Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://martinralbrecht.wordpress.com/ _jab: [email protected] -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
