Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
genfunc[rgf_encode] - encode rational generating functions
Calling Sequence
rgf_encode(Fn, n, z)
rgf_encode(Fn, n, z, options)
Parameters
Fn
-
closed form expression for the nth term in a sequence
n
name, index variable for Fn
z
name, generating function variable
options
(optional) parameters defining special information about the sequence
Description
This function finds the rational generating function of the sequence defined by Fn.
The expression Fn must be a valid closed form expression for a sequence with a rational generating function. The command type(Fn, 'ratseq'(n)) will determine if Fn is a valid expression.
The sequence is assumed to be defined by Fn for all . The optional arguments can be used to specify other information about the sequence.
An optional argument of the form , where c is an integer value, defines the first nonzero term in the sequence to be at index c.
An optional argument of the form , where are integer indices and are values of the sequence at those indices.
The command with(genfunc,rgf_encode) allows the use of the abbreviated form of this command.
Examples
See Also
genfunc, genfunc[rgf_expand], genfunc[rgf_sequence], invztrans, ztrans
Download Help Document