Macaulay2 » Documentation
Packages » SymmetricPolynomials :: elementarySymmetric
next | previous | forward | backward | up | index | toc

elementarySymmetric -- expression in terms of elementary symmetric polynomials

Synopsis

Description

i1 : n=5;
i2 : R=QQ[x_1..x_n];
i3 : f=(product gens R)*(sum gens R);
i4 : elementarySymmetric f

o4 = e e
      1 5

o4 : QQ[x ..x , e ..e ]
         1   5   1   5

This function should work up to a size of 15 variables in the base ring.

This function is part of the package SymmetricPolynomials.

Caveat

if the input is not symmetric the function will announce this

Ways to use elementarySymmetric :

For the programmer

The object elementarySymmetric is a method function.