JbcParser - Math Expression Parser Component for JavaMath Parser Java class parses and evaluates mathematical expressions at runtime. Supports user defined variables and functions. Source code is included. | |
Download |
JbcParser - Math Expression Parser Component for Java Ranking & Summary
Advertisement
JbcParser - Math Expression Parser Component for Java Tags
- Math Parser User Defined Functions Math Formula Parser Java Runtime source code parser Java Parser math expression parser mathematical parser java runtime environment code parser embed java runtime environment Java class parser runtime code manipulation source file parser math function parser Java program parser math fuction parser parser code Java Argument Parser mathematical expression parser
JbcParser - Math Expression Parser Component for Java Description
MathParser evaluates mathematical expressions given as strings at runtime. Highlights: *Easy to use, simple class API. *Comes with predefined functions. *Users can create custom functions/variables. *Optimization: Constant expression elimination for repeated tasks. *Analytical Operators: +, -, /, *, ^(power) *Logical Operators: =(equals),&(and),|(or),!(not), (not equals), =(greater than or equals) *Paranthesis: (, {, [ *Functions in the form of: f(x, y, z, ...) *Function parameters are not calculated until needed. *List of predefined functions is available in the documentation. *Java source code is included. 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. IF logic is implemented through a predefined IF(A,B,C) function. Similar logical functions can be created as needed.
JbcParser - Math Expression Parser Component for Java Related Software