LODEstruct - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Differential Equations : Slode : Slode/LODEstruct

LODEstruct

data structure to represent an ODE

 

Description

Examples

Description

• 

LODEstruct is a data structure to represent an ordinary differential equation. It is created by Slode[DEdetermine].

• 

The entries of an LODEstruct are a set of equations, representing the differential equation, and a set of function names, representing the dependent variables.

• 

The data structure has an attribute table with the following entries:

– 

L - the differential operator in diff notation

– 

rhs - the right hand side of the equation

– 

fun - the name of the dependent variable, for example y

– 

var - the name of the independent variable, for example x

– 

linear - true if L is a linear differential operator and false otherwise

– 

ord - the order of L

– 

coeffs - an Array of coefficients of L

– 

polycfs - true if all coefficients are polynomial and false otherwise

– 

d_max   - the maximum degree of polynomial coefficients

• 

If the right hand side is a formal power series in the form Bx+n=NHnPnx where Bx is a polynomial in x, P[n]x is either xan or 1xn, a is the expansion point, and Hn is an expression in n, then it is represented as a RHSstruct data structure. The entries of an RHSstruct are the right hand side and the independent variable x. In addition, the data structure has an attribute table with following entries:

– 

mvar - the name of the independent variable, x

– 

index - the name of the summation index, n

– 

point - the expansion point a, possibly

– 

M - a nonnegative integer such that series coefficients are equal Hn for all n>M; it satisfies M=maxN1,degreeBx,x

– 

initial - an Array of M initial series coefficients

– 

H - the expression Hn

– 

P_n - either xan or 1xn

Examples

withSlode:

odeⅆⅆxyxx1yx=0

ode:=ⅆⅆxyxx1yx=0

(1)

DEdetermineode,yx

LODEstructⅆⅆxyxx1yx=0,yx

(2)

attributes

tablecoeffs=Array0..1,0=1,1=x1,var=x,rhs=0,d_max=1,ord=1,linear=true,L=ⅆⅆxyxx1yx,fun=y,polycfs=true

(3)

ode1ⅆⅆxyxx1yx=x3+2n=4∞xnn3

ode1:=ⅆⅆxyxx1yx=x3+2n=4∞xnn3

(4)

DEdetermineode1,yx

LODEstructⅆⅆxyxx1yx=x3+2n=4∞xnn3,yx

(5)

attributes

tablecoeffs=Array0..1,0=1,1=x1,var=x,rhs=RHSstructx3+2n=4∞xnn3,x,d_max=1,ord=1,linear=true,L=ⅆⅆxyxx1yx,fun=y,polycfs=true

(6)

attributes'rhs'

tableM=3,initial=Array0..3,3=1,storage=sparse,index=n,H=2n3,P_n=xn,point=0,mvar=x

(7)

See Also

Slode

Slode[DEdetermine]

 


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