On Fri, Jan 23, 2015 at 2:12 PM, john_perry_usm <[email protected]> wrote:
> Hello! > > In the manual ( > www.sagemath.org/doc/reference/combinat/sage/combinat/sf/monomial.html) > there is a nice example of enumerating and expanding symmetric functions in > terms of x's. > > Is there a way to write the monomial symmetric functions in terms of the > elementary symmetric polynomials, *without* the expansion? i.e., I want > m(4,2,1) in terms of e1=x1+x2+x3, e2=x1*x2+x1*x3+x2*x3, etc. not in terms > of the xi themselves. So m(4,2,1)=e3*(e1^2*e2 - 2*e2^2 - e1*e3). > Try the following: sage: e = SymmetricFunctions(QQ).e() # construct the symmetric functions with the e basis sage: m = SymmetricFunctions(QQ).m() # ditto but with the monomial basis sage: m421 = m[4, 2, 1] # create the monomial you care about sage: e(m421) # coerce the monomial into the ring with the e basis e[3, 2, 1, 1] - 2*e[3, 2, 2] ... > regards > john perry > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" 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-support. > For more options, visit https://groups.google.com/d/optout. > -- Andrew -- You received this message because you are subscribed to the Google Groups "sage-support" 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-support. For more options, visit https://groups.google.com/d/optout.
