Re: [sage-combinat-devel] symmetric polynomials

2010-02-13 Thread Nicolas M. Thiery
On Sat, Feb 13, 2010 at 09:53:27AM -0800, Anne Schilling wrote: > I would like to write a symmetric polynomial (not function) > in terms of one of the usual bases (like Schur polynomials). > > For example, I would like to write > > sage: n=2 > sage: P = PolynomialRing(QQ, 'x', n) > sage: x=[P.gen

[sage-combinat-devel] symmetric polynomials

2010-02-13 Thread Anne Schilling
Hi, I would like to write a symmetric polynomial (not function) in terms of one of the usual bases (like Schur polynomials). For example, I would like to write sage: n=2 sage: P = PolynomialRing(QQ, 'x', n) sage: x=[P.gen(i) for i in range(n)] sage: f=sum((x[i] for i in range(n)), P.zero()) sag