Math Parser - COM Comp. v4.3 w/Source Site License


Price: $199
Buy Now
Get more info

This is a small COM component and C DLL to parse mathematical expressions.

Features are:

*Easy to use, simple class API.
*Comes with predefined functions.
*Users can create custom functions/variables.
*Optimization: Constant expression elimination for repeated tasks.
*Operators: +, -, /, *, ^
*Logical Operators: <, >, =,<>,>=,<=, &, |, ! [less, greater, equal, and, or, not] [IF(a,b,c) is also supported]
*Paranthesis: (, {, [
*Scientific notation, eg: 4.27E-3
*Functions in the form of: f(x), f(x,y), f(x,y,z), f(x1,...,xN)
*List of predefined functions is available in the documentation.
*It does not require any other DLLs.

An example of a simple expression is : LN(X)+SIN(10/2-5)

When parsed, this expression will be represented as: since the SIN(10/2-5) is in fact SIN(0) which is a constant and is 0.

Thus, in a loop, if you change the value of X and ask for the value of the expression, it will be evaluated quite fast since SIN(10/2-5) is not dependent on X.

X and Y are predefined variables. You can create your own variables as needed.

There are many predefined mathematical functions. They are listed in documentation. You can create your functions as needed.

Can optionally detect division by zero, overflow.

Read more about bcParserX Math Parser COM Component here.

Published by: Bestcode
Platform: Windows


User login

Play the new Mega Moolah Slot at an online casino and experience a thrill a minute!