Documentation Center

  • Trial Software
  • Product Updates

polylib::support

Support of a polynomial

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

polylib::support(p)

Description

polylib::support(p) returns the support of p, that is, the list of indices with non zero coefficient in p.

Examples

Example 1

The support of a multivariate polynomial is the list of the degree vectors of its terms:

polylib::support(poly(x*y*z + x + 1, [x, y, z]))

For a univariate polynomial, the support is the list of the degrees of its terms. In the following polynomial x appears with degrees 3, 1, and 0:

polylib::support(Dom::UnivariatePolynomial(x)(x^3*y*z + x + 1))

Parameters

p

A polynomial.

Return Values

List of elements of the support.

Was this topic helpful?