Coefficients - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


OrthogonalSeries

  

Coefficients

  

extract a coefficient from a series

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Coefficients(S)

Coefficients(S, k)

Coefficients(S, [k1,.., kn])

Parameters

S

-

orthogonal series

k, k1, .., kn

-

integers

Description

• 

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.

Examples

> 

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

(1)
> 

Coefficients⁡S

n+1m+1

(2)
> 

Coefficients⁡S,2,3

34

(3)
> 

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

(4)
> 

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

0

(5)
> 

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

(6)
> 

Coefficients⁡S1;Coefficients⁡S1,1,2;Coefficients⁡S1,2,2

a⁡n,m

a⁡1,2+4

a⁡2,2

(7)

See Also

GegenbauerC

LaguerreL

OrthogonalSeries

OrthogonalSeries[Create]