Package com.singularsys.extensions.xjep
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
-
ClassDescriptionJep functions which adds a
clean(eqn)preprocessing operator to tidy expressions.Executes commands like diff and eval embedded in expression trees.Interface defining the special actions performed during the preprocessing stage.Marker interface for functions which should never be cleaned.Version ofRandomwhich implementsDirtyFunctionso theExpressionCleanerdoes not remove the function.Version ofThreadSafeRandomwhich implementsDirtyFunctionso theExpressionCleanerdoes not remove the function.Extract equations for symbolic variables.Evaluate an expression in the pre-processing stage.Cleans up expressions, removing redundant parts.Extracts the equation of a symbolic variableThe TreeUtility functions adapted to work with a Field.Runs the preprocessors on an expression during evaluation.Jep functions which adds asubstitute(eqn,sub)preprocessing operator to perform symbolic substitution.Functions which can appear on the left-hand side of a symbolic assignment.A set of Utility functions for working with Jep expression trees.An assignment operator which implements the CommandVisitorI interface.Standard set of components for use with XJep.Evaluator which uses equations of variables.Add the following functions to the standard function table:clean(expr)- clean an expression.An extended version of Jep adds various routines for working with trees.Evaluator which uses equations of variables.An operator table to use in the XJep.Variables which have their equations stored.A VariableFactory which creates XVariables (which have equations).An extension of the VariableTable with a few new features.