On 5/17/07, Nick Alexander <[EMAIL PROTECTED]> wrote: > While I'm here, what's the good way to get a column slice? Say the > moral equivalent of matrix(...)[,:4], which gets the first four > columns?
Nick -- nice patch. It will be in sage-2.5.1. And, I agree that calling getitem on range then using the result is a good way of reducing the possibility of bugs and should be used elsewhere instead of us trying to implement getslice. > > Nick > > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---