rgf_pfrac - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


genfunc

  

rgf_pfrac

  

partial fractions over the complex numbers

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

rgf_pfrac(Fz, z)

rgf_pfrac(Fz, z, 'no_RootOf')

Parameters

Fz

-

rational generating function

z

-

name, generating function variable

Description

• 

Computes the complete partial fraction expansion of Fz over the complex numbers.

• 

The denominator of Fz is factored using factor. Any factors that are polynomials of degree 2 are then factored over the complex numbers. Any factors that are polynomials of degree greater than 2 are represented in factored form using Sum and RootOf expressions.

• 

If the optional argument 'no_RootOf' is used, the denominator will be completely factored over the complex numbers. If the denominator cannot be factored, an inert Pfrac expression is returned.

• 

The global variables _J and _R are used in the RootOf expressions.

• 

The command with(genfunc,rgf_pfrac) allows the use of the abbreviated form of this command.

Examples

withgenfunc:

rgf_pfrac1+z13z+2z2,z

32z1+2z1

(1)

rgf_pfrac11zz2,z

2552z+5+12552z5+1

(2)

rgf_pfrac11zz2z3,z

_R=RootOf_Z3+_Z2+_Z1limz_Rz_Rz3+z2+z1z_R

(3)

rgf_pfrac11zz2z5+z6,z,no_RootOf

Rgf_pfrac1z6z5z2z+1,z

(4)

See Also

convert[parfrac]

factor

genfunc

RootOf