addtable - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


inttrans

  

addtable

  

add entry to transform lookup table

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

addtable(tname, patt, expr, t, s, parameter, condition, additional)

Parameters

tname

-

name of transform for which patt is to be added to the lookup table

patt

-

pattern to be added to table

expr

-

transform of patt

t

-

independent variable in patt

s

-

independent variable in expr

parameter

-

(optional) list or set of parameters in patt and expr

condition

-

(optional) conditions that the parameters must satisfy

additional

-

additional argument for hankel and invmellin tables. This parameter is required for hankel and invmellin transform

Description

• 

Adds an entry to the lookup table for the integral transform <tname>. After this function is executed, any call to <tname> with argument <patt> will result in <expr> being returned.

• 

If you wish this information to be saved across sessions, a facility exists, savetable, that will save the information of a particular table to a particular file.

• 

The expression <patt> may include any number of parameters, which may also be used in the transform expression <expr>.  Conditions may be placed on the parameters, by using the <conditional> argument. The <conditional> statement must be an unevaluated operator which evaluates to type boolean.  Unevaluated operators include Range, _testeq, _signum, and _evalb.

• 

The hankel and invmellin transforms take additional arguments in the transform.  For this reason, they also take additional arguments within the <addtable>.

• 

The format for hankel is of the form hankel=mu::Range(-1,infinity), to specify that the transform can be performed only if the additional argument to hankel is within the range -1 to infinity.

• 

The format for invmellin is of the form invmellin=3..5, to specify that the transform can only be performed if the additional argument is contained within the range 3 to 5.

Examples

with(inttrans):

fourier(f(t),t,s);

ft&comma;t&comma;s

(1)

addtable(fourier,f(t),F(s),t,s);

fourier(f(x),x,z);

Fz

(2)

Functions with parameters

laplace(g(p*a+b),p,x);

(3)

addtable(
  laplace,g(x*a+b),G(s+a)/(b-a),x,s,{a,b}):

laplace(g(-p),p,x);

Gx1

(4)

laplace(g(3*p+2),p,x);

Gx+3

(5)

Functions with conditional parameters

hilbert(f(a*t),t,s);

fat&comma;t&comma;s

(6)

addtable(hilbert,f(a,t),F(s-a),t,s,{a},a::Range(3,7)):

hilbert(f(a,t),t,s);

fa&comma;t&comma;t&comma;s

(7)

assume(a>3,a<7):

hilbert(f(a,t),t,s);

Fsa~

(8)

addtable(mellin, h(a,t), F(s-a),t,s,{a},_evalb(a=Pi));

mellin(h(a,x),x,s);

ha~&comma;x&comma;x&comma;s

(9)

mellin(h(Pi,x),x,s);

Fsπ

(10)

Hankel and invmellin transform

hankel(f(t),t,s,nu);

ft&comma;t&comma;s&comma;&nu;

(11)

addtable(hankel,f(t),F(s,mu),t,s,hankel=mu::Range(-infinity,infinity)):

hankel(f(t),t,s,nu);

Fs&comma;ν

(12)

addtable(hankel,g(t*a),G(s-a,mu),t,s,{a},hankel=mu::Range(-3,3)):

hankel(g(2*t),t,s,nu);

g2t&comma;t&comma;s&comma;&nu;

(13)

assume(1<nu,nu<2):

hankel(g(2*t),t,s,nu);

Gs2&comma;&nu;~

(14)

invmellin(f(t),t,s,1..2);

invmellinft&comma;t&comma;s&comma;1..2

(15)

addtable(invmellin,f(t*a),F(t-a),t,s,{a},a::Range(-3,3),invmellin=0..3):

invmellin(f(t),t,s,1..2);

Ft1

(16)

See Also

insertpattern

inttrans

inttrans[savetable]

patmatch