OrthogonalSeries
Coefficients
extract a coefficient from a series
Calling Sequence
Parameters
Description
Examples
Coefficients(S)
Coefficients(S, k)
Coefficients(S, [k1,.., kn])
S
-
orthogonal series
k, k1, .., kn
integers
The Coefficients(S, k) and Coefficients(S, [k1,.., kn]) calling sequences extract the coefficients of index k and k1,..,kn, respectively, from the series S. In these calling sequences, the dimension of the index must correspond to the dimension of S. Otherwise, an error is returned.
The Coefficients(S) calling sequence returns the general term coefficient of the series S.
with⁡OrthogonalSeries:
S≔Create⁡n+1m+1,GegenbauerC⁡n,1,x,LaguerreL⁡m,1,y
S≔∑m=0∞⁡∑n=0∞⁡n+1⁢GegenbauerC⁡n,1,xm+1⁢LaguerreL⁡m,1,y
Coefficients⁡S
n+1m+1
Coefficients⁡S,2,3
34
S1≔Create⁡1,2=4,3,4=−7,GegenbauerC⁡n,1,x,LaguerreL⁡m,1,y
S1≔4⁢GegenbauerC⁡1,1,x⁢LaguerreL⁡2,1,y−7⁢GegenbauerC⁡3,1,x⁢LaguerreL⁡4,1,y
Coefficients⁡S1;Coefficients⁡S1,1;Coefficients⁡S1,1,2;Coefficients⁡S1,2,2
0
Error, (in OrthogonalSeries:-Coefficients) index of different dimension than input
4
S1≔Create⁡a⁡n,m,1,2=4,3,4=−7,GegenbauerC⁡n,1,x,LaguerreL⁡m,1,y
S1≔4⁢GegenbauerC⁡1,1,x⁢LaguerreL⁡2,1,y−7⁢GegenbauerC⁡3,1,x⁢LaguerreL⁡4,1,y+∑m=0∞⁡∑n=0∞⁡a⁡n,m⁢GegenbauerC⁡n,1,x⁢LaguerreL⁡m,1,y
Coefficients⁡S1;Coefficients⁡S1,1,2;Coefficients⁡S1,2,2
a⁡n,m
a⁡1,2+4
a⁡2,2
See Also
GegenbauerC
LaguerreL
OrthogonalSeries[Create]
Download Help Document