next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SymmetricPolynomials :: elementarySymmetric(RingElement)

elementarySymmetric(RingElement) -- 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