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
Overview of the gfun Package
Calling Sequence
gfun[command](arguments)
command(arguments)
Description
The gfun package provides tools for determining and manipulating generating functions.
You can perform computations with generating functions defined by equations. For example, given two generating functions defined by linear differential equations with polynomial coefficients, there is a procedure to compute the differential equation satisfied by their product.
Each command in the gfun package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
As the underlying implementation of the gfun package is a module, it is also possible to use the form gfun:-command to access a command from the package. For more information, see Module Members.
List of gfun Package Commands
The following is a list of available commands.
`diffeq*diffeq`
`diffeq+diffeq`
`rec*rec`
`rec+rec`
algebraicsubs
algeqtodiffeq
algeqtoseries
algfuntoalgeq
borel
cauchyproduct
diffeqtohomdiffeq
diffeqtorec
gftypes
guesseqn
guessgf
hadamardproduct
holexprtodiffeq
invborel
Laplace
listtoalgeq
listtodiffeq
listtohypergeom
listtolist
listtoratpoly
listtorec
listtoseries
parameters
Parameters
poltodiffeq
poltorec
ratpolytocoeff
rectodiffeq
rectohomrec
rectoproc
seriestoalgeq
seriestodiffeq
seriestohypergeom
seriestolist
seriestoratpoly
seriestorec
seriestoseries
The following is a list of available commands for differential equations and recurrences.
There are different types of generating functions that you can manipulate using the gfun package, for example, ordinary (ogf) and exponential (egf) generating functions. For more information on the predefined generating function types, see gftypes.
Given the first terms of the sequence, the gfun package also contains functions that help determine generating functions. In some cases, this answer is explicit. However, in most cases, an explicit expression does not exist, and the answer is an equation (either algebraic or differential) satisfied by the generating function.
The indexed names _C[0], _C[1],... are used by gfun to represent arbitrary constants. If such a name is given in the input, it might not be preserved during the computation.
The following is a list of commands available for numbers and series.
You can obtain information about computations by setting infolevel[gfun] to 1 through 5.
To display the help page for a particular gfun command, see Getting Help with a Command in a Package.
See Also
genfunc, gfun/Parameters, gfun[gftypes], UsingPackages, with
References
Salvy, B., and Zimmermann, P. "GFUN: A Maple Package for the Manipulation of Generating and Holonomic Functions in One Variable". ACM Transactions on Mathematical Software. Vol. 20 No. 2. (1994): 163-177.
Download Help Document