Hi Jan,

On 2013-03-14, Jan Groenewald <j...@aims.ac.za> 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. Worth a ticket?

I don't think so. I guess there is a good reason not to simplify
symbolic expressions by default.

As I said in my previous post: Provided that all your examples are
with matrices whose coefficients are polynomials, your students
should simply work with matrices over a polynomial ring.

Such as:
  sage: P.<x> = CC[]
  sage: A=matrix([(x+1)*(x-1)]); B=matrix([x^2-1])
  sage: A == B
  True

Of course, the matrices would then not have a simplify_rational method.

Generally, it seems to me that one should use the symbolic ring only
when really needed.

Best regards,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to