#21123: monomials() and lt() for SymmetricFunctions over SymbolicRing broken
-----------------------------+------------------------
       Reporter:  schilly    |        Owner:
           Type:  defect     |       Status:  new
       Priority:  major      |    Milestone:  sage-7.3
      Component:  symbolics  |   Resolution:
       Keywords:             |    Merged in:
        Authors:             |    Reviewers:
Report Upstream:  N/A        |  Work issues:
         Branch:             |       Commit:
   Dependencies:             |     Stopgaps:
-----------------------------+------------------------

Comment (by dimpase):

 Most probably `SymmetricFunctions` should not allow `SR` as an argument.
 By right,
 {{{
 e = SymmetricFunctions(SR).e()
 f = e([2]).expand(3)
 }}}
 should create `f` in `SR`, but it does something totally different:
 {{{
 sage: type(f)
 <class
 'sage.rings.polynomial.multi_polynomial_element.MPolynomial_polydict'>
 }}}
 However it is possible to convert `f` into a symbolic expression:
 {{{
 sage: ff=SR(f)
 sage: type(ff)
 <type 'sage.symbolic.expression.Expression'>
 sage: ff.operands()
 [x0*x1, x0*x2, x1*x2]
 }}}
 So the latter might be used as a workaround...

--
Ticket URL: <https://trac.sagemath.org/ticket/21123#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 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to