Re: [sage-devel] Re: Equality of expressions (inside a matrix)

2013-03-14 Thread Jan Groenewald
This is now http://trac.sagemath.org/sage_trac/ticket/14277 On 15 March 2013 08:36, Simon King wrote: > Hi Michael, > > On 2013-03-15, Michael Orlitzky wrote: > > sage: bool(f == g) > > True > > sage: bool([f] == [g]) > > True > > sage: bool(matrix([f]) == matrix([g])) > > False >

Re: [sage-devel] Re: Equality of expressions (inside a matrix)

2013-03-14 Thread David Roe
>> > >> That is not good. Worth a ticket? > > > > I don't think so. I guess there is a good reason not to simplify > > symbolic expressions by default. > > I disagree; I'd create one even if nobody wants to fix it at the moment. > The problem here isn't about simplification -- equal expressions bec

Re: [sage-devel] Re: Equality of expressions (inside a matrix)

2013-03-14 Thread Michael Orlitzky
On 03/14/2013 03:34 PM, Simon King wrote: > Hi Jan, > > On 2013-03-14, Jan Groenewald wrote: >> --e89a8f83aa332c3afc04d7e540f8 >> No, the core example is inside a matrix > > I don't understand what you mean by this. > >> A==B >> False >> A.simplify_rational()==B >> True >> >> That is not good.

Re: [sage-devel] Re: Equality of expressions (inside a matrix)

2013-03-14 Thread Jan Groenewald
Hi No, the core example is inside a matrix A==B False A.simplify_rational()==B True That is not good. Worth a ticket? Regards, Jan On 12 March 2013 18:17, Simon King wrote: > Hi Jan, > > On 2013-03-12, Jan Groenewald wrote: > > sage: A=matrix([(x+1)*(x-1)]); B=matrix([x^2-1]); > > sage: A