Jep Extensions are a set of add-ons for the Jep mathematical expression parser. They include
Structured programming | Allows block style programming, such as for , while and do loops,
as well as java-style if-else blocks.
|
Fast Evaluation | Allows very fast evaluation for double precision, typically 4-5 times faster. |
Mathml | Conversion to/from presentation MathML |
Simplification | removes redundant parts of expression like adding zero or multiplying by 1. |
Polynomial | Conversion to polynomials. Can be used to compare two polynomials. |
Matrices | Allows vectors and matrices to be used. Includes a range of vector and matrix functions like determinant and dot product. |
Statistical | A range of statistical functions |
Differentiation | Symbolic differentiation of expressions |
Fields | Allow calculations over specific fields such as the rationals. |
The Extensions Console a command line applet showing the use of different fields, symbolic operations, matrix calculation and statistical functions.
The Implicit plotter applet shows the speed up with using the
Fast Evaluation jep
extension. This shows a 10 fold speed up over standard Jep.
It can evaluating (x^2+y^2)^3-4 x^2 y^2
for 250K points
in 0.064 seconds, i.e. 220 nano-seconds per evaluation.
Algebraic surface an advanced example which calculates
solutions of equations of the form x^2+y^2-z^2=0
giving
surfaces in three dimensions.