1 @c -----------------------------------------------------------------------------
3 @c License : GNU General Public License (GPL)
7 @c This file is part of Maxima -- GPL CAS based on DOE-MACSYMA
8 @c -----------------------------------------------------------------------------
11 * Functions and Variables for ggf::
14 @c -----------------------------------------------------------------------------
15 @node Functions and Variables for ggf, , ggf, ggf
16 @section Functions and Variables for ggf
18 @c -----------------------------------------------------------------------------
19 @defvr {Option variable} GGFINFINITY
22 This is an option variable for function @code{ggf}.
24 When computing the continued fraction of the
25 generating function, a partial quotient having a degree
26 (strictly) greater than @var{GGFINFINITY} will be discarded and
27 the current convergent will be considered as the exact value
28 of the generating function; most often the degree of all
29 partial quotients will be 0 or 1; if you use a greater value,
30 then you should give enough terms in order to make the
31 computation accurate enough.
37 @c @category{Package ggf}
41 @c -----------------------------------------------------------------------------
42 @defvr {Option variable} GGFCFMAX
45 This is an option variable for function @code{ggf}.
47 When computing the continued fraction of the
48 generating function, if no good result has been found (see
49 the @var{GGFINFINITY} flag) after having computed @var{GGFCFMAX} partial
50 quotients, the generating function will be considered as
51 not being a fraction of two polynomials and the function will
52 exit. Put freely a greater value for more complicated
58 @c @category{Package ggf}
62 @c -----------------------------------------------------------------------------
63 @deffn {Function} ggf (@var{l})
65 Compute the generating function (if it is a fraction of two
66 polynomials) of a sequence, its first terms being given. @var{l}
69 The solution is returned as a fraction of two polynomials.
70 If no solution has been found, it returns with @code{done}.
72 This function is controlled by global variables @var{GGFINFINITY} and
73 @var{GGFCFMAX}. See also @var{GGFINFINITY} and @var{GGFCFMAX}.
75 To use this function write first @code{load("ggf")}.
78 @c @category{Generating functions} @category{Share packages} @category{Package ggf}
82 @c --- End of file ggf.de.texi -------------------------------------------------