Re: [sage-support] submatrix

2012-02-26 Thread D. S. McNeil
> I mean for example: > > A = matrix(QQ,[[1,2,3],[4,5,6],[7,8,9]]) > A.submatrix([1,3],[1,3]) > ==> [1,3] >       [7,9] With a slightly different syntax, we can do this by passing a tuple of values for the coordinates: sage: A = matrix(QQ,[[1,2,3],[4,5,6],[7,8,9]]) sage: A [1 2 3] [4 5 6] [7 8 9]

[sage-support] submatrix

2012-02-26 Thread Albert
Hi Sage-Team, I have an idea, what might be useful for Sage. There is the command submatrix, which gets a starting column and a starting row and the number of columns and rows that you want to have for that submatrix after the starting point. Wouldn't it be more useful, if you could decide which r