#11839: sage.symbolic.expression.Expression.collect has no documentation
------------------------------------+---------------------------------------
Reporter: mjo | Owner: mvngu
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.1
Component: documentation | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Karl-Dieter Crisman
Authors: Michael Orlitzky | Merged in:
Dependencies: | Stopgaps:
------------------------------------+---------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_work
* reviewer: => Karl-Dieter Crisman
Comment:
I think that this is pretty good overall, but the random test is a little
weak, because they are very small polys. Check out a few!
Instead,
{{{
sage: base = QQ['y']
sage: polynomials = base['x']
sage: f = SR(polynomials.random_element(8)); g = f.expand().collect(x);
print f; print g; bool(f == g)
}}}
gives us a more robust one. Can you think of even more crazy ones? We
could do arbitrarily wacky ones... but at least this show the collect in
action; the current test rarely does, as far as I can tell.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11839#comment:2>
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.