[sage-devel] Re: block sums

2007-04-16 Thread William Stein
On 4/15/07, Robert Miller <[EMAIL PROTECTED]> wrote: > There should be no difference between the matrices [[]] and [], > especially if they're printing as the same matrix. There is no > mathematical reason for having a matrix consisting of one row and zero > columns. Yes there is. Most matrix a

[sage-devel] Re: block sums

2007-04-15 Thread Robert Miller
There should be no difference between the matrices [[]] and [], especially if they're printing as the same matrix. There is no mathematical reason for having a matrix consisting of one row and zero columns. Even if there were, there doesn't seem to be a way to create a matrix with zero rows and on

[sage-devel] Re: block sums

2007-04-13 Thread David Harvey
On Apr 13, 2007, at 2:08 PM, Robert Miller wrote: > sage: A = Matrix( GF(2), [[]] ) > sage: B = Matrix( GF(2), [[0]] ) > sage: A > [] > sage: B > [0] > sage: A.block_sum(B) > > [0] > [0] > sage: A = Matrix( GF(2), [] ) > sage: A > [] > sage: A.block_sum(B) > [0] I don't understand the problem.