RESol - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : LREtools : RESol

RESol

data structure to represent the solution of a recurrence equation

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RESol(eqns, fcns, inits)

LREtools[REcreate](eqns, fcns, inits)

Parameters

eqns

-

single equation or a set of equations

fcns

-

function name or set of function names

inits

-

set of initial conditions

Description

• 

The RESol command calls LREtools[REcreate] to build the RESol data structure.

• 

This data structure represents the solution of a recurrence equation.  It is to rsolve and LREtools as DESol is to dsolve and DEtools.

• 

The parameters of an RESol are a set of normalized equations, a set of function names and a set of initial conditions.

• 

On output, an information table, INFO is added.  The entries in this table are:

type

-

the strings 'linear' or 'nonlinear'

functions

-

a name or set of names of the recurrence function(s)

vars

-

a name or set of names of the recurrence variable(s)

order

-

the order of the equation

shifteqn

-

an equation in &Shift[vars](functions) which represents the shift operator associated to the linear recurrence equation

coeffs

-

a list of the rhs of the equation and the coefficients of the shifteqn

• 

Note that the first three items are always present, and the next three are there only if the recurrence is linear.

Examples

RESolan+1an=n,an,

RESolan+1an=n,an,a0=a0,INFO

(1)

reLREtools[REcreate]an+2n2an+1+n17an=sinn,an,a0=0

re:=RESolan+2n2an+1+n17an=sinn,an,a0=0,a1=a1,INFO

(2)

printop4,re

tablenonvars=,max_shift=2,vars=n,polycoeffs=false,order=2,type=constcoeffs,coeffs=sinn,n17,n2,1,linear=true,functions=a,min_shift=0,rhs=sinn,shifteqn=&Shiftna2n2&Shiftna+n17

(3)

re2LREtools[REcreate]an+22an=0,an,

re2:=RESolan+22an=0,an,,INFO

(4)

printop4,re2

tablenonvars=,max_shift=2,vars=n,order=2,linear=false,functions=a,min_shift=0

(5)

See Also

DESol

DEtools

dsolve

LREtools

LREtools[REcreate]

rsolve

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam