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 which, given a symmetric polynomial, returns > an equivalent expression in terms of the elementary symmetric polynomials. > > The code, which likely needs some cleanup (and modifications to do things > "the Sage way", whatever it may be), is here: http://codepad.org/gJpNRfHH > > Would there be interest in adding these to Sage perhaps? I tried searching > for similar functionality but couldn't find it.
Please have a look at SymmetricFunctions and http://combinat.sagemath.org/doc/thematic_tutorials/demo-symmetric-functions.html and get back to us for more information if needed! Cheers, Nicolas -- Nicolas M. Thiéry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org