create an RESol from a recurrence equation - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : LREtools : LREtools/REcreate

LREtools[REcreate] - create an RESol from a recurrence equation

Calling Sequence

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 first argument should be a single recurrence relation or a set of recurrence relations.  Any expressions in eqns which are not equations will be understood to be equal to zero.

• 

The second argument fcns indicates the functions from eqns over which they are considered to be recurrences.  The names must always be entered in the form function(var).

• 

The third argument inits is a set of initial conditions on the functions fcns.

• 

The result of an REcreate call is an RESol data-structure, which is much easier to handle than a raw recurrence equation.

• 

In the rest of this package, a problem is synonymous with either valid input for REcreate or a valid RESol data structure.

Examples

LREtools[REcreate]18+12ntn+207ntn+1+4+ntn+2,tn,t0=0,t1=2

RESol18+12ntn+207ntn+1+4+ntn+2=0,tn,t0=0,t1=2,INFO

(1)

rec:=an+22n+1an+1n+nann1=nn+1:

LREtools[REcreate]rec,an,

RESoln2an+2n2+n+1an+1+n2nan+2=n2n1n+1,an,a1=0,a2=a2,a3=a3,INFO

(2)

See Also

RESol, 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