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

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

withOrthogonalSeries:

SCreaten+1m+1,GegenbauerCn,1,x,LaguerreLm,1,y

Sm=0n=0n+1GegenbauerCn,1,xm+1LaguerreLm,1,y

(1)

CoefficientsS

n+1m+1

(2)

CoefficientsS,2,3

34

(3)

S1Create1,2=4,3,4=7,GegenbauerCn,1,x,LaguerreLm,1,y

S14GegenbauerC1,1,xLaguerreL2,1,y7GegenbauerC3,1,xLaguerreL4,1,y

(4)

CoefficientsS1;CoefficientsS1,1;CoefficientsS1,1,2;CoefficientsS1,2,2

0

Error, (in OrthogonalSeries:-Coefficients) index of different dimension than input

4

0

(5)

S1Createan,m,1,2=4,3,4=7,GegenbauerCn,1,x,LaguerreLm,1,y

S14GegenbauerC1,1,xLaguerreL2,1,y7GegenbauerC3,1,xLaguerreL4,1,y+m=0n=0an,mGegenbauerCn,1,xLaguerreLm,1,y

(6)

CoefficientsS1;CoefficientsS1,1,2;CoefficientsS1,2,2

an,m

a1,2+4

a2,2

(7)

See Also

GegenbauerC

LaguerreL

OrthogonalSeries

OrthogonalSeries[Create]