genfunc
rgf_pfrac
partial fractions over the complex numbers
Calling Sequence
Parameters
Description
Examples
rgf_pfrac(Fz, z)
rgf_pfrac(Fz, z, 'no_RootOf')
Fz
-
rational generating function
z
name, generating function variable
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.
with⁡genfunc:
rgf_pfrac⁡1+z1−3⁢z+2⁢z2,z
−32⁢z−1+2z−1
rgf_pfrac⁡11−z−z2,z
2⁢55⁢2⁢z+5+1−2⁢55⁢2⁢z−5+1
rgf_pfrac⁡11−z−z2−z3,z
∑_R=RootOf⁡_Z3+_Z2+_Z−1⁡limz→_R⁡−z−_Rz3+z2+z−1z−_R
rgf_pfrac⁡11−z−z2−z5+z6,z,no_RootOf
Rgf_pfrac⁡1z6−z5−z2−z+1,z
See Also
convert[parfrac]
factor
RootOf
Download Help Document