#9046: bug in collect and/or term ordering in symbolics
-----------------------------+----------------------------------------------
Reporter: zimmerma | Owner: burcin
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-duplicate/invalid/wontfix
Component: symbolics | Resolution:
Keywords: pynac | Work issues:
Report Upstream: N/A | Reviewers: Burcin Erocal
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Changes (by burcin):
* status: new => needs_review
* reviewer: => Burcin Erocal
* milestone: sage-5.1 => sage-duplicate/invalid/wontfix
Comment:
This is a duplicate of #9880. With [https://bitbucket.org/burcin/pynac-
patches/src the Pynac patch queue] and patches listed on #9880, I get:
{{{
sage: var('a b x y z')
(a, b, x, y, z)
sage: p = -a*x^3 - a*x*y^2 + 2*b*x^2*y + 2*y^3 + x^2*z + y^2*z + x^2 + y^2
+ a>
sage: p.collect(x)
-a*x^3 + (2*b*y + z + 1)*x^2 + 2*y^3 + y^2*z - (a*y^2 - a)*x + y^2
}}}
We should close this after adding it as a doctest to #9880.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9046#comment:6>
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 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-trac?hl=en.