public class RealComponents extends ComponentSet
sqrt(-1)
will return NaN rather than a complex number.
Function asin(2), acos(2), acosh(0.5), atanh(2), ln(-1), log(-1), lg(-1)
also returns NaN. Furthermore, the constant i
is not defined.
This set of components does not use the RealEvaluator
so it is still
possible to mix doubles and strings.RealVariableTable
,
RealFunctionTable
Constructor and Description |
---|
RealComponents() |
RealComponents(Jep j)
Build a set of components using those from the jep instance and standard components if the jep components are null.
|
Modifier and Type | Method and Description |
---|---|
static Evaluator |
createDefaultEvaluator() |
static FunctionTable |
createDefaultFunctionTable() |
static NodeFactory |
createDefaultNodeFactory() |
static NumberFactory |
createDefaultNumberFactory() |
static OperatorTableI |
createDefaultOperatorTable() |
static Parser |
createDefaultParser() |
static PrintVisitor |
createDefaultPrintVisitor() |
static VariableFactory |
createDefaultVariableFactory() |
static VariableTable |
createDefaultVariableTable(VariableFactory vf) |
addAuxComponent, addComponents, getAuxComponents, getAuxComps, getBaseComponents, getComponents, getEvaluator, getFunctionTable, getNodeFactory, getNumberFactory, getOperatorTable, getParser, getPrintVisitor, getVariableFactory, getVariableTable, setAuxComps, setEvaluator, setFunctionTable, setNodeFactory, setNumberFactory, setOperatorTable, setParser, setPrintVisitor, setVariableFactory, setVariableTable
public RealComponents()
public RealComponents(Jep j)
j
- public static NumberFactory createDefaultNumberFactory()
public static VariableFactory createDefaultVariableFactory()
public static NodeFactory createDefaultNodeFactory()
public static FunctionTable createDefaultFunctionTable()
public static VariableTable createDefaultVariableTable(VariableFactory vf)
public static OperatorTableI createDefaultOperatorTable()
public static Parser createDefaultParser()
public static Evaluator createDefaultEvaluator()
public static PrintVisitor createDefaultPrintVisitor()
Copyright © 2018 Singular Systems http://www.singularsys.com/jep