Hello, One is a 1x0 matrix and the other is a 0x0 matrix.
sage: map(len, [a.rows(), a.columns()]) [1, 0] sage: map(len, [b.rows(), b.columns()]) [0, 0] --Mike On Nov 26, 2007 4:38 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > Is there a reason why matrix(F,[[]]) and matrix(F,[]) should return > different things? > > sage: F=GF(3) > sage: a=matrix(F,[[]]) > sage: b=matrix(F,[]) > sage: a==b > False > sage: a.rows() > [()] > sage: b.rows() > [] > sage: a.block_sum(matrix(F,[[1,0],[0,1]])) > > [0 0] > [1 0] > [0 1] > sage: b.block_sum(matrix(F,[[1,0],[0,1]])) > > [1 0] > [0 1] > > Thanks, > > Jason > > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---