sage: Sym = SymmetricFunctions(QQ)
sage: s = Sym.s()
sage: s[3].expand(2)(1+x,1+y)
x^3 + x^2*y + x*y^2 + y^3 + 4*x^2 + 4*x*y + 4*y^2 + 6*x + 6*y + 4
sage: f = s[3].expand(2)(1+x,1+y)
sage: s.from_polynomial(f).expand(2)(x,y) == f
True
sage: s.from_polynomial(f)
4*s[] + 6*s[1] - s[1, 1, 1] + 4*s[2] + s[3]
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/vwDhGB5Q5uI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/7d70e726-64b5-4fef-9d7d-05656e5dc900n%40googlegroups.com.