genfunc[rgf_expand] - expand rational generating functions
|
Calling Sequence
|
|
rgf_expand(Fz, z, n)
|
|
Parameters
|
|
Fz
|
-
|
rational generating function of z
|
z
|
-
|
name, the generating function variable
|
n
|
-
|
name, the index variable for the expansion of Fz
|
|
|
|
|
Description
|
|
•
|
The function finds the closed form expansion of the nth term in the sequence encoded by the rational generating function Fz.
|
•
|
If the denominator of Fz has polynomial factors of degree greater than two that cannot be factored over the rationals, an inert Sum expression involving RootOf values is returned.
|
•
|
The global variables _J and _R are used in the RootOf expressions.
|
•
|
The command with(genfunc,rgf_expand) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?