Hi Alex! On 17 Nov., 22:12, Alex Ghitza <[email protected]> wrote: ... > I'm not sure I understand this paragraph. Mathematically, 0*M is > always the zero matrix and never the number 0. So it seems to me that > maple screws up if it returns the number 0.
I don't know whether maple returns the number 0. But even in Sage, although 0*M is a matrix and not a number, this matrix is equal to the number 0: sage: M = Matrix([[1,2],[3,4]]) sage: 0*M==0 True sage: type(0*M) <type 'sage.matrix.matrix_integer_dense.Matrix_integer_dense'> Cheers, Simon -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
