Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you just have to work over a base ring which is not QQ

sage: P.<x,y>=PolynomialRing(QQ['a'])
sage: a = P.base_ring().gen()
sage: f = x + y + a
sage: S=SymmetricFunctions(P.base_ring())
sage: S.from_polynomial(f)
a*m[] + m[1]