#18259: comparison of symbolic functions
-----------------------------+------------------------
Reporter: dkrenn | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-----------------------------+------------------------
Comment (by vdelecroix):
Replying to [comment:2 nbruin]:
Hi Niles,
Why not modifying the comparison codes for Callable function ring?
> If you do *not* want these things to compare equal then you should break
the coercion. That might be reasonable. Conversion can still exist.
Currently you can do:
> {{{
> sage: f+y^2
> x |--> x*y + y^2
> }}}
> without coercion but with conversion, this would need to be:
> {{{
> sage: f+cSR(y^2)
> x |--> x*y + y^2
> }}}
> which does not seem unreasonable to me.
I definitely would like to be able to do `f+1` without an error!
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/18259#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.