Package com.singularsys.extensions.xjep
Class XComponents
java.lang.Object
com.singularsys.jep.ComponentSet
com.singularsys.extensions.xjep.XComponents
Standard set of components for use with XJep. Uses
XVariableFactory,
XEvaluator, TreeUtils, ExpressionCleaner
DeepCopyVisitor SubstitutionVisitor,
CommandVisitor, PolynomialCreator,
EquationExtractor and RewriteVisitor.
Since Jep 4.1, extensions 2.2 most visitors implement the generic visitor interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExpressionCleanerprotected CommandVisitorprotected DeepCopyVisitorprotected EquationExtractor<?> protected PolynomialCreatorprotected RewriteVisitorprotected SubstitutionVisitorprotected TreeUtils -
Constructor Summary
ConstructorsConstructorDescriptionCreates the default set of components.XComponents(JepComponent[] components) Creates set of XComponents using those supplied in the arguments first and the defaults in none supplied. -
Method Summary
Methods inherited from class com.singularsys.jep.ComponentSet
addAuxComponent, addComponents, findOrElse, getAuxComponents, getAuxComps, getBaseComponents, getComponents, getEvaluator, getFunctionTable, getNodeFactory, getNumberFactory, getOperatorTable, getParser, getPrintVisitor, getVariableFactory, getVariableTable, setAuxComps, setEvaluator, setFunctionTable, setNodeFactory, setNumberFactory, setOperatorTable, setParser, setPrintVisitor, setVariableFactory, setVariableTable
-
Field Details
-
tu
-
copier
-
subv
-
cleaner
-
commandv
-
polyv
-
extractor
-
rewritev
-
-
Constructor Details
-
XComponents
public XComponents()Creates the default set of components. -
XComponents
Creates set of XComponents using those supplied in the arguments first and the defaults in none supplied.- Parameters:
components- array of components to use first
-