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
gfun[guessgf] - find a generating function from a list
gfun[guesseqn] - find a differential equation satisfied by the generating function
Calling Sequence
guessgf(L, x, [typelist])
guesseqn(L, y(x), [typelist])
Parameters
L
-
list
x
name
typelist
(optional) list of generating function types
y
Description
The guessgf(L, x) command finds a closed form for the generating function for the series defined by L.
You should specify as many terms as possible in the list L.
If typelist is specified, it indicates the type of generating functions, for example, ordinary (ogf) or exponential (egf), to try. If typelist contains more than one element, these types are considered in the order that they are listed. For a complete list of available generating function types, see gftypes.
If typelist is not specified, the default are ordinary and exponential generating functions, specified by the parameter .
The guessgf function does the following.
Tries to find a rational function using listtoratpoly.
Tries to find hypergeometric functions using listtohypergeom.
Tries to find a linear differential equation with polynomial coefficients using listtodiffeq which is then passed to dsolve.
The guesseqn(L, y(x)) finds an equation satisfied by the generating function. The guesseqn function might succeed even if the guessgf function fails because it does not attempt to solve the equation in closed-form.
Examples
See Also
dsolve, gfun, gfun/gftypes, gfun/parameters, gfun[listtodiffeq], gfun[listtohypergeom], gfun[listtoratpoly], gfun[listtoseries]
Download Help Document