numapprox
chebmult
multiply two Chebyshev series
Calling Sequence
Parameters
Description
Examples
chebmult(p, q)
p, q
-
two expressions assumed to be Chebyshev series
Given polynomials p and q expressed in a Chebyshev basis, form the product pq expressed in a Chebyshev basis.
All Chebyshev basis polynomials Tk,x which appear must have the same second argument x (which can be any expression).
The input polynomials must be in expanded form (i.e. a sum of products). Normally, each term in the sum contains one and only one Tk,x factor except that if there are terms in the sum containing no Tk,x factor then each such term t is interpreted to represent tT0,x provided that t and x have no variables in common.
If no Tk,x factor appears in p or in q then the ordinary product pq is returned.
The command with(numapprox,chebmult) allows the use of the abbreviated form of this command.
withnumapprox:
Digits≔3:
a≔chebyshevsinx,x
a≔0.880T1,x−0.0391T3,x+0.000500T5,x
b≔chebyshevexpx,x
b≔1.26T0,x+1.13T1,x+0.271T2,x+0.0443T3,x+0.00547T4,x+0.000543T5,x
chebmulta,b
0.496T0,x+1.22T1,x+0.494T2,x+0.0718T3,x−0.00212T4,x−0.00227T5,x−0.000344T6,x−0.0000390T7,x+5.×10−7T8,x+1.37×10−6T9,x+1.36×10−7T10,x
c≔c0T0,x+c1T1,x
d≔d0T0,x+d1T1,x
chebmultc,d
c0d0+d1c12T0,x+c0d1+d0c1T1,x+d1c1T2,x2
chebmultTj,x,Tk,x
T−k+j,x2+Tk+j,x2
assume0<j,j<k
chebmultc0+cjTj,x,Tk,x
cjTk~−j~,x2+c0Tk~,x+cjTj~+k~,x2
assume5<j,j<k
e≔a+ckTk,x
e≔0.880T1,x−0.0391T3,x+0.000500T5,x+ckTk~,x
chebmulte,Tj,x
0.500ckTk~−j~,x+0.000250Tj~−5,x−0.0196Tj~−3,x+0.440Tj~−1,x+0.440T1+j~,x−0.0196T3+j~,x+0.000250T5+j~,x+0.500ckTk~+j~,x
See Also
numapprox[chebsort]
numapprox[chebyshev]
orthopoly[T]
Download Help Document