Package com.singularsys.extensions.xjep
Various symbolic utilities.
The main class
XJep
extends the Jep
class and exposes several useful symbolic methods.
Allows a pre-processing stage where symbolic operations can be performed prior to evaluation.
Also allow variables to have equations so we can set f = a x^2 + b x + c
- Since:
- Jep 3.5 / Extensions 2.0
-
Interface Summary Interface Description CommandVisitorI Interface defining the special actions performed during the preprocess stage.DirtyFunction Marker interface for functions which should never be cleaned.SymbolicLValueI Functions which can appear on the left hand side of a symbolic assignment. -
Class Summary Class Description Clean Jep functions which adds aclean(eqn)
preprocessing operator to tidy expressions.CommandVisitor Executes commands like diff and eval embedded in expression trees.DirtyRandom Version ofRandom
which implementsDirtyFunction
so theExpressionCleaner
does not remove the function.DirtyThreadSafeRandom Version ofThreadSafeRandom
which implementsDirtyFunction
so theExpressionCleaner
does not remove the function.EquationExtractor Extract equations for symbolic variables.Eval Evaluate an expression in the pre-processing stage.ExpressionCleaner Cleans up expressions, removing redundant parts.ExtractEqn Extracts the equation of a symbolic variableFieldTreeUtils The TreeUtility functions adapted to work with a Field.Preprocess Runs the preprocessors on an expression during evaluation.Subst Jep functions which adds asubstitute(eqn,sub)
preprocessing operator to perform symbolic substitution.TreeUtils A set of Utility functions for working with Jep expression trees.XAssign An assignment operator which implements the CommandVisitorI interface.XComponents Standard set of components for use with XJep.XEvaluator Evaluator which uses equations of variables.XFunctionTable Almost the same asStandardFunctionTable
except therand
functions isDirtyRandom
which implementsDirtyFunction
to prevents cleaning byExpressionCleaner
.XJep An extended version of Jep adds various routines for working with trees.XOperatorTable An operator table to use in the XJep.XVariable Variables which have their equations stored.XVariableFactory A VariableFactory which creates XVariables (which have equations).XVariableTable An extension of the VariableTable with a few new features.