|
From: Emery C. <ec...@vt...> - 2005-09-27 20:53:05
|
All,
There have been significant enhancement to Oscill8's expression parser
over the last day or so. We now allow many common mathematical functions
(exp, log, etc... see list below) and arbitrary user defined functions
(for those of you using GK and BB, etc). In addition, the ODE/Expression
parser is smart enough to do each call to a user defined function ONLY
once, store the value and reuse it where possible to cut down on the
overhead.
In addition, you can now run TimeSeries from the command line using
o8core (see below for the relevant options). [Nick, this should be ready
for JigCell to use].
Enjoy,
Emery
#====================================================================
# release 1.9.29 notes (2005/09/27)
#====================================================================
Updates are:
* added some common functions to expression parser. This includes
exp, log, log10, ln, sin/cos/tan, asin/acos/atan,
sinh/cosh,tanh, abs. Use this some care... to keep speed high,
I don't check arguments to make sure they are valid (e.g,
acos(2)=#-1.IND or something ugly).
* added user definable functions to ODE spec. That is user,
can define MyFunc(x,y)=x^2+y and then use it in their ODE def.
Beware not to use valid parameters/state variables for the names
of the arguments to these functions...
* added capability to run a TimeSeries from the command line w/o
needing to write your own .o8r file. The relevant pars are
-ts:out, -ts:format, -ts:t_end, -ts:n_points, -ts:rtol,
and -ts:atol. Enjoy (you can output to xpp, o8p, columnar etc).
|