|
Kylix Math Parser and Derivative
DESCRIPTION
TCioinaEval class can parses and evaluates a mathematical expression given as a string.
BASE CONCEPTS
Fast parsing speed: e.g. 9-10 faster than UCalc 2.0.
Fast calculating speed: e.g. 40 faster than TKAParser 1.02, 6-14 faster than Mathematica 4.1, 2-10 faster than
TRyFormulaEval 2.0, in general it is faster than UCalc 2.0 and in particular it is faster than Parser 10.1.
Low dynamic memory request: e.g. 2-6 lower than Mathematica 4.1.
High calculation stability
Full calculation string export to Mathematica 4.1.
MAIN FEATURES
· accept operators: + - * / ^ =
· accept user defined functions and constants
· function accept any number of parameters and varying number of parameters
· function's parameter can be string or any valid expression
· error handling with localizing points of failure
· optimized calculations (constant parts of expression are calculated)
· parsed expression can be retrieved (added parenthesis)
· expression can be differentiated
· accept the export to Mathematica 4.1 form
· can parses an expressions array
· cross-platform compilation (Windows-Linux)
· variables automatic check possibility
· built-in small help
· exception control
TESTS
I have tested CioinaEval 7.1.0.0 with a large math expression obtained from Sin(x)^Cos(x)
by differentiating 5 and 6 times respectivly.
Pentium III 750 Mh processor,128 Mb, Windows 2000 Prof SP2 :
Expres Length Parsing Time Eval Time
40234 bytes 6 seconds 0 seconds
276942 bytes 827 seconds 0 seconds
Pentium III 750 Mh processor,128 Mb, Red Hat Linux 7.3 :
Expres Length Parsing Time Eval Time
40234 bytes 11 seconds 0 seconds
276942 bytes 555 seconds 0 seconds
SUPPORT
Delphi6, Delphi7, Kylix2, Kylix3.
The latest full final version source code will be offered for sale.
Related Discussions - YOUR FAVORITE BDE ALTERNATIVE? (2001-01-13 10:44:19)I joined the company I am currently working for three years ago. MsAccess databases were managed with the BDE. Since we ship our application to...
- NEED A MATH (CALCULATOR) COMPONENT FOR DELPHI 5 (2001-01-16 12:54:57)Search for Calculator and I have written one (Douglas Tietjen) that is just a simple calculator with code. You can use that for ideas of how to...
- WHAT IS THAT NUMBER 6 (2001-01-24 11:31:03)Hi,
Kylix is a separate program that con recompile you're delphi or c++Builder program to run inder Linux.
Go here for more info on kylix:...
- TRICHEDIT CHANGES CONTENTS ON WINDOWS 2000 (2001-01-25 10:46:38)It would not be the first time Microsoft makes some modifications to the behaviour of a library. For example, everytime a new version of MDAC is...
- HOW TO DECLARE A GLOBAL VARIABLE (2001-01-26 10:11:36)in another form you can't use e.g. edit1.text:=myvariable
you must use edit1.text:=alpha.myvariable
Please e-mail me if u have any more...
- UNDECLARED IDENTIFIER (2001-01-29 10:11:43)instead of "label1.caption:=floattostr(alpha.I);", use
label1.caption:=floattostr(form1.I);
- BETTER THAN POST (2001-02-06 13:04:06)Ok, I'll post the old code I was using. This used a couple
of extra components that you might not have, TTrayIcon,
TExtPageControl, and of...
- KYLIX FOR LINUX (2001-02-16 06:37:30)I would imagine so. I think the only restriction is that you will need KDE installed as your Window Manager, and also make sure that your Kernel...
- ADO VERSES ODBC ? (2001-02-21 08:08:12)I say, without a doubt, that ADO is preferred over ODBC. ODBC add an extreemly fat and slow layer between your application and your data. ADO, on...
- HOW CAN YOU FILL A DATA BASE ASCII TEXT DATA? (2001-02-27 09:19:39)Based on the Answers you put out I don't doubt that you are fully employed. What I am offering is a way for you to gain extra income on your "off"...
|