genfunc
rgf_hybrid
Find generating function of hybrid terms
Calling Sequence
Parameters
Description
Examples
rgf_hybrid(z, gf1, gf2, ...)
z
-
name, generating function variable
gf1, gf2, ...
one or more rational generating functions
This procedure finds the generating function of the hybrid terms that results from the term wise multiplication of the sequences encoded by the generating functions gf1, gf2, ....
The command with(genfunc,rgf_hybrid) allows the use of the abbreviated form of this command.
with⁡genfunc:
rgf_hybrid⁡z,11−2⁢z,2⁢z1−3⁢z
−4⁢z6⁢z−1
rgf_hybrid⁡z,z1−z−z2,11−2⁢z
−2⁢z4⁢z2+2⁢z−1
pz≔rgf_encode⁡n,n,z
pz≔z1−z2
fz≔rgf_hybrid⁡z,pz,pz
fz≔−z2+zz3−3⁢z2+3⁢z−1
normal⁡rgf_expand⁡fz,z,n
n2
See Also
genfunc/rgf_expand
Download Help Document