gfun
diffeqtorec
convert a linear differential equation into a recurrence
Calling Sequence
Parameters
Description
Examples
diffeqtorec(deq, y(z), u(n))
deq
-
linear differential equation in y(z) with polynomial coefficients
y
name; function name
z
name; variable of the function y
u
name; recurrence name
n
name; index of the recurrence u
The diffeqtorec(deq, y(z), u(n)) command converts a linear differential equation, deq, into a recurrence.
Let be a power series solution of the differential equation.
If u(n) is the nth Taylor coefficient of around zero, the diffeqtorec function returns a linear recurrence for the numbers u(n), with rational coefficients in n.
The syntax is the same as that of dsolve. Combined with algeqtodiffeq, this function produces a linear recurrence for the Taylor coefficients of an algebraic function.
See Also
dsolve
dsolve/formal_series
gfun[algeqtodiffeq]
gfun[rectodiffeq]
Download Help Document