type/SDMPolynom - Maple Help

Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/SDMPolynom

type/SDMPolynom

check for an SDMPolynom data structure

 Calling Sequence type(a, SDMPolynom)

Parameters

 a - expression

Description

 • The  type(a, SDMPolynom) calling sequence checks that a is an SDMPolynom.
 • The parameter a is a polynomial in all of its indeterminates.
 • Note:  The command SDMPolynom has been deprecated.  A sparse distributed data structure is used by default for polynomials and is often more efficient than SDMPolynom. For information on creating and working with polynomials, see polynom.

Examples

 > $\mathrm{type}\left(\mathrm{SDMPolynom}\left({x}^{2}+y-z,\left[x,y,z\right]\right),\mathrm{SDMPolynom}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{type}\left(\mathrm{sin}\left(x\right)+y,\mathrm{SDMPolynom}\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{type}\left(\mathrm{SDMPolynom}\left(\mathrm{sin}\left(x\right)+y,\left[\mathrm{sin}\left(x\right),y\right]\right),\mathrm{SDMPolynom}\right)$
 ${\mathrm{true}}$ (3)
 > $\mathrm{type}\left(\mathrm{SDMPolynom}\left(f\left(1\right)x+{2}^{\frac{1}{2}},x\right),\mathrm{SDMPolynom}\right)$
 ${\mathrm{true}}$ (4)