USING ASCII TEXT FILES IN POST-FIX NOTATION (REVERSE POLISH) TO DEFINE MATHEMATICAL-MODELS AND SYSTEMS OF DIFFERENTIAL-EQUATIONS FOR SIMULATION AND NONLINEAR-REGRESSION

Citation
Wg. Bardsley et N. Prasad, USING ASCII TEXT FILES IN POST-FIX NOTATION (REVERSE POLISH) TO DEFINE MATHEMATICAL-MODELS AND SYSTEMS OF DIFFERENTIAL-EQUATIONS FOR SIMULATION AND NONLINEAR-REGRESSION, Computers & chemistry, 21(2), 1997, pp. 71-82
Citations number
9
Categorie Soggetti
Computer Application, Chemistry & Engineering",Chemistry,"Computer Science Interdisciplinary Applications
Journal title
ISSN journal
00978485
Volume
21
Issue
2
Year of publication
1997
Pages
71 - 82
Database
ISI
SICI code
0097-8485(1997)21:2<71:UATFIP>2.0.ZU;2-D
Abstract
We discuss current methods for supplying equations in ASCII text form to executables for simulation or fitting, then we define a technique u sing stack notation that has many advantages over traditional approach es to this problem. Simulations are described to compare the cpu time consumed for function evaluation when the models are supplied as objec t code in dynamic-link libraries, and when they are supplied as ASCII text files in post-fix notation, otherwise known as last-in-first-out or reverse Polish. It is concluded that this new method is extremely c onvenient; it can be easily extended to include loops for numerical in tegration, special function evaluation or root finding; it can be opti mized by the user for execution speed; and the cpu overhead when the m odels are involved in regression are minimal. Copyright (C) 1996 Elsev ier Science Ltd