#9558: Make `is_symmetric` method for polynomials or where else useful
-----------------------------+----------------------------------------------
Reporter: kcrisman | Owner: sage-combinat
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.5.2
Component: combinatorics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Changes (by jbandlow):
* cc: sage-combinat (added)
* owner: AlexGhitza => sage-combinat
* component: algebra => combinatorics
Comment:
The following works (at least in sage-4.4.4):
{{{
sage: R.<x,y,z> = QQ[]
sage: SF = SymmetricFunctions(QQ)
sage: SF.from_polynomial(x^2 + y^2 + z^2)
m[2]
sage: SF.from_polynomial(x^2 + y^2)
...
ValueError: x^2 + y^2 is not a symmetric polynomial
}}}
If someone wants to make a top level function like that suggested in the
initial post, a design discussion should probably happen on sage.devel or
sage.combinat.devel first.
I'm changing the component to combinatorics since that's where tickets
related to symmetric functions usually live.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9558#comment:1>
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.