<< Symbolic Analysis Symbolic Analysis analyse_eq >>

Grocer >> Symbolic Analysis > add_derivative

add_derivative

add a derivative to the list of analytic ones

CALLING SEQUENCE

[]=add_derivative(func,deriv)

PARAMETERS

Input

* func = a string vector, containing the names of the added functions

* deriv = a string vector, containing the names of the corresponding derivatives

 

Output

* nothing: names are added to the objects grocer_listfunctions and grocer_listderivatives in database: GROCERDIR+'param\symb_listfunc.dat'

DESCRIPTION

Adds a derivative to the list of analytic ones.

EXAMPLE

function y=myfunc(x)
y=x+2*sin(x)
endfunction
 
function y=myderiv(x)
y=1+2*cos(x)
endfunction
 
 
add_derivative('myfunc','myderiv')

AUTHOR

Eric Dubois 2013

Report an issue
<< Symbolic Analysis Symbolic Analysis analyse_eq >>