numapprox
chebdeg
degree of a polynomial in Chebyshev form
Calling Sequence
Parameters
Description
Examples
chebdeg(p)
p
-
expression assumed to be a Chebyshev series
Given a polynomial p expressed as a Chebyshev series, determine the degree of the polynomial (i.e. the largest k such that appears as a basis polynomial).
All Chebyshev basis polynomials which appear must have the same second argument x (which can be any expression).
The input polynomial must be in expanded form (i.e. a sum of products). Normally, each term in the sum contains one and only one factor except that if there are terms in the sum containing no factor then each such term t is interpreted to represent (i.e. it is assumed to be a term of degree 0).
The command with(numapprox,chebdeg) allows the use of the abbreviated form of this command.
See Also
numapprox[chebsort]
numapprox[chebyshev]
orthopoly[T]
Download Help Document