Algis Dziugys’ created software for free download and use

[Main Home Page] [Pagrindinis puslapis]

Lithuanian Energy Institute


Mathematical expression evaluator (parser) AD_eval_math_expression version 1.04, UNICODE compatible:

C++ parser function eval_math_expression_xyzt() evaluates a string of the mathematical expression with variables x, y, z and t (values defined separately). An example of the math expression is “log(x/y) / sin(power(-0.118,t)) + t^2”. The main function is declared as follows:

 

ME_TYPE eval_math_expression_xyzt(const char *math_expression,

ME_TYPE x, ME_TYPE y, ME_TYPE z, ME_TYPE t)

 

Where:

 

Result of the function is a value of the evaluated expression.

 

Full description of the function is in the file AD_eval_math_expression.h or here. History of versions is here.

You can freely download of source files of AD_eval_math_expression.h and AD_eval_math_expression.cpp here (version 1.04, size of AD_eval_math_expression_v_1-04_source_files.zip  is 61,446 bytes).

Executables of mathematical expression evaluator (parser) are made as examples of using the base C++ function eval_math_expression_xyzt():

·       Free download of Win32 executable EvalMath_MFC71.exe (version 1.04, size of EvalMath_MFC71_v_1-04_executable.zip is 198,123 bytes).

Snapshot of EvalMath.exe

·       Free download of Win32 console executable EvalMath_Win32Console71.exe with required *.dll (version 1.04, all required *.dll files are included, size of EvalMath_Win32Console71_v_1‑04_exectable.zip  is 849,732 bytes).

·       Free download of Win32 console executable EvalMath_Win32Console71.exe (version 1.04, *.dll files are not included, size of EvalMath_Win32Console71_v_1-04_executable_no_dll.zip  is 24,513 bytes).

In addition, you can freely download Microsoft Visual Studio projects based on mathematical expression evaluator:

·       Microsoft Visual Studio C++ 2003 MFC project file EvalMath_MFC71 (version 1.04, size of EvalMath_MFC71_v_1‑04.zip is 88,266 bytes).

·       Microsoft Visual Studio C++ 2008 MFC project file converted from EvalMath_MFC71 (version 1.04, size of EvalMath_MFC_MSVS2008_v_1‑04.zip   is 95,845 bytes).

·       Microsoft Visual Studio C++ 2003 Win32 console project file converted from EvalMath_MFC71 (version 1.04, size of EvalMath_Win32Console71_v_1‑04.zip is 48,122 bytes).

·       Microsoft Visual Studio C++ 2008 Win32 console project file converted from EvalMath_MFC71 (version 1.04, size of EvalMath_Win32Console_MSVS2008_v_1‑04.zip is 49,660 bytes).

·       Win32 console source files eval_math_expression.cpp (version 1.04, size of EvalMath_expression_console_v_1-04_source_files.zip is 64,931 bytes).

Other:

·       TLife - John Horton Conway’s game “Life” on a toroid. It is modified version of the game with 3 possible colors of cells. Space of the game is toroidal, tube or plane. Download version 2.0.

Snapshot of TLife.exe

[Top]


[Main Home Page] [Pagrindinis puslapis]

Send e-mail to dziugysmail

 (c) Algis Dziugys 2004

2010.03.17.