Elementary symmetric polynomials
This functionality does not run in MATLAB.
polylib::elemSym([x1,...,xn], k) returns the k-th elementary symmetric polynomial in the given variables x1 through xn.
A given list l is a valid first argument only if its elements can be used as indeterminates of a polynomial .
The first elementary symmetric polynomial is just the sum of its variables:
Indeterminates may also be e.g. trigonometric functions:
polylib::elemSym([sin(u),cos(u), exp(u)], 2);
For more information about elementary symmetric polynomials, see v.d. Waerden, Algebra, vol. 1.