On Thursday, January 26, 2012 5:37:14 PM UTC+8, Marco Streng wrote: > > 2012/1/26 Dima Pasechnik <dim...@gmail.com>: > > No, that's not good. > > > > Cause this syntax forbids 1-row matrices to be entered in this format > > (as it won't be possible to distinguish it from a list!) > > How about [1,2,3;] for matrix([[1,2,3]])? > This problem and solution are similar to (1,) for a 1-tuple in Python. >
then, for consistency, it should be then [1,2;3,4;], i.e. end each row with ; > > > > Dima > > > > -- > > To post to this group, send an email to sage-...@googlegroups.com > > To unsubscribe from this group, send an email to > > sage-devel+...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/sage-devel > > URL: http://www.sagemath.org > > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org