Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

polylib::elemSym

Elementary symmetric polynomials

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

polylib::elemSym(l, k)

Description

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 .

Examples

Example 1

The first elementary symmetric polynomial is just the sum of its variables:

polylib::elemSym([x,y,z], 1);

Example 2

Indeterminates may also be e.g. trigonometric functions:

polylib::elemSym([sin(u),cos(u), exp(u)], 2);

Parameters

l

List of indeterminatess

k

Positive integer

Return Values

Result is a polynomial over the coefficient ring Expr. If k is greater than the number of operands of l, undefined is returned.

References

For more information about elementary symmetric polynomials, see v.d. Waerden, Algebra, vol. 1.

See Also

MuPAD Functions

Was this topic helpful?