Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-09 Thread Nicolas M. Thiery
On Fri, Dec 09, 2011 at 10:19:22AM +0100, Jeroen Demeyer wrote: > I am asking for: > > sage: e = SymmetricFunctions(QQ).e() > sage: R. = PolynomialRing(QQ) > sage: e[3,1,1].express_as_polynomial([1,e1,e2,e3]) > e1^2*e3 Ah, you want the result expressed as a plain polynomial. Then it's just a one-

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-09 Thread Jeroen Demeyer
On 2011-12-09 07:39, Dima Pasechnik wrote: > Hmm, not sure I understand what you are asking for. I am asking for: sage: e = SymmetricFunctions(QQ).e() sage: R. = PolynomialRing(QQ) sage: e[3,1,1].express_as_polynomial([1,e1,e2,e3]) e1^2*e3 or something like: sage: e = SymmetricFunctions(QQ).e()

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-08 Thread Dima Pasechnik
On Friday, 9 December 2011 04:25:23 UTC+8, Jeroen Demeyer wrote: > > On 2011-12-08 20:16, Mike Hansen wrote: > > e[3,2,1] represents the product e[3]*e[2]*[1]: > As far as I can tell, this is nowhere mentioned in the documentation. > well, this is standard in the symmetric functions business. e_

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-08 Thread Jeroen Demeyer
On 2011-12-08 20:16, Mike Hansen wrote: > e[3,2,1] represents the product e[3]*e[2]*[1]: As far as I can tell, this is nowhere mentioned in the documentation. Certainly not in the obvious places. > sage: e[3]*e[2]*e[1] > e[3, 2, 1] It would be nice to be able to expand e[3,2,1] into a polynomial e

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-08 Thread Mike Hansen
On Thu, Dec 8, 2011 at 10:56 AM, Jeroen Demeyer wrote: > On 2011-12-04 14:34, Nicolas M. Thiery wrote: >> On Sun, Dec 04, 2011 at 03:56:39AM -0800, Dima Pasechnik wrote: >>>    unless I missed something, >>>    your >>> http://combinat.sagemath.org/doc/thematic_tutorials/demo-symmetric-functions.

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-08 Thread Florent Hivert
On Thu, Dec 08, 2011 at 07:56:11PM +0100, Jeroen Demeyer wrote: > On 2011-12-04 14:34, Nicolas M. Thiery wrote: > > On Sun, Dec 04, 2011 at 03:56:39AM -0800, Dima Pasechnik wrote: > >>unless I missed something, > >>your > >> http://combinat.sagemath.org/doc/thematic_tutorials/demo-symmetri

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-08 Thread Jeroen Demeyer
On 2011-12-04 14:34, Nicolas M. Thiery wrote: > On Sun, Dec 04, 2011 at 03:56:39AM -0800, Dima Pasechnik wrote: >>unless I missed something, >>your >> http://combinat.sagemath.org/doc/thematic_tutorials/demo-symmetric-functions.html >>lacks any information as to how to take any symmetr

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-04 Thread Dima Pasechnik
On Sunday, 4 December 2011 21:34:20 UTC+8, Nicolas M. Thiéry wrote: > > On Sun, Dec 04, 2011 at 03:56:39AM -0800, Dima Pasechnik wrote: > >unless I missed something, > >your > http://combinat.sagemath.org/doc/thematic_tutorials/demo-symmetric-functions.html > >lacks any information a

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-04 Thread Nicolas M. Thiery
On Sun, Dec 04, 2011 at 03:56:39AM -0800, Dima Pasechnik wrote: >unless I missed something, >your > http://combinat.sagemath.org/doc/thematic_tutorials/demo-symmetric-functions.html >lacks any information as to how to take any symmetric polynomial, and >expand it in some basis of

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-04 Thread Dima Pasechnik
Hi Nicolas, unless I missed something, your http://combinat.sagemath.org/doc/thematic_tutorials/demo-symmetric-functions.html lacks any information as to how to take any symmetric polynomial, and expand it in some basis of symmetric functions. Is it even possible with the combinat functionality

Re: [sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-03 Thread Nicolas M. Thiery
On Sat, Dec 03, 2011 at 01:22:32AM -0300, Federico Lebrón wrote: > I've written a small pair of functions which could be useful: > > 1) A function is_symmetric which, given a polynomial, returns whether > or not the polynomial is a symmetric polynomial. > 2) A function symmetrize whic

[sage-devel] Symmetric polynomial in terms of elementary symmetric polynomials

2011-12-02 Thread Federico Lebrón
Hi. I've written a small pair of functions which could be useful: 1) A function is_symmetric which, given a polynomial, returns whether or not the polynomial is a symmetric polynomial. 2) A function symmetrize which, given a symmetric polynomial, returns an equivalent expression