Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abs() - Method in class com.singularsys.jep.standard.Complex
-
Returns the absolute value of the complex number.
- abs(Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecAbs
- abs(Object) - Method in class com.singularsys.jep.functions.Abs
- Abs - Class in com.singularsys.jep.functions
-
Absolute value function.
- Abs() - Constructor for class com.singularsys.jep.functions.Abs
- Abs() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- abs2() - Method in class com.singularsys.jep.standard.Complex
-
Returns the square of the absolute value (re*re+im*im).
- AbstractInc - Class in com.singularsys.jep.misc.javaops
-
Base class for pre and post increment operators.
- AbstractInc() - Constructor for class com.singularsys.jep.misc.javaops.AbstractInc
- acos() - Method in class com.singularsys.jep.standard.Complex
-
Returns the arccos of this complex number.
- acos() - Method in class com.singularsys.jep.standard.ImmutableComplex
- acos(Object) - Method in class com.singularsys.jep.functions.ArcCosine
- acosh() - Method in class com.singularsys.jep.standard.Complex
-
Returns the inverse hyperbolic cosine of this complex number.
- acosh() - Method in class com.singularsys.jep.standard.ImmutableComplex
- acosh(Object) - Method in class com.singularsys.jep.functions.ArcCosineH
- add - Variable in class com.singularsys.jep.functions.Average
-
Function used to add pairs of elements
- add - Variable in class com.singularsys.jep.functions.Dot
- add - Variable in class com.singularsys.jep.functions.VSum
- add(SymbolToken) - Method in class com.singularsys.jep.configurableparser.matchers.SymbolTokenMatcher
-
Adds a new SymbolToken to be matched.
- add(Operator) - Method in class com.singularsys.jep.walkers.ExpressionConsolidator
-
Adds an addition operator to be consolidated.
- add(Complex) - Method in class com.singularsys.jep.standard.Complex
-
Adds the complex number with another complex value.
- add(Complex) - Method in class com.singularsys.jep.standard.ImmutableComplex
- add(Complex, Complex) - Static method in class com.singularsys.jep.functions.Add
- add(Complex, Number) - Static method in class com.singularsys.jep.functions.Add
- add(Number, Number) - Static method in class com.singularsys.jep.functions.Add
- add(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecAdd
- add(Object, Object) - Method in class com.singularsys.jep.functions.Add
-
Adds two numbers together.
- add(Vector<?>, Vector<?>) - Method in class com.singularsys.jep.functions.Add
- Add - Class in com.singularsys.jep.functions
-
Addition function.
- Add() - Constructor for class com.singularsys.jep.functions.Add
- ADD - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- addAltSymbol(String) - Method in class com.singularsys.jep.Operator
-
Adds an alternate symbol which can be used at parse time.
- addArrayAccessMatcher(String, String) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Matches array access: a[3]
- addAuxComponent(JepComponent) - Method in class com.singularsys.jep.ComponentSet
- addBitOperators(String, String) - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- addBracketMatcher(String, String) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Matches bracketed expressions: (2+3).
- addComponents(JepComponent[]) - Method in class com.singularsys.jep.ComponentSet
- addConfig(SpeedTest.EvaluationConfig) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest
-
Adds a new EvaluationConfig to be run for comparison.
- addConfig(SpeedTestComplex.EvaluationConfig) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
-
Adds a new EvaluationConfig to be run for comparison.
- addConstant(String, Object) - Method in class com.singularsys.jep.Jep
-
Add a constant: a variable whose value cannot be changed.
- addConstant(String, Object) - Method in class com.singularsys.jep.VariableTable
-
Adds a new variable which is marked as a constant.
- addConstants(VariableFactory) - Method in class com.singularsys.jep.standard.StandardVariableTable
-
Adds the constants and sets the variable factory
- addDefaultComponents() - Method in class com.singularsys.jep.Jep
-
Set the default values for components if none are specified.
- addDoubleQuoteStrings() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize double quote strings "...".
- addEscapes(String) - Static method in exception class com.singularsys.jep.parser.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
- addExponentNumbers() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize numbers with optional exponents, 1.2e3, 1.2E-3, 1.2, 1.
- AddFractionsNary() - Constructor for class com.singularsys.jeptests.system.JepTest.AddFractionsNary
- AddFractionsStack() - Constructor for class com.singularsys.jeptests.system.JepTest.AddFractionsStack
- addFun - Static variable in class com.singularsys.jep.functions.Sum
-
Function used to add pairs of items.
- addFunction(String, PostfixMathCommandI) - Method in class com.singularsys.jep.FunctionTable
- addFunction(String, PostfixMathCommandI) - Method in class com.singularsys.jep.Jep
-
Adds a function to the parser.
- addFunction(String, PostfixMathCommandI) - Method in class com.singularsys.jep.misc.CaseInsensitiveFunctionTable
- addFunction(String, PostfixMathCommandI) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionTable
- addFunctionMatcher(String, String, String) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Matches functions: atan2(y,x).
- addGrammarMatcher(GrammarMatcher) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Adds a GrammarMatcher
- addHashComments() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize comments of the form #....
- addIdentifiers() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Adds java-style function and variable names.
- additionalComponents - Variable in class com.singularsys.jep.Jep
-
Additional components outside the standard set
- addJavaOps() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- addListMatcher(String, String, String) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Matches vectors/list: [1,2,3]
- addListOrBracketMatcher(String, String, String) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Matches bracketed expressions or lists depending on number of arguments.
- addOperator(int, Operator) - Method in class com.singularsys.jep.OperatorTable
-
Add an operator with a given key.
- addOperator(int, Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
-
Add operator with the same precedence level as an existing operator.
- addOperator(EmptyOperatorTable.OperatorKey, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Add an operator with a given key.
- addOperator(EmptyOperatorTable.OperatorKey, Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Add operator with the same precedence level as an existing operator.
- addOperator(Operator) - Method in class com.singularsys.jep.OperatorTable
-
Add an operator with no key specified.
- addOperator(Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Add operator with the same precedence level as an existing operator.
- addOperator(Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
-
Add operator with the same precedence level as an existing operator.
- addOperatorTokenMatcher() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize operators.
- addSemiColonTerminator() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Adds a matcher which will terminate the parsing process when a semicolon is encountered.
- addSimpleNumbers() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize numbers without exponents 1.2.
- addSingleQuoteStrings() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize single quote strings '...'.
- addSlashComments() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize comments of the form //... or /* ... */.
- addSpecialRule(Operator, PrintVisitor.PrintRulesI) - Method in class com.singularsys.jep.PrintVisitor
-
Adds a special print rule to be added for a given operator.
- addSpecialRule(String, PrintVisitor.PrintRulesI) - Method in class com.singularsys.jep.PrintVisitor
-
Adds a special print rule to be added for a given function.
- addSpecialVarName(String, String) - Method in class com.singularsys.jep.PrintVisitor
-
Allows a replacement for a specific variable name
- addStandardConstants() - Method in class com.singularsys.jep.Jep
-
Adds the constants pi and e to the parser.
- addSymbols(String...) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize given set of symbols.
- addToArray(List<Object>, Object) - Method in class com.singularsys.jep.functions.ArrayFunctionBase
-
Adds a value
val
to the arrayl
. - addTokenFilter(TokenFilter) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Adds a TokenFilter.
- addTokenMatcher(TokenMatcher) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Adds a TokenMatcher.
- addVariable(String) - Method in class com.singularsys.jep.Jep
-
Adds a variable with a given name.
- addVariable(String) - Method in class com.singularsys.jep.misc.CaseInsensitiveVariableTable
-
Adds a new variable with no value specified.
- addVariable(String) - Method in class com.singularsys.jep.VariableTable
-
Adds a new variable with no value specified.
- addVariable(String, double) - Method in class com.singularsys.jep.Jep
-
Adds or sets a double variable with a given name and value.
- addVariable(String, double, double) - Method in class com.singularsys.jep.Jep
-
Adds or sets a complex variable with a given name and value.
- addVariable(String, Object) - Method in class com.singularsys.jep.Jep
-
Adds or sets a variable with a given name and value.
- addVariable(String, Object) - Method in class com.singularsys.jep.misc.CaseInsensitiveVariableTable
-
Adds a new variable with specified value.
- addVariable(String, Object) - Method in class com.singularsys.jep.VariableTable
-
Adds a new variable with specified value.
- addWhiteSpace() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Recognize java white space characters.
- addWhiteSpaceCommentFilter() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Filter out whitespace and comments between the tokenizing and grammar matching stages.
- allowAssignment - Variable in class com.singularsys.jep.Jep
-
Allow Assignment option
- allowNumbers - Variable in class com.singularsys.jep.functions.LazyLogical
- allowNumbers - Variable in class com.singularsys.jep.functions.Logical
- allowNumbers - Variable in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedLazyLogical
- allowUndeclared - Variable in class com.singularsys.jep.Jep
-
Allow Undeclared Variables option
- alphabeticOpsTest() - Method in class com.singularsys.jeptests.unit.TokenizerTest
-
Tests operators with alphabet characters, such as the "OR" operator
- ALTERED - Enum constant in enum com.singularsys.jepexamples.consoles.Console.SPEC_ACTION
-
The command has been altered.
- analyze(Node) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
Analyze a node, results will be added to the current total.
- AND - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- AND - Static variable in class com.singularsys.jep.functions.LazyLogical
- AND - Static variable in class com.singularsys.jep.functions.Logical
- AND - Static variable in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedLazyLogical
- AND - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- andCustomOperatorWorks() - Method in class com.singularsys.jeptests.system.BugsTest
- ANDEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- append(Node, PrintVisitor) - Method in class com.singularsys.jep.configurableparser.TernaryOperator
- append(Node, PrintVisitor) - Method in interface com.singularsys.jep.PrintVisitor.PrintRulesI
-
The method called to append data for the rule.
- append(Node, PrintVisitor) - Method in class com.singularsys.jep.PrintVisitor.StdElePrintRule
- append(Node, PrintVisitor) - Method in class com.singularsys.jep.PrintVisitor.StdListPrintRule
- append(String) - Method in class com.singularsys.jep.configurableparser.tokens.MultiLineToken
- append(String) - Method in class com.singularsys.jep.PrintVisitor
-
Add a string to buffer.
- appendOperator(int, Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
-
Add an operator which a new precedence level which is higher than the existing op
- appendOperator(EmptyOperatorTable.OperatorKey, Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Add an operator with a new precedence level which is lower than the existing op.
- appendOperator(Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Add an operator with a new precedence level which is lower than the existing op.
- appendOperator(Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
-
Add an operator which a new precedence level which is higher than the existing op
- ArcCosine - Class in com.singularsys.jep.functions
-
The acos function.
- ArcCosine() - Constructor for class com.singularsys.jep.functions.ArcCosine
-
Standard constructor.
- ArcCosine(boolean) - Constructor for class com.singularsys.jep.functions.ArcCosine
-
Controls the behaviour for out of range real arguments
- ArcCosineH - Class in com.singularsys.jep.functions
-
Implements the arcCosH function.
- ArcCosineH() - Constructor for class com.singularsys.jep.functions.ArcCosineH
-
Standard constructor, Complex results for |x| < 1.
- ArcCosineH(boolean) - Constructor for class com.singularsys.jep.functions.ArcCosineH
-
If strict is true then returns NaN for |x| < 1.
- ArcSine - Class in com.singularsys.jep.functions
- ArcSine() - Constructor for class com.singularsys.jep.functions.ArcSine
-
Standard constructor.
- ArcSine(boolean) - Constructor for class com.singularsys.jep.functions.ArcSine
-
Controls the behaviour for out of range real arguments
- ArcSineH - Class in com.singularsys.jep.functions
-
Implements the arcSinH function.
- ArcSineH() - Constructor for class com.singularsys.jep.functions.ArcSineH
- ArcTangent - Class in com.singularsys.jep.functions
- ArcTangent() - Constructor for class com.singularsys.jep.functions.ArcTangent
- ArcTangent2 - Class in com.singularsys.jep.functions
-
atan2(y, x) Returns the angle whose tangent is y/x.
- ArcTangent2() - Constructor for class com.singularsys.jep.functions.ArcTangent2
- ArcTanH - Class in com.singularsys.jep.functions
-
Implements the arcTanH function.
- ArcTanH() - Constructor for class com.singularsys.jep.functions.ArcTanH
-
Standard constructor.
- ArcTanH(boolean) - Constructor for class com.singularsys.jep.functions.ArcTanH
-
Controls the behaviour for out of range real arguments
- arg() - Method in class com.singularsys.jep.standard.Complex
-
Returns the argument of this complex number (Math.atan2(re,im))
- Arg - Class in com.singularsys.jep.functions
-
Argument of a complex number
- Arg() - Constructor for class com.singularsys.jep.functions.Arg
- ArrayAccessGrammarMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Matches syntax for array element access a[3].
- ArrayAccessGrammarMatcher(SymbolToken, SymbolToken) - Constructor for class com.singularsys.jep.configurableparser.matchers.ArrayAccessGrammarMatcher
-
Construct a matcher for array access.
- ArrayFunctionBase - Class in com.singularsys.jep.functions
-
Base class for functions that operate on arrays such as Average, MinMax, and VSum.
- ArrayFunctionBase() - Constructor for class com.singularsys.jep.functions.ArrayFunctionBase
-
Default the number of parameters to any number of params (-1).
- ArrayFunctionBase.ZeroLengthErrorBehaviour - Enum in com.singularsys.jep.functions
-
How to respond to a zero length array as argument
- asArray(Stack<Object>) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Pop the arguments off the stack and put them in an array
- asBool(int, Object, boolean) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Attempt to convert argument to a boolean
- asDouble(int, Object) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Converts an argument to a double, with error checking, floating point values will be rounded.
- asin() - Method in class com.singularsys.jep.standard.Complex
-
Returns the arcsin of this complex number.
- asin() - Method in class com.singularsys.jep.standard.ImmutableComplex
- asin(Object) - Method in class com.singularsys.jep.functions.ArcSine
- asinh() - Method in class com.singularsys.jep.standard.Complex
-
Returns the inverse hyperbolic sine of this complex number.
- asinh() - Method in class com.singularsys.jep.standard.ImmutableComplex
- asinh(Object) - Method in class com.singularsys.jep.functions.ArcSineH
- asInt(int, Object) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Converts an argument to an int, floating point values will be rounded.
- asLong(int, Object) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Converts an argument to a long, with error checking, floating point values will be rounded.
- assertEqNodes(String, Node, Node) - Method in class com.singularsys.jeptests.system.JepTest
- assign - Variable in class com.singularsys.jep.walkers.SubstitutionVisitor
- Assign - Class in com.singularsys.jep.functions
-
An assignment operator so we can do
x=3+4
. - Assign() - Constructor for class com.singularsys.jep.functions.Assign
- ASSIGN - Enum constant in enum com.singularsys.jep.OperatorTable2.SpecialOperators
-
Assignment x=5
- ASSIGN - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- ASSOCIATIVE - Static variable in class com.singularsys.jep.Operator
-
Associative operators x*(y*z) == (x*y)*z .
- asStrictInt(int, Object) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Converts an argument to an int, floating point values must represent integers.
- asString(int, Object) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Converts an argument to a string, with error checking.
- ASTConstant - Class in com.singularsys.jep.parser
-
A Constant Node.
- ASTConstant(int) - Constructor for class com.singularsys.jep.parser.ASTConstant
- ASTFunNode - Class in com.singularsys.jep.parser
-
Function Node
- ASTFunNode(int) - Constructor for class com.singularsys.jep.parser.ASTFunNode
-
Creates a new ASTFunNode
- ASTOpNode - Class in com.singularsys.jep.parser
-
Function Node
- ASTOpNode(int) - Constructor for class com.singularsys.jep.parser.ASTOpNode
-
Creates a new ASTFunNode
- ASTStart - Class in com.singularsys.jep.parser
-
Start Node
- ASTStart(int) - Constructor for class com.singularsys.jep.parser.ASTStart
- ASTVarNode - Class in com.singularsys.jep.parser
-
Variable Node
- ASTVarNode(int) - Constructor for class com.singularsys.jep.parser.ASTVarNode
- atan() - Method in class com.singularsys.jep.standard.Complex
-
Returns the arc tangent of this complex number.
- atan() - Method in class com.singularsys.jep.standard.ImmutableComplex
- atan(Object) - Method in class com.singularsys.jep.functions.ArcTangent
- atanh() - Method in class com.singularsys.jep.standard.Complex
-
Returns the inverse hyperbolic tangent of this complex number.
- atanh() - Method in class com.singularsys.jep.standard.ImmutableComplex
- atanh(Object) - Method in class com.singularsys.jep.functions.ArcTanH
- auxComps - Variable in class com.singularsys.jep.ComponentSet
- average(List<Object>) - Method in class com.singularsys.jep.functions.Average
-
Returns the average of a set of values.
- Average - Class in com.singularsys.jep.functions
-
Average function class, calculates the average of all its arguments.
- Average() - Constructor for class com.singularsys.jep.functions.Average
- Average(Add, Divide) - Constructor for class com.singularsys.jep.functions.Average
- Avg() - Method in class com.singularsys.jeptests.system.BigDecimalTest
B
- baseNumOps - Static variable in class com.singularsys.jep.OperatorTable
-
Number operators in this table.
- basicIdentifierMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.IdentifierTokenMatcher
-
Matches identifiers which start with a letter or underscore and are followed by 0 or more letters digits or underscores.
- BDConfig(String, MathContext) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.BDConfig
- before() - Method in class com.singularsys.jeptests.unit.PrintVisitorTest
- beginColumn - Variable in class com.singularsys.jep.parser.Token
-
The column number of the first character of this Token.
- beginLine - Variable in class com.singularsys.jep.parser.Token
-
The line number of the first character of this Token.
- BigDecAbs - Class in com.singularsys.jep.bigdecimal.functions
-
Absolute value function for BigDecimals, Double and other Number types.
- BigDecAbs() - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecAbs
- BigDecAdd - Class in com.singularsys.jep.bigdecimal.functions
-
Function class for the addition operator.
- BigDecAdd(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecAdd
-
Constructor.
- BigDecAddTest - Class in com.singularsys.jeptests.unit.bigdecimal.functions
- BigDecAddTest() - Constructor for class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
- BigDecComponents - Class in com.singularsys.jep.bigdecimal
-
A set of components for working with big decimal numbers.
- BigDecComponents() - Constructor for class com.singularsys.jep.bigdecimal.BigDecComponents
-
Constructs the class using the
MathContext.UNLIMITED
for unlimited precision arithmetic. - BigDecComponents(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.BigDecComponents
-
Constructs the class with the specific math context.
- BigDecComponents(MathContext, boolean) - Constructor for class com.singularsys.jep.bigdecimal.BigDecComponents
- BigDecDiv - Class in com.singularsys.jep.bigdecimal.functions
- BigDecDiv(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecDiv
- BigDecFunctionTable - Class in com.singularsys.jep.bigdecimal
-
A function table for BigDecimals.
- BigDecFunctionTable(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.BigDecFunctionTable
- BigDecFunctionTable(MathContext, Map<String, PostfixMathCommandI>) - Constructor for class com.singularsys.jep.bigdecimal.BigDecFunctionTable
- bigdecimal_functions_BigDecPow_NonIntegerPower() - Method in interface com.singularsys.jep.GWTJepMessages
- BigDecimalConsole - Class in com.singularsys.jepexamples.consoles
- BigDecimalConsole() - Constructor for class com.singularsys.jepexamples.consoles.BigDecimalConsole
- BigDecimalTest - Class in com.singularsys.jeptests.system
-
Tests the BigDecComponents through a set of test expressions that are evaluated.
- BigDecimalTest() - Constructor for class com.singularsys.jeptests.system.BigDecimalTest
- BigDecMod - Class in com.singularsys.jep.bigdecimal.functions
- BigDecMod(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecMod
- BigDecMul - Class in com.singularsys.jep.bigdecimal.functions
- BigDecMul(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecMul
- BigDecNegate - Class in com.singularsys.jep.bigdecimal.functions
- BigDecNegate(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecNegate
- BigDecNumberFactory - Class in com.singularsys.jep.bigdecimal
- BigDecNumberFactory(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- BigDecOperatorTable - Class in com.singularsys.jep.bigdecimal
-
A set of operators for using BigDecimal numbers
- BigDecOperatorTable(OperatorTable2, MathContext) - Constructor for class com.singularsys.jep.bigdecimal.BigDecOperatorTable
- BigDecOperatorTable(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.BigDecOperatorTable
- BigDecOperatorTable(MathContext, boolean) - Constructor for class com.singularsys.jep.bigdecimal.BigDecOperatorTable
-
Create an operator table specifying the math context and whether string operations can be used
- BigDecOperatorTable(MathContext, Map<EmptyOperatorTable.OperatorKey, Operator>) - Constructor for class com.singularsys.jep.bigdecimal.BigDecOperatorTable
- BigDecPow - Class in com.singularsys.jep.bigdecimal.functions
- BigDecPow(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecPow
- BigDecRelational - Class in com.singularsys.jep.bigdecimal.functions
-
Implements the relational operations <, >, <=, >=, != and ==.
- BigDecRelational(int) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecRelational
-
Constructor.
- BigDecRelationalTest - Class in com.singularsys.jeptests.unit.bigdecimal.functions
- BigDecRelationalTest() - Constructor for class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- BigDecRound - Class in com.singularsys.jep.bigdecimal.functions
-
Rounding functions for BigDecimals.
- BigDecRound() - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecRound
-
Constructor with a rounding mode matching the behavior or Math.round, that is it equivalent to Math.floor(a + 0.5d).
- BigDecRound(RoundingMode) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecRound
-
Constructor with a specified rounding mode.
- BigDecRoundSigFig - Class in com.singularsys.jep.bigdecimal.functions
-
Rounding functions to round to a specific number of significant figures.
- BigDecRoundSigFig(RoundingMode) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecRoundSigFig
-
Constructor with a specified rounding mode.
- BigDecSignum - Class in com.singularsys.jep.bigdecimal.functions
-
The signum function for BigDecimals.
- BigDecSignum() - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecSignum
- BigDecSub - Class in com.singularsys.jep.bigdecimal.functions
- BigDecSub(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecSub
- BigDecTieBreakComparative - Class in com.singularsys.jep.bigdecimal.functions
-
A version of the comparative operator which breaks ties between two BigDecimal numbers representing the same value with different precisions, here for the LT operation 2.0 < 2.00 and for the GT operation 2.00 > 2.0.
- BigDecTieBreakComparative(int) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecTieBreakComparative
-
Constructor
- bigDecValue(String, int) - Method in class com.singularsys.jep.misc.functions.RoundSF
- BINARY - Static variable in class com.singularsys.jep.Operator
-
Binary operators, such as x+y, x>y
- BinaryFunction - Class in com.singularsys.jep.functions
-
Convenient base class for binary functions.
- BinaryFunction() - Constructor for class com.singularsys.jep.functions.BinaryFunction
- binom(int, int) - Static method in class com.singularsys.jep.functions.Binomial
-
Returns the binomial coefficients.
- Binomial - Class in com.singularsys.jep.functions
-
Binomial coefficients: binom(n,i).
- Binomial() - Constructor for class com.singularsys.jep.functions.Binomial
- BitAnd - Class in com.singularsys.jep.misc.bitwise
-
Bitwise And, like the java
a & b
operator. - BitAnd() - Constructor for class com.singularsys.jep.misc.bitwise.BitAnd
- BITAND - Enum constant in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
- BitComp - Class in com.singularsys.jep.misc.bitwise
-
Unary bitwise complement, like the java ~a operator.
- BitComp() - Constructor for class com.singularsys.jep.misc.bitwise.BitComp
- BITCOMP - Enum constant in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
- BitOr - Class in com.singularsys.jep.misc.bitwise
-
Bitwise Or, like the java a | b operator.
- BitOr() - Constructor for class com.singularsys.jep.misc.bitwise.BitOr
- BITOR - Enum constant in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
- BitwiseOperatorTable - Class in com.singularsys.jep.misc.bitwise
-
An operator table with a selection of bitwise operators.
- BitwiseOperatorTable(OperatorTable2, String, String) - Constructor for class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
-
A decorator constructor.
- BitwiseOperatorTable(String, String) - Constructor for class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
-
Standard constructor.
- BitwiseOperatorTable(Map<EmptyOperatorTable.OperatorKey, Operator>) - Constructor for class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- BitwiseOperatorTable.BitwiseOperators - Enum in com.singularsys.jep.misc.bitwise
- BitXor - Class in com.singularsys.jep.misc.bitwise
-
Bitwise Xor, like the java a ^ b operator.
- BitXor() - Constructor for class com.singularsys.jep.misc.bitwise.BitXor
- BITXOR - Enum constant in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
- br - Variable in class com.singularsys.jep.configurableparser.Tokenizer
- BracketedSequenceGrammarMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A GrammarMatcher which matches lists of items with the syntax or a simple list
[1,2,3,4]
. - BracketedSequenceGrammarMatcher(Token, Token, Operator) - Constructor for class com.singularsys.jep.configurableparser.matchers.BracketedSequenceGrammarMatcher
-
Constructor.
- BREAK - Enum constant in enum com.singularsys.jepexamples.consoles.Console.SPEC_ACTION
-
Stop processing.
- BufferedReader - Class in com.singularsys.compatibility
-
Minimal implementation of the
java.io.BufferedReader
. - BufferedReader(Reader) - Constructor for class com.singularsys.compatibility.BufferedReader
- bug61_sum_a_b_c_over_d_parses() - Method in class com.singularsys.jeptests.system.BugsTest
-
Bug with parsing (a+b+c)/d.
- BugsTest - Class in com.singularsys.jeptests.system
-
This class is intended to contain all tests related to reported bugs.
- BugsTest() - Constructor for class com.singularsys.jeptests.system.BugsTest
- BugsTest.StackMessingFunc - Class in com.singularsys.jeptests.system
-
A function which can incorrectly read the stack.
- buildBinaryOpNode(Operator, Node, Node) - Static method in class com.singularsys.client.GWTExpose
- buildConstantNode(Operator, Node...) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildConstantNode(Operator, Node...) - Method in class com.singularsys.jep.NodeFactory
-
Creates a ASTConstant whose value of applying the operator to its arguments.
- buildConstantNode(ASTConstant) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildConstantNode(ASTConstant) - Method in class com.singularsys.jep.NodeFactory
-
Create an ASTConstant with same value as argument.
- buildConstantNode(PostfixMathCommandI, Node...) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildConstantNode(PostfixMathCommandI, Node...) - Method in class com.singularsys.jep.NodeFactory
-
Creates a constant node whose result is the given function applied to the children.
- buildConstantNode(Object) - Static method in class com.singularsys.client.GWTExpose
- buildConstantNode(Object) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildConstantNode(Object) - Method in class com.singularsys.jep.NodeFactory
-
Creates an ASTConstant node with specified value.
- buildFunctionNode(ASTFunNode, Node...) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildFunctionNode(ASTFunNode, Node...) - Method in class com.singularsys.jep.NodeFactory
-
Builds a function with n arguments and same fun as specified in arguments.
- buildFunctionNode(String, PostfixMathCommandI, Node...) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildFunctionNode(String, PostfixMathCommandI, Node...) - Method in class com.singularsys.jep.NodeFactory
-
Builds a function with n arguments.
- buildList(Node, List<Node>) - Method in class com.singularsys.jep.configurableparser.matchers.FunctionSequenceGrammarMatcher
- buildMatrix(Object[]...) - Method in class com.singularsys.jeptests.system.JepTest
- buildOperatorNode(Operator, Node...) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildOperatorNode(Operator, Node...) - Method in class com.singularsys.jep.NodeFactory
-
Builds an operator node with n arguments This method should be sub-classed.
- buildToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
- buildToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.HexNumberTokenMatcher
- buildToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.IdentifierTokenMatcher
-
Create the token, if the name matches a function name return a FunctionToken otherwise return an IdentifierToken.
- buildToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.NumberTokenMatcher
- buildToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher
-
Builds a token following a successful match.
- buildToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher
- buildToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.TerminatorTokenMatcher
- buildToken(String) - Method in interface com.singularsys.jep.configurableparser.matchers.TokenBuilder
- buildToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.WhiteSpaceTokenMatcher
- buildUnfinishedOperatorNode(Operator) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildUnfinishedOperatorNode(Operator) - Method in class com.singularsys.jep.NodeFactory
-
An unfinished node.
- buildVariableNode(ASTVarNode) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildVariableNode(ASTVarNode) - Method in class com.singularsys.jep.NodeFactory
-
creates a new ASTVarNode with the same name as argument.
- buildVariableNode(Variable) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildVariableNode(Variable) - Method in class com.singularsys.jep.NodeFactory
-
creates a new ASTVarNode with a given variable.
- buildVariableNode(String) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildVariableNode(String) - Method in class com.singularsys.jep.NodeFactory
-
Build a variable node when just the name is known.
- buildVariableNodeCheckUndeclared(String) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- buildVariableNodeCheckUndeclared(String) - Method in class com.singularsys.jep.NodeFactory
-
Build a variable node checking for the undeclared status.
- buildVarNode(String) - Static method in class com.singularsys.client.GWTExpose
- buildVector(Object...) - Method in class com.singularsys.jeptests.system.JepTest
C
- calc(Object, List<Object>) - Method in class com.singularsys.jep.misc.functions.ElementOf
-
Calculates if the element is in the list or not.
- calc(List<Object>) - Method in class com.singularsys.jep.functions.ArrayFunctionBase
-
Abstract method for performing the array calculation.
- calc(List<Object>) - Method in class com.singularsys.jep.functions.Average
-
Called by the run method, default is to call
Average.average(List)
but subclasses can override. - calc(List<Object>) - Method in class com.singularsys.jep.functions.MinMax
- calc(List<Object>) - Method in class com.singularsys.jep.functions.VSum
- calc(List<Object>) - Method in class com.singularsys.jep.misc.functions.ElementOf
-
Should not be called.
- calcResult() - Method in class com.singularsys.client.GWTSimple
-
Parse and evaluate the expressions, reading and writing to widgets
- calcValue(Node) - Method in class com.singularsys.jeptests.system.JepTest
-
Calculate the value of an expression.
- calcValue(String) - Method in class com.singularsys.jeptests.system.JepTest
-
Calculate the value of an expression.
- CallbackEvaluationI - Interface in com.singularsys.jep.functions
-
Functions which require greater control over their evaluation should implement this interface.
- Case - Class in com.singularsys.jep.misc.functions
-
A case statement.
- Case() - Constructor for class com.singularsys.jep.misc.functions.Case
-
Standard constructor with no default value and errors if nulls are found.
- Case(Case.NullBehaviour) - Constructor for class com.singularsys.jep.misc.functions.Case
-
Constructor with defined behaviour for null.
- Case(Object) - Constructor for class com.singularsys.jep.misc.functions.Case
-
A case statement with a predefined default value and errors if nulls are found.
- Case(Object, Case.NullBehaviour) - Constructor for class com.singularsys.jep.misc.functions.Case
-
Case statement with given default value and defined null behaviour.
- Case.NullBehaviour - Enum in com.singularsys.jep.misc.functions
-
Action to take if first argument is null.
- CaseInsensitiveFunctionTable - Class in com.singularsys.jep.misc
-
A version of a function table which is case-insensitive.
- CaseInsensitiveFunctionTable() - Constructor for class com.singularsys.jep.misc.CaseInsensitiveFunctionTable
- CaseInsensitiveFunctionTable(Map<String, PostfixMathCommandI>) - Constructor for class com.singularsys.jep.misc.CaseInsensitiveFunctionTable
- CaseInsensitiveVariableTable - Class in com.singularsys.jep.misc
-
A Variable table which ignores case.
- CaseInsensitiveVariableTable() - Constructor for class com.singularsys.jep.misc.CaseInsensitiveVariableTable
- CaseInsensitiveVariableTable(VariableTable) - Constructor for class com.singularsys.jep.misc.CaseInsensitiveVariableTable
- Ceil - Class in com.singularsys.jep.functions
-
A PostfixMathCommandI which find the smallest integer above the number ceil(pi) give 4 ceil(-i) give -3
- Ceil() - Constructor for class com.singularsys.jep.functions.Ceil
- changing_a_hook_returns_same_value() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- changing_a_hook_returns_same_value() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- check(String, String[]) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- check(List<Token>, Object[]) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- check(List<Token>, List<Token>) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- checkComment(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- checkCPParseSize() - Static method in class com.singularsys.jepexamples.diagnostics.DestructiveTests
- checkEval() - Static method in class com.singularsys.jepexamples.diagnostics.DestructiveTests
- checkEval(Jep, int) - Static method in class com.singularsys.jepexamples.diagnostics.DestructiveTests
- checkIdentifier(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- checkNumber(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.functions.ArrayFunctionBase
-
Must have one or more parameter
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.functions.Ele
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.functions.If
-
Checks the number of parameters of the call.
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.functions.NaryBinaryFunction
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Checks the number of parameters of the function.
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.functions.Round
-
Must have one or more parameter
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.functions.strings.Substring
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.functions.Sum
-
Must have one or more parameter
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.functions.Case
-
Must have at least 3 parameters.
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.functions.RoundSF
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.functions.Switch
-
Must have at least 2 parameters.
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.functions.SwitchDefault
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.functions.ToBase
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNary
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNaryBinary
- checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedPfmc
- checkNumberOfParameters(int) - Method in interface com.singularsys.jep.PostfixMathCommandI
-
Checks the number of parameters of the function.
- checkNumberOfParameters(int) - Method in class com.singularsys.jeptests.system.JepTest.MyNary
- checkNumberOfParameters(int) - Method in class com.singularsys.jeptests.system.JepTest.MyNaryBinary
- checkOperator(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- checkParseSize() - Static method in class com.singularsys.jepexamples.diagnostics.DestructiveTests
- checkPostfixEval() - Static method in class com.singularsys.jepexamples.diagnostics.DestructiveTests
- checkStandardEval() - Static method in class com.singularsys.jepexamples.diagnostics.DestructiveTests
- checkString(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- checkVector(Object[], Object) - Method in class com.singularsys.jeptests.system.JepTest
- checkWhiteSpace(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- childIterator() - Method in interface com.singularsys.jep.parser.Node
-
Returns an Iterator which iterates over the children of the Node.
- childIterator() - Method in class com.singularsys.jep.parser.SimpleNode
-
Returns an Iterator which iterates over the children of the Node.
- children - Variable in class com.singularsys.jep.parser.SimpleNode
- children() - Method in interface com.singularsys.jep.parser.Node
-
Returns an Iterable object which can be used in a for/in loop.
- children() - Method in class com.singularsys.jep.parser.SimpleNode
-
Returns an Iterable object which can be used in a for/in loop.
- childrenAccept(ParserVisitor, Object) - Method in class com.singularsys.jep.parser.SimpleNode
-
Accept the visitor.
- childrenHaveChanged(Node, Node[]) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
-
Tests if the children of a node have changed
- ClassName() - Method in interface com.singularsys.jep.GWTJepMessages
- ClassName() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- clear() - Method in class com.singularsys.jep.FunctionTable
- clear() - Method in class com.singularsys.jep.VariableTable
-
Clears all variables from the table.
- clearValues() - Method in class com.singularsys.jep.VariableTable
-
Clears the values of all non-constant variables.
- cloneToken() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
-
Creates a copy of this token
- cloneToken() - Method in class com.singularsys.jep.configurableparser.tokens.SymbolToken
- close() - Method in class com.singularsys.compatibility.BufferedReader
- close() - Method in class com.singularsys.compatibility.Scanner
- cmpBug() - Method in class com.singularsys.jeptests.system.BigDecimalTest
-
Check for problems where MinMax used comparisons which worked by first converting to doubles.
- COLON - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- COLUMNNUMBER - Enum constant in enum com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory.Numbering
- com.singularsys - package com.singularsys
-
Module definitions used when building the GWTJep system.
- com.singularsys.client - package com.singularsys.client
-
Client side classes for various JavaScript applications.
- com.singularsys.compatibility - package com.singularsys.compatibility
-
Compatibility classes providing basic implementations of standard Java classes missing from GWT.
- com.singularsys.jep - package com.singularsys.jep
-
The main package containing the Jep class as well as other core classes.
- com.singularsys.jep.bigdecimal - package com.singularsys.jep.bigdecimal
-
A set of components for performing arbitrary precision arithmetic using the BigDecimal class to represent numbers.
- com.singularsys.jep.bigdecimal.functions - package com.singularsys.jep.bigdecimal.functions
-
Function classes that operate on BigDecimal numbers.
- com.singularsys.jep.configurableparser - package com.singularsys.jep.configurableparser
-
A hand-coded parser which allows more customization than the standard parser.
- com.singularsys.jep.configurableparser.matchers - package com.singularsys.jep.configurableparser.matchers
-
This package contains matchers for tokens and grammar elements.
- com.singularsys.jep.configurableparser.tokens - package com.singularsys.jep.configurableparser.tokens
-
Token classes for the configurable parser.
- com.singularsys.jep.functions - package com.singularsys.jep.functions
-
Classes that implement the built-in functions and operators.
- com.singularsys.jep.functions.strings - package com.singularsys.jep.functions.strings
-
String functions.
- com.singularsys.jep.misc - package com.singularsys.jep.misc
-
Miscellaneous components.
- com.singularsys.jep.misc.bitwise - package com.singularsys.jep.misc.bitwise
-
A selection of bitwise operators.
- com.singularsys.jep.misc.functions - package com.singularsys.jep.misc.functions
-
Miscellaneous functions not included in the standard jep.
- com.singularsys.jep.misc.javaops - package com.singularsys.jep.misc.javaops
-
Full set of java operators: ++x, ?:, += and bitwise operators
- com.singularsys.jep.misc.lineNumbering - package com.singularsys.jep.misc.lineNumbering
-
Classes to allow line and column number information to stored in nodes.
- com.singularsys.jep.misc.nullwrapper - package com.singularsys.jep.misc.nullwrapper
-
Package to allow the treatment of null values which propagate up through evaluation so that
null op anything
will benull
for most operator. - com.singularsys.jep.misc.nullwrapper.functions - package com.singularsys.jep.misc.nullwrapper.functions
-
Null wrapped versions of specific functions.
- com.singularsys.jep.misc.threadsafeeval - package com.singularsys.jep.misc.threadsafeeval
-
Classes to allow a simple method of evaluation in multiple threads.
- com.singularsys.jep.parser - package com.singularsys.jep.parser
-
The standard parser.
- com.singularsys.jep.reals - package com.singularsys.jep.reals
-
A set of classes for performing fast evaluation on reals (strings, vectors, and complex numbers are not supported)
- com.singularsys.jep.standard - package com.singularsys.jep.standard
-
Standard components including the standard evaluator, function table, operator table, variable table, and double number factory.
- com.singularsys.jep.walkers - package com.singularsys.jep.walkers
-
Expression tree traversal classes.
- com.singularsys.jepexamples - package com.singularsys.jepexamples
-
Container package for all examples, contains simple examples.
- com.singularsys.jepexamples.consoles - package com.singularsys.jepexamples.consoles
-
Examples that allow console interaction with the Jep parsers using a command line interface.
- com.singularsys.jepexamples.diagnostics - package com.singularsys.jepexamples.diagnostics
-
Examples that serve as diagnostic tools.
- com.singularsys.jeptests - package com.singularsys.jeptests
-
Junit tests for the main Jep package.
- com.singularsys.jeptests.system - package com.singularsys.jeptests.system
-
System tests.
- com.singularsys.jeptests.unit - package com.singularsys.jeptests.unit
-
Unit tests using JUnit.
- com.singularsys.jeptests.unit.bigdecimal.functions - package com.singularsys.jeptests.unit.bigdecimal.functions
-
Tests for the BigDecimal functions
- com.singularsys.jeptests.unit.functions - package com.singularsys.jeptests.unit.functions
-
Tests for individual function classes
- com.singularsys.jeptests.unit.walkers - package com.singularsys.jeptests.unit.walkers
-
Unit test for classes in
com.singularsys.jep.walkers
- COMMA - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- CommentToken - Class in com.singularsys.jep.configurableparser.tokens
-
Tokens representing comments.
- CommentToken(String) - Constructor for class com.singularsys.jep.configurableparser.tokens.CommentToken
- CommentTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Matches various styles of comments.
- CommentTokenMatcher(Pattern) - Constructor for class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
- CommentTokenMatcher(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
- COMMUTATIVE - Static variable in class com.singularsys.jep.Operator
-
Commutative operators x*y = y*x.
- comp - Variable in class com.singularsys.jep.functions.MinMax
-
Used to compare greater than or less than between objects.
- comp - Variable in class com.singularsys.jep.misc.functions.ElementOf
- Comparative - Class in com.singularsys.jep.functions
-
Implements the comparative operations <, >, <=, >=, != and ==.
- Comparative(int) - Constructor for class com.singularsys.jep.functions.Comparative
-
Constructor.
- Comparative(int, double) - Constructor for class com.singularsys.jep.functions.Comparative
- compare(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
- compare(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecTieBreakComparative
- compare(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
- compareOps(Operator, Operator) - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Compare operators based on their precedence and associativity.
- compareRecursive(Node, Node) - Method in class com.singularsys.jeptests.system.JepTest
- compile(String) - Static method in class com.singularsys.compatibility.Pattern
- compile(String, int) - Static method in class com.singularsys.compatibility.Pattern
- Complex - Class in com.singularsys.jep.standard
-
Represents a complex number with double precision real and imaginary components.
- Complex() - Constructor for class com.singularsys.jep.standard.Complex
-
Default constructor, gives zero.
- Complex(double) - Constructor for class com.singularsys.jep.standard.Complex
-
Constructor from a single double value.
- Complex(double, double) - Constructor for class com.singularsys.jep.standard.Complex
-
Initialize the real and imaginary components to the values given by the parameters.
- Complex(Complex) - Constructor for class com.singularsys.jep.standard.Complex
-
Copy constructor
- Complex(Number) - Constructor for class com.singularsys.jep.standard.Complex
-
Construct from a Number.
- COMPLEX_I - Static variable in class com.singularsys.jep.PrintVisitor
-
Enable this mode to print complex numbers as 3+2 i
- Complex.NonPropagatingImmutableComplex - Class in com.singularsys.jep.standard
-
An immutable version of the Complex class.
- ComplexPFMC - Class in com.singularsys.jep.functions
-
Converts a pair of real numbers to a complex number Complex(x,y)=x+i y.
- ComplexPFMC() - Constructor for class com.singularsys.jep.functions.ComplexPFMC
- ComplexTest - Class in com.singularsys.jeptests.unit
- ComplexTest() - Constructor for class com.singularsys.jeptests.unit.ComplexTest
- complexValueTest(String, Complex, double) - Method in class com.singularsys.jeptests.system.JepTest
-
Test parse-evaluate with complex number and given tolerance.
- ComponentSet - Class in com.singularsys.jep
-
Collects all the components which make up the Jep system.
- ComponentSet() - Constructor for class com.singularsys.jep.ComponentSet
-
Create a component set with all components
null
. - ComponentSet(Jep) - Constructor for class com.singularsys.jep.ComponentSet
-
Uses the components from the jep instance
- ComponentSet(JepComponent[]) - Constructor for class com.singularsys.jep.ComponentSet
-
Use the given list of components, any unspecified one will be set to
null
. - ComponentSubset - Class in com.singularsys.jep
-
Represent an incomplete set of components.
- ComponentSubset(JepComponent...) - Constructor for class com.singularsys.jep.ComponentSubset
- COMPOSITE - Static variable in class com.singularsys.jep.Operator
-
composite operators, like a-b which is a+(-b)
- concat(Object, Object) - Method in class com.singularsys.jep.functions.strings.Concat
- Concat - Class in com.singularsys.jep.functions.strings
-
Concatenates string arguments.
- Concat() - Constructor for class com.singularsys.jep.functions.strings.Concat
- configs - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
- configs - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- ConfigurableParser - Class in com.singularsys.jep.configurableparser
-
A configurable parser.
- ConfigurableParser() - Constructor for class com.singularsys.jep.configurableparser.ConfigurableParser
-
Create a configurable parser with no matchers set.
- configurableparser_ConfigurableParser_EmptyInput() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_ArrayAccessGrammarMatcher_ArrayAccess() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_ArrayAccessGrammarMatcher_TerminatorTokenName() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_FunctionGrammarMatcher_Function() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_FunctionGrammarMatcher_TerminatorTokenName() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_GrammarException_Found() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_GrammarException_FoundExpected() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_ListGrammarMatcher_List() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_ListOrBracketGrammarMatcher_ListNotClosed() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_RoundBracketGrammarMatcher_BracketsNotClosed() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_SingleArgFunctionMatcher_badArgument() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_StringTokenMatcher_AttemptToCallBuildToken() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_StringTokenMatcher2_IllegalEscapeSequence() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_matchers_StringTokenMatcher2_MalformedUnicodeEscape() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_ShuntingYard_ImplicitMultiplicationNotEnabled() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_ShuntingYard_InvalidOperatorOnStack() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_ShuntingYard_NextOperatorShouldHaveBeenMatchingTernaryOp() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_ShuntingYard_OnlyOneOperatorShouldBeOnStack() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_ShuntingYard_TokensRemainAfterParsing() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_ShuntingYard_TopOfOperatorStackShouldBeASentinel() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_ShuntingYard_UnexpectedEndOfInput() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_ShuntingYard_UnexpectedToken() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_Tokenizer_CommentNotClosed() - Method in interface com.singularsys.jep.GWTJepMessages
- configurableparser_Tokenizer_CouldNotMatchText() - Method in interface com.singularsys.jep.GWTJepMessages
- conj() - Method in class com.singularsys.jep.standard.Complex
-
Returns the complex conjugate.
- conj() - Method in class com.singularsys.jep.standard.ImmutableComplex
- conj(Object) - Method in class com.singularsys.jep.functions.Conjugate
- Conjugate - Class in com.singularsys.jep.functions
-
The complex conjugate of a number conj(c)
- Conjugate() - Constructor for class com.singularsys.jep.functions.Conjugate
- Console - Class in com.singularsys.jepexamples.consoles
-
This class implements a simple command line utility for evaluating mathematical expressions.
- Console() - Constructor for class com.singularsys.jepexamples.consoles.Console
-
Constructor
- Console.JepPrintStream - Class in com.singularsys.jepexamples.consoles
- Console.SPEC_ACTION - Enum in com.singularsys.jepexamples.consoles
-
Values returned by @link{testSpecialCommands(String command)}.
- consoleLog(String) - Static method in class com.singularsys.client.GWTConsoleAdapter
-
Prints a message to the console
- consoleLog(String) - Static method in class com.singularsys.client.GWTExpose
-
Native method to write to the JavaScript console
- consoleLog(String) - Method in class com.singularsys.client.GWTInterop
-
Native method to write to the JavaScript console
- consoleLog(String) - Static method in class com.singularsys.client.GWTJepEntry
-
Native method to write to the JavaScript console
- consoles_BigDecimalConsole_PrecisionHelpDetails() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_BigDecimalConsole_Prompt() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_BigDecimalConsole_RoundingModeHelpDetails() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_BigDecimalConsole_SetPrecedenceCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_BigDecimalConsole_SetPrecedenceHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_AppletHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_AppletInfo() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_ApplicationHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_ClearVariablesCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_ClearVariablesHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_ExitCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_FormatCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_FormatHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_FunctionsCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_FunctionsHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_HelpCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_HistoryCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_HistoryHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_HistoryVarMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_IntroText() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_IOErrorExiting() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_KnownFunctions() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_OperatorsCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_OperatorsHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_Prompt() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_QuitCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_ShowHistory() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_ShowHistoryHelp() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_ShowHistoryOff() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_Variables() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_VariablesCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_Console_VariablesHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_PrefixDumperConsole_Result() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_PrefixDumperConsole_SetDumpCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_PrefixDumperConsole_SetDumpHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_PrefixDumperConsole_SetStatsCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_PrefixDumperConsole_SetStatsHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_PrefixDumperConsole_TotalsCommand() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_PrefixDumperConsole_TotalsHelpMessage() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consoles_PrefixDumperConsole_YesOption() - Method in interface com.singularsys.jepexamples.GWTEgMessages
- consolidate(Node) - Method in class com.singularsys.jep.walkers.ExpressionConsolidator
- consolidateChildren(Operator, Node[]) - Method in class com.singularsys.jep.walkers.ExpressionConsolidator
-
Creates an array of Nodes, if the child is an ASTOpNode whose operator is op, then the children of that child will be added otherwise the child is added.
- ConstantFunction - Class in com.singularsys.jep.misc.functions
-
Functions which always return a constant value.
- ConstantFunction(Object) - Constructor for class com.singularsys.jep.misc.functions.ConstantFunction
- consume() - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
-
Eat one token.
- consume() - Method in class com.singularsys.jep.configurableparser.LookaheadNIterator
-
Eat one token.
- containsKey(String) - Method in class com.singularsys.jep.FunctionTable
- containsKey(String) - Method in class com.singularsys.jep.misc.CaseInsensitiveFunctionTable
- containsKey(String) - Method in class com.singularsys.jep.VariableTable
- containsValue(PostfixMathCommandI) - Method in class com.singularsys.jep.FunctionTable
- containsVariable(Variable) - Method in class com.singularsys.jep.VariableTable
- CONTINUE - Enum constant in enum com.singularsys.jepexamples.consoles.Console.SPEC_ACTION
-
Continue processing.
- continueParse() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Parse the next expressions from existing stream.
- continueParse() - Method in class com.singularsys.jep.misc.NullParser
- continueParse() - Method in interface com.singularsys.jep.Parser
-
Read the next equation from the stream.
- continueParse() - Method in class com.singularsys.jep.parser.StandardParser
-
Parse the next expressions from existing stream.
- continueParsing() - Method in class com.singularsys.jep.Jep
-
Continue parsing without re-initialising the stream.
- copied_variable_should_copy_constant_flag() - Method in class com.singularsys.jeptests.unit.VariableFactoryTest.Test_copyVariable
- copied_variable_should_copy_hooks() - Method in class com.singularsys.jeptests.unit.VariableFactoryTest.Test_copyVariable
- copied_variable_should_copy_validvalue_flag() - Method in class com.singularsys.jeptests.unit.VariableFactoryTest.Test_copyVariable
- copied_variable_should_create_varibles_of_factories_type() - Method in class com.singularsys.jeptests.unit.VariableFactoryTest.Test_copyVariable
- copied_variable_should_have_same_name_and_value() - Method in class com.singularsys.jeptests.unit.VariableFactoryTest.Test_copyVariable
- copied_variable_with_null_values_should_use_factories_default_value() - Method in class com.singularsys.jeptests.unit.VariableFactoryTest.Test_copyVariable
- copyChildren(Node, Node...) - Method in class com.singularsys.jep.NodeFactory
-
Sets the children of node to be those specified in array.
- copyChildrenIfNeeded(Node, Node[]) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
-
Sets the children of a node if they have changed from its current children.
- copyConstantsFrom(VariableTable) - Method in class com.singularsys.jep.VariableTable
-
Copies all the constants from a variable table into this table.
- copyVariable(Variable) - Method in class com.singularsys.jep.VariableFactory
-
Create a new variable which is a copy of this one.
- copyVariablesFrom(VariableTable) - Method in class com.singularsys.jep.VariableTable
-
Copies all the variables from a variable table into this table Copies all properties of the variable, including isConstant, validValue flags and all hook keys.
- cos() - Method in class com.singularsys.jep.standard.Complex
-
Returns the cosine of this complex number.
- cos() - Method in class com.singularsys.jep.standard.ImmutableComplex
- cos(Object) - Method in class com.singularsys.jep.functions.Cosine
- cosec(Object) - Method in class com.singularsys.jep.functions.Cosecant
- Cosecant - Class in com.singularsys.jep.functions
- Cosecant() - Constructor for class com.singularsys.jep.functions.Cosecant
- cosh() - Method in class com.singularsys.jep.standard.Complex
-
Returns the hyperbolic cosine of this complex number.
- cosh() - Method in class com.singularsys.jep.standard.ImmutableComplex
- cosh(Object) - Method in class com.singularsys.jep.functions.CosineH
- Cosine - Class in com.singularsys.jep.functions
- Cosine() - Constructor for class com.singularsys.jep.functions.Cosine
- CosineH - Class in com.singularsys.jep.functions
- CosineH() - Constructor for class com.singularsys.jep.functions.CosineH
- cot(Object) - Method in class com.singularsys.jep.functions.Cotangent
- Cotangent - Class in com.singularsys.jep.functions
-
The cotangent function.
- Cotangent() - Constructor for class com.singularsys.jep.functions.Cotangent
- CPConsole - Class in com.singularsys.jepexamples.consoles
- CPConsole() - Constructor for class com.singularsys.jepexamples.consoles.CPConsole
- CPSeqOpTest - Class in com.singularsys.jeptests.system
-
Tests for the configurable parser.
- CPSeqOpTest() - Constructor for class com.singularsys.jeptests.system.CPSeqOpTest
- CPTest - Class in com.singularsys.jeptests.system
-
Tests for the configurable parser.
- CPTest() - Constructor for class com.singularsys.jeptests.system.CPTest
- createDefaultEvaluator() - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultEvaluator() - Static method in class com.singularsys.jep.standard.StandardComponents
- createDefaultFunctionTable() - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultFunctionTable() - Static method in class com.singularsys.jep.standard.StandardComponents
- createDefaultNodeFactory() - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultNodeFactory() - Static method in class com.singularsys.jep.standard.StandardComponents
- createDefaultNumberFactory() - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultNumberFactory() - Static method in class com.singularsys.jep.standard.StandardComponents
- createDefaultOperatorTable() - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultOperatorTable() - Static method in class com.singularsys.jep.standard.StandardComponents
- createDefaultParser() - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultParser() - Static method in class com.singularsys.jep.standard.StandardComponents
- createDefaultPrintVisitor() - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultPrintVisitor() - Static method in class com.singularsys.jep.standard.StandardComponents
- createDefaultVariableFactory() - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultVariableFactory() - Static method in class com.singularsys.jep.standard.StandardComponents
- createDefaultVariableTable(VariableFactory) - Static method in class com.singularsys.jep.reals.RealComponents
- createDefaultVariableTable(VariableFactory) - Static method in class com.singularsys.jep.standard.StandardComponents
- createNumber(boolean) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(boolean) - Method in interface com.singularsys.jep.NumberFactory
-
Create a number object with given boolean value
- createNumber(boolean) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- createNumber(double) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(double) - Method in interface com.singularsys.jep.NumberFactory
-
Creates a number object with given double value.
- createNumber(double) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- createNumber(float) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(float) - Method in interface com.singularsys.jep.NumberFactory
-
Create a number object with given float value
- createNumber(float) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- createNumber(int) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(int) - Method in interface com.singularsys.jep.NumberFactory
-
Create a number object with given int value
- createNumber(int) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- createNumber(long) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(long) - Method in interface com.singularsys.jep.NumberFactory
-
Create a number object with given long value
- createNumber(long) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- createNumber(short) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(short) - Method in interface com.singularsys.jep.NumberFactory
-
Create a number object with given short value
- createNumber(short) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- createNumber(Complex) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(Complex) - Method in interface com.singularsys.jep.NumberFactory
-
Creates a number from a given complex value.
- createNumber(Complex) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- createNumber(Number) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(Number) - Method in interface com.singularsys.jep.NumberFactory
-
Creates a number object from a class implementing Number, May actually just return the class.
- createNumber(Number) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- createNumber(String) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- createNumber(String) - Method in interface com.singularsys.jep.NumberFactory
-
Creates a number object and initializes its value.
- createNumber(String) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
-
Creates a Double object initialized to the value of the parameter.
- createVariable(String) - Method in class com.singularsys.jep.VariableFactory
-
Create a variable with a name but not value Calls
VariableFactory.createVariable(String, Object)
so subclasses need not override this method. - createVariable(String, Object) - Method in class com.singularsys.jep.VariableFactory
-
Create a variable with a name and value.
- cross(Object, Object) - Method in class com.singularsys.jep.functions.Cross
- cross(Vector<?>, Vector<?>) - Method in class com.singularsys.jep.functions.Cross
- Cross - Class in com.singularsys.jep.functions
-
The cross product of two 3D vectors.
- Cross() - Constructor for class com.singularsys.jep.functions.Cross
- CROSS - Enum constant in enum com.singularsys.jep.OperatorTable2.SpecialOperators
-
Cross product
- CROSS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- curNumberOfParameters - Variable in class com.singularsys.jep.functions.PostfixMathCommand
-
Number of parameters to be used for the next run() invocation.
- currentLine - Variable in class com.singularsys.jep.configurableparser.Tokenizer
- currentLineNumber - Variable in class com.singularsys.jep.configurableparser.Tokenizer
- currentPos - Variable in class com.singularsys.jep.configurableparser.Tokenizer
- currentToken - Variable in exception class com.singularsys.jep.parser.ParseException
-
This is the last token that has been consumed successfully.
D
- dcv - Variable in class com.singularsys.jep.walkers.SubstitutionVisitor
- DECIMAL_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- DecimalFormat - Class in com.singularsys.compatibility
-
Simple implementation, just prints the value, does not attempt to round to values.
- DecimalFormat() - Constructor for class com.singularsys.compatibility.DecimalFormat
- DecimalFormat(String) - Constructor for class com.singularsys.compatibility.DecimalFormat
- DecimalFormatSymbols - Class in com.singularsys.compatibility
-
Simple implementation, with just Infinity and NaN.
- DecimalFormatSymbols() - Constructor for class com.singularsys.compatibility.DecimalFormatSymbols
- deepCopy(Node) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
-
Creates a deepCopy of a Node
- DeepCopyVisitor - Class in com.singularsys.jep.walkers
-
A Visitor which returns an exact copy of the tree.
- DeepCopyVisitor() - Constructor for class com.singularsys.jep.walkers.DeepCopyVisitor
-
Constructor to use as a JepComponent.
- DeepCopyVisitor(Jep) - Constructor for class com.singularsys.jep.walkers.DeepCopyVisitor
-
Constructor to use in a standalone context.
- DEFAULT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
Lexical state.
- defaultNumberTokenMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.NumberTokenMatcher
-
Factory to create a matcher for decimal number without exponents
- defaultValue - Variable in class com.singularsys.jep.VariableFactory
-
The default value to use when variable is created with no value
- defaultWhiteSpaceTokenMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.WhiteSpaceTokenMatcher
-
Matches
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.BDConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig3_4
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig3_5
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig3_5NC
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfigNoChecks
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.OldConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.PostfixConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.RealConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.ThreadSafeConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.UncheckedConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfig3_4
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfig3_5
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfig3_5NC
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfigNoChecks
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.OldConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.PostfixConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.RealConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.ThreadSafeConfig
- description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.UncheckedConfig
- DestructiveTests - Class in com.singularsys.jepexamples.diagnostics
-
Test various features until failure.
- DestructiveTests() - Constructor for class com.singularsys.jepexamples.diagnostics.DestructiveTests
- Diff() - Constructor for class com.singularsys.jeptests.system.JepTest.Diff
- DIGIT1 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- DIGIT2 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- div - Variable in class com.singularsys.jep.functions.Average
-
Function used to divide sum of elements by the number of elements
- div - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
-
Factor to reduce the number of iterations for this evaluator.
- div - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
-
Factor to reduce the number of iterations for this evaluator.
- div(Complex) - Method in class com.singularsys.jep.standard.Complex
-
Returns the result of dividing this complex number by the parameter.
- div(Complex) - Method in class com.singularsys.jep.standard.ImmutableComplex
- div(Complex, Complex) - Method in class com.singularsys.jep.functions.Divide
- div(Complex, Number) - Method in class com.singularsys.jep.functions.Divide
- div(Number, Complex) - Method in class com.singularsys.jep.functions.Divide
- div(Number, Number) - Method in class com.singularsys.jep.functions.Divide
- div(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecDiv
- div(Object, Object) - Method in class com.singularsys.jep.functions.Divide
- div(Vector<?>, Object) - Method in class com.singularsys.jep.functions.Divide
- DIV - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- DIV - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- Divide - Class in com.singularsys.jep.functions
- Divide() - Constructor for class com.singularsys.jep.functions.Divide
- DIVIDEEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- doAll(String[], String[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest
-
Run speed comparison for a set of equations.
- doAll(String[], String[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
-
Run speed comparison for a set of equations.
- doAll(String, String[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest
-
Run speed comparison for a single equation.
- doAll(String, String[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
-
Run speed comparison for a single equation.
- doEval(String[], String[], double[][]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
- doEval(String[], String[], Complex[][]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
- doEval(String, String[], double[][]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
- doEval(String, String[], Complex[][]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
- DoNothingVisitor - Class in com.singularsys.jep.walkers
-
A Visitor which visits each node of an expression tree and does nothing.
- DoNothingVisitor() - Constructor for class com.singularsys.jep.walkers.DoNothingVisitor
-
Constructor to use with JepComponent mechanism, init method must be called.
- DoNothingVisitor(Jep) - Constructor for class com.singularsys.jep.walkers.DoNothingVisitor
- dot(Object, Object) - Method in class com.singularsys.jep.functions.Dot
- dot(Vector<?>, Vector<?>) - Method in class com.singularsys.jep.functions.Dot
- Dot - Class in com.singularsys.jep.functions
-
The dot product of two vectors.
- Dot() - Constructor for class com.singularsys.jep.functions.Dot
- DOT - Enum constant in enum com.singularsys.jep.OperatorTable2.SpecialOperators
-
Dot product x .
- DOT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- DOTALL - Static variable in class com.singularsys.compatibility.Pattern
- dottedIdentifierMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.IdentifierTokenMatcher
-
Matches identifiers which start with a letter or underscore and are followed by 0 or more letters digits or underscores or .
- doubleFormat - Variable in class com.singularsys.jepexamples.consoles.Console
-
Format for double output
- DoubleNumberFactory - Class in com.singularsys.jep.standard
-
Default class for creating number objects.
- DoubleNumberFactory() - Constructor for class com.singularsys.jep.standard.DoubleNumberFactory
- doubleQuoteStringMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher
-
Factory for matching single line double-quoted strings.
- doubleQuoteStringMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher2
-
Factory for matching single line double-quoted strings.
- doubleValue() - Method in class com.singularsys.jep.standard.Complex
-
Returns real part.
- dump(Node) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
- dump(String) - Method in class com.singularsys.jep.parser.SimpleNode
- DUMP - Static variable in class com.singularsys.jep.configurableparser.ShuntingYard
- dumpState(String) - Method in class com.singularsys.jep.configurableparser.ShuntingYard
- duplicate() - Method in class com.singularsys.jep.Operator
-
Return a copy of the operator with all fields identical.
E
- EgMessages - Class in com.singularsys.jepexamples
-
GWT compatible version of the example messages class
- ele(Object[]) - Method in class com.singularsys.jep.functions.Ele
-
Find the element of an array.
- ele(Object, Object) - Method in class com.singularsys.jep.functions.Ele
-
Find the element of a vector
- ele(Object, Object[]) - Method in class com.singularsys.jep.functions.Ele
-
Find element of a multi-dimensional array
- ele(Object, Object, Object) - Method in class com.singularsys.jep.functions.Ele
-
Find the element of a matrix
- Ele - Class in com.singularsys.jep.functions
-
Function which allows array access using the a[3] notation on left and right-hand side.
- Ele() - Constructor for class com.singularsys.jep.functions.Ele
-
Element access with mathematical convention, first element has an index of 1.
- Ele(boolean) - Constructor for class com.singularsys.jep.functions.Ele
-
Element access, either java convention (first element has an index of 0) or mathematical convention (first element has an index of 1) can be specified.
- ELEMENT - Enum constant in enum com.singularsys.jep.OperatorTable2.SpecialOperators
-
Accesses an element of a list x[2]
- ElementOf - Class in com.singularsys.jep.misc.functions
-
Tests if the first argument is in a set of values given in subsequent arguments.
- ElementOf(Comparative, boolean) - Constructor for class com.singularsys.jep.misc.functions.ElementOf
-
Construct the function.
- ElementOf_CalcMethodShouldNotBeCalled() - Method in interface com.singularsys.jep.GWTJepMessages
- EleTest - Class in com.singularsys.jeptests.unit.functions
- EleTest() - Constructor for class com.singularsys.jeptests.unit.functions.EleTest
- EMPTY - Enum constant in enum com.singularsys.jep.configurableparser.ShuntingYard.PrefixRes
-
End of input
- EMPTY - Enum constant in enum com.singularsys.jepexamples.consoles.Console.SPEC_ACTION
-
Stop processing.
- EmptyOperatorTable - Class in com.singularsys.jep
-
A base class for operator tables, this class has no pre-defined operators.
- EmptyOperatorTable() - Constructor for class com.singularsys.jep.EmptyOperatorTable
-
Constructor with an empty map.
- EmptyOperatorTable(Map<EmptyOperatorTable.OperatorKey, Operator>) - Constructor for class com.singularsys.jep.EmptyOperatorTable
-
Constructor with a specified map.
- EmptyOperatorTable.OperatorKey - Interface in com.singularsys.jep
-
All operators enums must implement this interface.
- endColumn - Variable in class com.singularsys.jep.parser.Token
-
The column number of the last character of this Token.
- endLine - Variable in class com.singularsys.jep.parser.Token
-
The line number of the last character of this Token.
- entrySet() - Method in class com.singularsys.jep.EmptyOperatorTable
- entrySet() - Method in class com.singularsys.jep.FunctionTable
- EOF - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
End of File.
- eol - Variable in exception class com.singularsys.jep.parser.ParseException
-
The end of line string for this machine.
- eq(Complex) - Method in class com.singularsys.jep.standard.Complex
-
An equals method compatible with double ==
- eq(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
- EQ - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- EQ - Static variable in class com.singularsys.jep.functions.Comparative
- EQ - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- equals(Complex, double) - Method in class com.singularsys.jep.standard.Complex
-
Compares this object with the Complex number given as parameter
- equals(Object) - Method in class com.singularsys.jep.configurableparser.tokens.Token
- equals(Object) - Method in class com.singularsys.jep.standard.Complex
-
Compares this object against the specified object.
- EQUIVALENCE - Static variable in class com.singularsys.jep.Operator
-
Equivalence relations = reflexive, transitive and symmetric.
- ERROR - Enum constant in enum com.singularsys.jep.misc.functions.Case.NullBehaviour
-
Generate an IllegalParameterException
- ERROR - Enum constant in enum com.singularsys.jep.misc.functions.Switch.NullBehaviour
-
Generate an IllegalParameterException
- ERROR - Enum constant in enum com.singularsys.jep.misc.functions.SwitchDefault.NullBehaviour
-
Generate an IllegalParameterException
- errorToken(Lookahead2Iterator<Token>) - Method in class com.singularsys.jep.configurableparser.matchers.FunctionGrammarMatcher
-
Generate a token to use in GrammarExceptions
- errorToken(Lookahead2Iterator<Token>) - Method in class com.singularsys.jep.configurableparser.matchers.FunctionSequenceGrammarMatcher
-
Generate a token to use in GrammarExceptions
- errorToken(Lookahead2Iterator<Token>) - Method in class com.singularsys.jep.misc.OperatorAsFunctionGrammarMatcher
-
Generate a token to use in GrammarExceptions
- EUCLIDEAN - Enum constant in enum com.singularsys.jep.misc.functions.Remainder.Type
-
Remainder is non negative.
- EUCLIDEAN_QUOTIENT - Enum constant in enum com.singularsys.jep.misc.functions.Remainder.Type
- ev - Variable in class com.singularsys.jep.misc.MacroFunction
- ev - Variable in class com.singularsys.jep.NodeFactory
- eval() - Method in class com.singularsys.jep.functions.NullaryFunction
-
Evaluate the function
- eval() - Method in class com.singularsys.jep.functions.Random
- eval() - Method in class com.singularsys.jep.misc.functions.ConstantFunction
- eval() - Method in class com.singularsys.jeptests.system.JepTest.MyNullary
- eval(Node) - Method in interface com.singularsys.jep.Evaluator
-
Evaluates a sub expression.
- eval(Node) - Method in class com.singularsys.jep.reals.RealEvaluator
- eval(Node) - Method in class com.singularsys.jep.standard.FastEvaluator
- eval(Node) - Method in class com.singularsys.jep.standard.StandardEvaluator
- eval(Node) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- eval(Node) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
- eval(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- eval(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- eval(Node) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- eval(Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecSignum
- eval(Object) - Method in class com.singularsys.jep.functions.Abs
- eval(Object) - Method in class com.singularsys.jep.functions.ArcCosine
- eval(Object) - Method in class com.singularsys.jep.functions.ArcCosineH
- eval(Object) - Method in class com.singularsys.jep.functions.ArcSine
- eval(Object) - Method in class com.singularsys.jep.functions.ArcSineH
- eval(Object) - Method in class com.singularsys.jep.functions.ArcTangent
- eval(Object) - Method in class com.singularsys.jep.functions.ArcTanH
- eval(Object) - Method in class com.singularsys.jep.functions.Arg
- eval(Object) - Method in class com.singularsys.jep.functions.Ceil
- eval(Object) - Method in class com.singularsys.jep.functions.Conjugate
- eval(Object) - Method in class com.singularsys.jep.functions.Cosecant
- eval(Object) - Method in class com.singularsys.jep.functions.Cosine
- eval(Object) - Method in class com.singularsys.jep.functions.CosineH
- eval(Object) - Method in class com.singularsys.jep.functions.Cotangent
- eval(Object) - Method in class com.singularsys.jep.functions.Exp
- eval(Object) - Method in class com.singularsys.jep.functions.Floor
- eval(Object) - Method in class com.singularsys.jep.functions.Identity
- eval(Object) - Method in class com.singularsys.jep.functions.Imaginary
- eval(Object) - Method in class com.singularsys.jep.functions.Logarithm
- eval(Object) - Method in class com.singularsys.jep.functions.LogBase2
- eval(Object) - Method in class com.singularsys.jep.functions.NaturalLogarithm
- eval(Object) - Method in class com.singularsys.jep.functions.Not
- eval(Object) - Method in class com.singularsys.jep.functions.Real
- eval(Object) - Method in class com.singularsys.jep.functions.Secant
- eval(Object) - Method in class com.singularsys.jep.functions.Signum
- eval(Object) - Method in class com.singularsys.jep.functions.Sine
- eval(Object) - Method in class com.singularsys.jep.functions.SineH
- eval(Object) - Method in class com.singularsys.jep.functions.SquareRoot
- eval(Object) - Method in class com.singularsys.jep.functions.Str
- eval(Object) - Method in class com.singularsys.jep.functions.StrictNaturalLogarithm
- eval(Object) - Method in class com.singularsys.jep.functions.strings.Length
- eval(Object) - Method in class com.singularsys.jep.functions.strings.LowerCase
- eval(Object) - Method in class com.singularsys.jep.functions.strings.Trim
- eval(Object) - Method in class com.singularsys.jep.functions.strings.UpperCase
- eval(Object) - Method in class com.singularsys.jep.functions.Tangent
- eval(Object) - Method in class com.singularsys.jep.functions.TanH
- eval(Object) - Method in class com.singularsys.jep.functions.UMinus
- eval(Object) - Method in class com.singularsys.jep.functions.UnaryFunction
-
Evaluate the function
- eval(Object) - Method in class com.singularsys.jep.misc.bitwise.BitComp
- eval(Object) - Method in class com.singularsys.jep.misc.functions.Factorial
-
Evaluates the factorial function
- eval(Object) - Method in class com.singularsys.jep.misc.functions.IsInfinite
- eval(Object) - Method in class com.singularsys.jep.misc.functions.IsNaN
- eval(Object) - Method in class com.singularsys.jep.misc.functions.IsNull
- eval(Object) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedUnary
- eval(Object) - Method in class com.singularsys.jeptests.system.JepTest.MyUnary
- eval(Object[]) - Method in class com.singularsys.jep.functions.Ele
- eval(Object[]) - Method in class com.singularsys.jep.functions.NaryBinaryFunction
-
Evaluate given an array of arguments
- eval(Object[]) - Method in class com.singularsys.jep.functions.NaryFunction
-
Evaluate the function
- eval(Object[]) - Method in class com.singularsys.jep.functions.Round
- eval(Object[]) - Method in class com.singularsys.jep.functions.strings.Mid
- eval(Object[]) - Method in class com.singularsys.jep.functions.strings.Substring
- eval(Object[]) - Method in class com.singularsys.jep.misc.functions.FromBase
- eval(Object[]) - Method in class com.singularsys.jep.misc.functions.RoundSF
- eval(Object[]) - Method in class com.singularsys.jep.misc.functions.ToBase
- eval(Object[]) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNary
- eval(Object[]) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNaryBinary
- eval(Object[]) - Method in class com.singularsys.jeptests.system.JepTest.AddFractionsNary
- eval(Object[]) - Method in class com.singularsys.jeptests.system.JepTest.MyNary
- eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
- eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRoundSigFig
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Add
- eval(Object, Object) - Method in class com.singularsys.jep.functions.ArcTangent2
- eval(Object, Object) - Method in class com.singularsys.jep.functions.BinaryFunction
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Binomial
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
- eval(Object, Object) - Method in class com.singularsys.jep.functions.ComplexPFMC
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Cross
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Divide
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Dot
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Logical
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Modulus
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Multiply
- eval(Object, Object) - Method in class com.singularsys.jep.functions.NaryBinaryFunction
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Polar
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Power
- eval(Object, Object) - Method in class com.singularsys.jep.functions.strings.Concat
- eval(Object, Object) - Method in class com.singularsys.jep.functions.strings.Left
- eval(Object, Object) - Method in class com.singularsys.jep.functions.strings.Right
- eval(Object, Object) - Method in class com.singularsys.jep.functions.Subtract
- eval(Object, Object) - Method in class com.singularsys.jep.misc.bitwise.BitAnd
- eval(Object, Object) - Method in class com.singularsys.jep.misc.bitwise.BitOr
- eval(Object, Object) - Method in class com.singularsys.jep.misc.bitwise.BitXor
- eval(Object, Object) - Method in class com.singularsys.jep.misc.bitwise.LShift
- eval(Object, Object) - Method in class com.singularsys.jep.misc.bitwise.RShift
- eval(Object, Object) - Method in class com.singularsys.jep.misc.bitwise.URShift
- eval(Object, Object) - Method in class com.singularsys.jep.misc.functions.LogTwoArg
- eval(Object, Object) - Method in class com.singularsys.jep.misc.functions.Remainder
- eval(Object, Object) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullSafeEquals
- eval(Object, Object) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedBinary
- eval(Object, Object) - Method in class com.singularsys.jeptests.system.JepTest.MyBinary
- eval(Object, Object) - Method in class com.singularsys.jeptests.system.JepTest.MyNaryBinary
- eval(String) - Method in class com.singularsys.jeptests.system.BigDecimalTest
- evalExceptionTest(String) - Method in class com.singularsys.jeptests.system.BigDecimalTest
- evaluate() - Method in class com.singularsys.jep.Jep
-
Evaluates the most recently parsed expression.
- evaluate() - Method in interface com.singularsys.jep.reals.RealNullaryFunction
- evaluate() - Method in class com.singularsys.jeptests.system.JepTest.PiFun
- evaluate(double) - Method in class com.singularsys.jep.functions.Abs
- evaluate(double) - Method in class com.singularsys.jep.functions.ArcCosine
- evaluate(double) - Method in class com.singularsys.jep.functions.ArcCosineH
- evaluate(double) - Method in class com.singularsys.jep.functions.ArcSine
- evaluate(double) - Method in class com.singularsys.jep.functions.ArcSineH
- evaluate(double) - Method in class com.singularsys.jep.functions.ArcTangent
- evaluate(double) - Method in class com.singularsys.jep.functions.ArcTanH
- evaluate(double) - Method in class com.singularsys.jep.functions.Average
-
Just returns its argument.
- evaluate(double) - Method in class com.singularsys.jep.functions.Ceil
- evaluate(double) - Method in class com.singularsys.jep.functions.Cosecant
- evaluate(double) - Method in class com.singularsys.jep.functions.Cosine
- evaluate(double) - Method in class com.singularsys.jep.functions.CosineH
- evaluate(double) - Method in class com.singularsys.jep.functions.Cotangent
- evaluate(double) - Method in class com.singularsys.jep.functions.Exp
- evaluate(double) - Method in class com.singularsys.jep.functions.Floor
- evaluate(double) - Method in class com.singularsys.jep.functions.Logarithm
- evaluate(double) - Method in class com.singularsys.jep.functions.LogBase2
- evaluate(double) - Method in class com.singularsys.jep.functions.NaturalLogarithm
- evaluate(double) - Method in class com.singularsys.jep.functions.Secant
- evaluate(double) - Method in class com.singularsys.jep.functions.Signum
- evaluate(double) - Method in class com.singularsys.jep.functions.Sine
- evaluate(double) - Method in class com.singularsys.jep.functions.SineH
- evaluate(double) - Method in class com.singularsys.jep.functions.SquareRoot
- evaluate(double) - Method in class com.singularsys.jep.functions.StrictNaturalLogarithm
- evaluate(double) - Method in class com.singularsys.jep.functions.Tangent
- evaluate(double) - Method in class com.singularsys.jep.functions.TanH
- evaluate(double) - Method in class com.singularsys.jep.functions.UMinus
- evaluate(double) - Method in interface com.singularsys.jep.reals.RealUnaryFunction
- evaluate(double) - Method in class com.singularsys.jeptests.system.JepTest.Square
- evaluate(double[]) - Method in interface com.singularsys.jep.reals.RealNaryFunction
- evaluate(double[]) - Method in class com.singularsys.jeptests.system.JepTest.Product
- evaluate(double, double) - Method in class com.singularsys.jep.functions.Add
- evaluate(double, double) - Method in class com.singularsys.jep.functions.ArcTangent2
- evaluate(double, double) - Method in class com.singularsys.jep.functions.Divide
- evaluate(double, double) - Method in class com.singularsys.jep.functions.Modulus
- evaluate(double, double) - Method in class com.singularsys.jep.functions.Multiply
- evaluate(double, double) - Method in class com.singularsys.jep.functions.Power
- evaluate(double, double) - Method in class com.singularsys.jep.functions.Subtract
- evaluate(double, double) - Method in class com.singularsys.jep.misc.functions.LogTwoArg
- evaluate(double, double) - Method in class com.singularsys.jep.misc.functions.Remainder
- evaluate(double, double) - Method in interface com.singularsys.jep.reals.RealBinaryFunction
- evaluate(double, double) - Method in class com.singularsys.jeptests.system.JepTest.Diff
- evaluate(GWTInterop.GWTNode) - Method in class com.singularsys.client.GWTInterop
-
Evaluate an expression
- evaluate(Node) - Method in interface com.singularsys.jep.Evaluator
-
Main entry point, evaluates a node and returns and object with the value of the node.
- evaluate(Node) - Method in class com.singularsys.jep.Jep
-
Evaluates the expression tree pointed to by the node parameter.
- evaluate(Node) - Method in class com.singularsys.jep.reals.RealEvaluator
- evaluate(Node) - Method in class com.singularsys.jep.standard.FastEvaluator
- evaluate(Node) - Method in class com.singularsys.jep.standard.StandardEvaluator
- evaluate(Node) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- evaluate(Node) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
- evaluate(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- evaluate(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- evaluate(Node) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.functions.Assign
-
For assignment set the value of the variable on the lhs to value returned by evaluating the right-hand side.
- evaluate(Node, Evaluator) - Method in interface com.singularsys.jep.functions.CallbackEvaluationI
-
Performs some special evaluation on the node.
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.functions.If
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.functions.LazyLogical
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.functions.Case
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.functions.Switch
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.functions.SwitchDefault
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.javaops.OpEquals
-
For assignment set the value of the variable on the lhs to value returned by evaluating the right-hand side.
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.javaops.PostDec
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.javaops.PostInc
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.javaops.PreDec
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.javaops.PreInc
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.javaops.TernaryConditional
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedAbstractInc
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedIf
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedLazyLogical
- evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.threadsafeeval.ThreadSafeAssign
-
For assignment set the value of the variable on the lhs to value returned by evaluating the right-hand side.
- evaluateD() - Static method in class com.singularsys.client.GWTExpose
-
Evaluates the last expression returning a double.
- evaluateD() - Method in class com.singularsys.jep.Jep
-
Evaluates the most recently parsed expression and returns the result as a double.
- evaluateNE(GWTInterop.GWTNode) - Method in class com.singularsys.client.GWTInterop
-
Evaluate an expression, does not throw exceptions
- evaluateNE(Node) - Static method in class com.singularsys.client.GWTExpose
-
Evaluate a node, returning an object, does not throw exceptions
- evaluateO(Node) - Static method in class com.singularsys.client.GWTExpose
-
Evaluate a node, returning an object
- EvaluationConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
- EvaluationConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
- EvaluationConfig(String, int) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
-
For slow
- EvaluationException - Exception Class in com.singularsys.jep
-
Exceptions thrown during evaluation.
- EvaluationException() - Constructor for exception class com.singularsys.jep.EvaluationException
- EvaluationException(String) - Constructor for exception class com.singularsys.jep.EvaluationException
- EvaluationException(String, Throwable) - Constructor for exception class com.singularsys.jep.EvaluationException
- EvaluationException(Throwable) - Constructor for exception class com.singularsys.jep.EvaluationException
- evaluator - Variable in class com.singularsys.jep.ComponentSet
- evaluator - Variable in class com.singularsys.jep.Jep
-
Evaluator instance used for evaluating parse trees
- Evaluator - Interface in com.singularsys.jep
-
Defines a method which can be used to evaluate a part of a node-tree.
- ExamineResultTypes - Class in com.singularsys.jepexamples.diagnostics
-
Class to examine the results types of the various operators and function.
- ExamineResultTypes(Jep, ExamineResultTypes.TypeCreator[]) - Constructor for class com.singularsys.jepexamples.diagnostics.ExamineResultTypes
- ExamineResultTypes.ShortTypeCreator - Class in com.singularsys.jepexamples.diagnostics
- ExamineResultTypes.TypeCreator - Class in com.singularsys.jepexamples.diagnostics
- examineTypes(String, PostfixMathCommandI) - Method in class com.singularsys.jepexamples.diagnostics.ExamineResultTypes
-
Tests return types for a specific PostfixMathCommandI will test for 0,1,2 and 3 parameters
- examineTypes(String, PostfixMathCommandI, int) - Method in class com.singularsys.jepexamples.diagnostics.ExamineResultTypes
-
Tests return types for a specific PostfixMathCommandI with a specific number of parameters
- EXCEPTION - Enum constant in enum com.singularsys.jep.functions.ArrayFunctionBase.ZeroLengthErrorBehaviour
-
Signals that an error is thrown
- execute() - Method in class com.singularsys.client.GWTConsoleAdapter
-
Calls the
Console.processCommand(String)
method using line read from TextArea. - EXIT - Enum constant in enum com.singularsys.jepexamples.consoles.Console.SPEC_ACTION
-
Quit the program.
- exp(Object) - Method in class com.singularsys.jep.functions.Exp
- Exp - Class in com.singularsys.jep.functions
-
The exp function.
- Exp() - Constructor for class com.singularsys.jep.functions.Exp
- expectedTokenSequences - Variable in exception class com.singularsys.jep.parser.ParseException
-
Each entry in this array is an array of integers.
- EXPONENT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- exponentNumberTokenMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.NumberTokenMatcher
-
Factory to create a matcher for decimal number with or without exponents
- exprEquals(String, Object) - Method in class com.singularsys.jeptests.system.BigDecimalTest
- expression - Variable in class com.singularsys.jep.misc.MacroFunction
- expression() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Match prefixSuffix() optionally followed by a binary or ternary operator or an implicit multiplication.
- ExpressionConsolidator - Class in com.singularsys.jep.walkers
-
Consolidates nested addition and multiplication to produce nary operators.
- ExpressionConsolidator(Jep) - Constructor for class com.singularsys.jep.walkers.ExpressionConsolidator
-
Default constructor, Add and Multiply are consolidated.
- ExpressionEvalTest - Class in com.singularsys.jeptests.system
-
This class is designed for testing the validity of Jep evaluations.
- ExpressionEvalTest() - Constructor for class com.singularsys.jeptests.system.ExpressionEvalTest
-
Creates a new ExpressionEvalTest instance
- ExtendedOperatorSet - Class in com.singularsys.jep.misc
-
An example of an OperatorSet which adds two suffix operators: n! (factorial) and n% (percentage).
- ExtendedOperatorSet() - Constructor for class com.singularsys.jep.misc.ExtendedOperatorSet
- ExtendedOperatorSet(OperatorTable2) - Constructor for class com.singularsys.jep.misc.ExtendedOperatorSet
- ExtendedOperatorSet(Map<EmptyOperatorTable.OperatorKey, Operator>) - Constructor for class com.singularsys.jep.misc.ExtendedOperatorSet
- ExtendedOperatorSet.ExtendedOperators - Enum in com.singularsys.jep.misc
- ExtendedParserTest - Class in com.singularsys.jeptests.system
-
Tests for modification to the configurable parser.
- ExtendedParserTest() - Constructor for class com.singularsys.jeptests.system.ExtendedParserTest
- ExtendedParserTest.InOperators - Enum in com.singularsys.jeptests.system
F
- FACTKEY - Enum constant in enum com.singularsys.jep.misc.ExtendedOperatorSet.ExtendedOperators
- Factorial - Class in com.singularsys.jep.misc.functions
-
Simple implementation of factorial, good up to 20!
- Factorial() - Constructor for class com.singularsys.jep.misc.functions.Factorial
- factory - Variable in class com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable
- falseValue - Variable in class com.singularsys.jep.functions.If
- FastEvaluator - Class in com.singularsys.jep.standard
- FastEvaluator() - Constructor for class com.singularsys.jep.standard.FastEvaluator
- FastEvaluator3_4 - Class in com.singularsys.jepexamples.diagnostics
- FastEvaluator3_4() - Constructor for class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- FastEvaluator3_5 - Class in com.singularsys.jepexamples.diagnostics
- FastEvaluator3_5() - Constructor for class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- fastPower(int) - Method in class com.singularsys.jep.standard.Complex
-
Calculate integer powers by repeated multiplications.
- fastPower(int) - Method in class com.singularsys.jep.standard.ImmutableComplex
- FieldPosition - Class in com.singularsys.compatibility
-
Do nothing implementation.
- FieldPosition(int) - Constructor for class com.singularsys.compatibility.FieldPosition
- filter(Iterator<Token>) - Method in interface com.singularsys.jep.configurableparser.TokenFilter
-
Filters the list of tokens.
- filter(Iterator<Token>) - Method in class com.singularsys.jep.configurableparser.WhiteSpaceCommentFilter
- filter(List<Token>) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Filters the tokens to remove whitespace etc.
- filters - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- findNewVariables() - Method in class com.singularsys.jeptests.system.BugsTest
- fini() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest
- fini() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- flags - Variable in class com.singularsys.jep.Operator
-
Flags for type of operator Access level changed to protected in version 3.5
- FLOATING_POINT_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- floatValue() - Method in class com.singularsys.jep.standard.Complex
-
Returns real part.
- floor(Object) - Method in class com.singularsys.jep.functions.Floor
- Floor - Class in com.singularsys.jep.functions
-
A PostfixMathCommandI which find the largest integer above the number floor(pi) give 3 floor(-i) give -4
- Floor() - Constructor for class com.singularsys.jep.functions.Floor
- FLOOR - Enum constant in enum com.singularsys.jep.misc.functions.Remainder.Type
-
Remainder has same sign as dividend.
- FLOOR_QUOTIENT - Enum constant in enum com.singularsys.jep.misc.functions.Remainder.Type
- format - Variable in class com.singularsys.jep.PrintVisitor
-
The NumberFormat object used to print numbers.
- format(double) - Method in class com.singularsys.client.GWTConsoleAdapter
-
Format a number.
- format(double) - Method in class com.singularsys.compatibility.NumberFormat
- format(double, StringBuffer, FieldPosition) - Method in class com.singularsys.compatibility.DecimalFormat
- format(long, StringBuffer, FieldPosition) - Method in class com.singularsys.compatibility.DecimalFormat
- format(Object) - Method in class com.singularsys.compatibility.DecimalFormat
- format(Object) - Method in class com.singularsys.compatibility.NumberFormat
- format(Object, StringBuffer, FieldPosition) - Method in class com.singularsys.compatibility.DecimalFormat
- format(Object, StringBuffer, FieldPosition) - Method in class com.singularsys.compatibility.NumberFormat
-
Simply appends val to the StringBuffer
- format(String, Object...) - Static method in class com.singularsys.compatibility.MessageFormat
- format(String, Object...) - Static method in class com.singularsys.jep.JepMessages
-
Gets a message and uses that to format its arguments.
- formatValue(Object) - Method in class com.singularsys.jep.PrintVisitor
-
Returns a formatted version of the value.
- formatValue(Object, StringBuffer) - Method in class com.singularsys.jep.PrintVisitor
-
Appends a formatted versions of val to the string buffer.
- fp - Variable in class com.singularsys.jep.PrintVisitor
- FRACTION_FIELD - Static variable in class com.singularsys.compatibility.NumberFormat
- fromBase(String, int) - Method in class com.singularsys.jep.misc.functions.FromBase
- FromBase - Class in com.singularsys.jep.misc.functions
-
PostfixMathCommand which converts a string to a number in a given base.
- FromBase() - Constructor for class com.singularsys.jep.misc.functions.FromBase
- FromBase(int) - Constructor for class com.singularsys.jep.misc.functions.FromBase
- FromBase(int, String) - Constructor for class com.singularsys.jep.misc.functions.FromBase
- fromObject(Object) - Static method in class com.singularsys.jep.reals.RealEvaluator
- ft - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
-
Convenience reference to the FunctionTable
- FULL_BRACKET - Static variable in class com.singularsys.jep.PrintVisitor
-
Enable this mode to print all brackets.
- fun - Variable in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedPfmc
- FunctionArgSep - Variable in class com.singularsys.jep.PrintVisitor
- FunctionGrammarMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A GrammarMatcher which matches functions in the form 'atan2(y,x)'.
- FunctionGrammarMatcher(Token, Token, Token) - Constructor for class com.singularsys.jep.configurableparser.matchers.FunctionGrammarMatcher
-
Create a FunctionGrammarMatcher
- FunctionIllegalNumberOfArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- FunctionRequiresNArgumentsFoundN() - Method in interface com.singularsys.jep.GWTJepMessages
- functions - Variable in class com.singularsys.jep.misc.FunctionSet
- functions_ABoolean() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_AssignmentShouldHaveAnLValue() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_AtLestOneArgumentIsRequired() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_AttemptToSetValueOfAConstantVariable() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Binomial_IllegalValuesForArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Comparative_NotDefinedForComplexNumbers() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Cross_BothSidesMustBe2or3Dim() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_DimensionsOfVectorsDoNotMatch() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Dot_EmptyVectors() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_IndexOutOfRange() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_IndexShouldBeAnInteger() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_LhsMustBeAVariable() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_LhsMustBeAVector() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_LhsMustBeAVectorOfVectors() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_MissMatchInDimensions() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_OnlySingleDimArraysSupported() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_RhsMustBeANumber() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Ele_VariableMustBeAVector() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_Factorial_Overflow() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_If_ConditionMustBeBooleanOrNumber() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IllegalParameterException_ActualValueClass() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IllegalParameterException_ArgumentNumber() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IllegalParameterException_Comma() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IllegalParameterException_Expected() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IllegalParameterException_ExpectedMsg() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IllegalParameterException_IllegalArgument() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IllegalParameterException_IllegalArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IllegalParameterException_UnknownFunction() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IncorrectNumberOfArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IncorrectNumberOfArgumentsExpected() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IndexOutOfRange() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_IndexOutOfRangeMax() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_PostfixMathCommand_ABooleanOrNumber() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_PostfixMathCommand_AnInteger() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_PostfixMathCommand_Comma() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_PostfixMathCommand_LeftBracket() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_PostfixMathCommand_Quote() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_PostfixMathCommand_RightBracket() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_RunMethodShouldNotHaveBeenCalled() - Method in interface com.singularsys.jep.GWTJepMessages
- functions_StackError() - Method in interface com.singularsys.jep.GWTJepMessages
- FunctionSequenceGrammarMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A GrammarMatcher which matches functions in the form
atan2(seq)
whereseq
is a sequence of terms. - FunctionSequenceGrammarMatcher(Token, Token, Operator) - Constructor for class com.singularsys.jep.configurableparser.matchers.FunctionSequenceGrammarMatcher
-
Create a FunctionGrammarMatcher
- FunctionSet - Class in com.singularsys.jep.misc
-
Holds a set of functions.
- FunctionSet() - Constructor for class com.singularsys.jep.misc.FunctionSet
- FunctionTable - Class in com.singularsys.jep
-
A table holding details of the functions known to Jep.
- FunctionTable() - Constructor for class com.singularsys.jep.FunctionTable
-
Constructor with an empty map.
- FunctionTable(Map<String, PostfixMathCommandI>) - Constructor for class com.singularsys.jep.FunctionTable
-
Constructor with a pre-specified map.
- FunctionTable_ListEnd() - Method in interface com.singularsys.jep.GWTJepMessages
- FunctionTable_ListSeparator() - Method in interface com.singularsys.jep.GWTJepMessages
- FunctionTable_ListStart() - Method in interface com.singularsys.jep.GWTJepMessages
- FunctionToken - Class in com.singularsys.jep.configurableparser.tokens
-
A token representing a function name.
- FunctionToken(String, PostfixMathCommandI) - Constructor for class com.singularsys.jep.configurableparser.tokens.FunctionToken
- FunLBracket - Variable in class com.singularsys.jep.PrintVisitor
- FunRBracket - Variable in class com.singularsys.jep.PrintVisitor
- funTab - Variable in class com.singularsys.jep.ComponentSet
- funTab - Variable in class com.singularsys.jep.Jep
-
Function Table
G
- g - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- ge(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
- GE - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- GE - Static variable in class com.singularsys.jep.functions.Comparative
- GE - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- get(Object) - Method in class com.singularsys.jep.misc.FunctionSet
- getActual() - Method in exception class com.singularsys.jep.configurableparser.matchers.GrammarException
- getActualClass() - Method in exception class com.singularsys.jep.functions.IllegalParameterException
- getActualObject() - Method in exception class com.singularsys.jep.functions.IllegalParameterException
- getAdd() - Method in class com.singularsys.jep.EmptyOperatorTable
-
Returns the operator used for addition.
- getAdd() - Method in class com.singularsys.jep.OperatorTable
- getAdd() - Method in class com.singularsys.jep.OperatorTable2
- getAdd() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for addition
- getAdditionalComponents() - Method in class com.singularsys.jep.Jep
-
Returns the additional components.
- getAllowAssignment() - Method in class com.singularsys.jep.Jep
-
Whether assignment equation
y=x+1
equations are allowed. - getAllowStrings() - Method in class com.singularsys.jep.bigdecimal.BigDecComponents
-
Whether string are allowed
- getAllowStrings() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecAdd
-
Whether adding strings is allowed.
- getAllowStrings() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
-
Whether comparing strings is allowed.
- getAllowUndeclared() - Method in class com.singularsys.jep.Jep
-
Returns the value of the allowUndeclared option.
- getAltSymbols() - Method in class com.singularsys.jep.Operator
-
List of alternative symbols which can represent the same operator
- getAnd() - Method in class com.singularsys.jep.EmptyOperatorTable
- getAnd() - Method in class com.singularsys.jep.OperatorTable
- getAnd() - Method in class com.singularsys.jep.OperatorTable2
- getAnd() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for logical AND
- getAndEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getArgumentNumber() - Method in exception class com.singularsys.jep.functions.IllegalParameterException
-
Gets the number of the argument with the first argument being 0.
- getAssign() - Method in class com.singularsys.jep.EmptyOperatorTable
- getAssign() - Method in class com.singularsys.jep.OperatorTable
- getAssign() - Method in class com.singularsys.jep.OperatorTable2
- getAssign() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for assignment
- getAuxComponents() - Method in class com.singularsys.jep.ComponentSet
- getAuxComps() - Method in class com.singularsys.jep.ComponentSet
- getBaseComponents() - Method in class com.singularsys.jep.ComponentSet
- getBinaryInverseOp() - Method in class com.singularsys.jep.Operator
-
The composite or binaryInverse operator (e.g.
- getBinaryOp() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
-
If this symbol represents a binary infix operator then return it.
- getBinding() - Method in class com.singularsys.jep.Operator
-
Deprecated.
- getBitAnd() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- getBitComp() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- getBitOr() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- getBitXor() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- getChild(Node, int) - Static method in class com.singularsys.client.GWTExpose
-
Gets the child of a node
- getColumn(Node) - Static method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
-
Convenience method to get the column number of a node.
- getColumnNumber() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- getColumnNumber() - Method in exception class com.singularsys.jep.ParseException
-
Return the column number where the error occurred, or -1 if not available.
- getCommand() - Method in class com.singularsys.jepexamples.consoles.Console
-
Get a command from the input.
- getComp() - Method in class com.singularsys.jep.functions.MinMax
-
Return the Comparative objected used to order the objects.
- getCompleteString() - Method in class com.singularsys.jep.configurableparser.tokens.StringToken
- getCompleteToken() - Method in class com.singularsys.jep.configurableparser.tokens.MultiLineToken
-
A token representing the complete matched input.
- getComponents() - Method in class com.singularsys.jep.ComponentSet
- getConstants() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
A map with each constant and the number of times it occurs
- getCross() - Method in class com.singularsys.jep.EmptyOperatorTable
- getCross() - Method in class com.singularsys.jep.OperatorTable
- getCross() - Method in class com.singularsys.jep.OperatorTable2
- getCross() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for 3D cross product
- getCurrentColumn() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
-
Gets the current column used when a node is created.
- getCurrentLine() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
-
Gets the current line used when a node is created.
- getDecimalFormatSymbols() - Method in class com.singularsys.compatibility.DecimalFormat
- getDefaultVal() - Method in class com.singularsys.jep.misc.functions.Case
-
The default value, only meaningful if isHasDefault() is true.
- getDefaultValue() - Method in class com.singularsys.jep.Jep
-
Returns the default value used for new variables.
- getDefaultValue() - Method in class com.singularsys.jep.VariableFactory
- getDivide() - Method in class com.singularsys.jep.EmptyOperatorTable
- getDivide() - Method in class com.singularsys.jep.OperatorTable
- getDivide() - Method in class com.singularsys.jep.OperatorTable2
- getDivide() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for division
- getDivideEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getDot() - Method in class com.singularsys.jep.EmptyOperatorTable
- getDot() - Method in class com.singularsys.jep.OperatorTable
- getDot() - Method in class com.singularsys.jep.OperatorTable2
- getDot() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for the dot product
- getEle() - Method in class com.singularsys.jep.EmptyOperatorTable
- getEle() - Method in class com.singularsys.jep.OperatorTable
- getEle() - Method in class com.singularsys.jep.OperatorTable2
- getEle() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for getting and setting elements of a list
- getEQ() - Method in class com.singularsys.jep.EmptyOperatorTable
- getEQ() - Method in class com.singularsys.jep.OperatorTable
- getEQ() - Method in class com.singularsys.jep.OperatorTable2
- getEQ() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for equals
- getErrorMsg() - Static method in class com.singularsys.client.GWTExpose
-
Returns the error message generated by the last action.
- getErrorMsg() - Method in class com.singularsys.client.GWTInterop
-
Returns the error message generated by the last action.
- getEvaluator() - Method in class com.singularsys.jep.ComponentSet
- getEvaluator() - Method in class com.singularsys.jep.Jep
-
Returns the evaluator
- getExpected() - Method in exception class com.singularsys.jep.configurableparser.matchers.GrammarException
- getExpectedClass() - Method in exception class com.singularsys.jep.functions.IllegalParameterException
- getFalseValue() - Method in class com.singularsys.jep.functions.If
-
The value returned for false values in the two argument version.
- getFlags() - Method in class com.singularsys.jep.Operator
-
The flags for this operator.
- getFunArgSep() - Method in class com.singularsys.jep.PrintVisitor
-
Get the string separating function arguments.
- getFunction(String) - Method in class com.singularsys.jep.FunctionTable
- getFunction(String) - Method in class com.singularsys.jep.misc.CaseInsensitiveFunctionTable
- getFunctionName() - Method in exception class com.singularsys.jep.functions.IllegalParameterException
- getFunctions() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
A map with each function used and the number of times it occurred
- getFunctionTable() - Method in class com.singularsys.jep.ComponentSet
- getFunctionTable() - Method in class com.singularsys.jep.Jep
-
Returns the function table
- getFunctionTable() - Method in class com.singularsys.jep.walkers.DoNothingVisitor
- getFunLBracket() - Method in class com.singularsys.jep.PrintVisitor
-
Get the string for left bracket around function arguments.
- getFunRBracket() - Method in class com.singularsys.jep.PrintVisitor
-
Get the string for right bracket around function arguments.
- getGE() - Method in class com.singularsys.jep.EmptyOperatorTable
- getGE() - Method in class com.singularsys.jep.OperatorTable
- getGE() - Method in class com.singularsys.jep.OperatorTable2
- getGE() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for greater than or equals to
- getGrammarMatchers() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Return the list of GrammarMatchers.
- getGrammarParserFactory() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Factory used to create GrammarParsers
- getGT() - Method in class com.singularsys.jep.EmptyOperatorTable
- getGT() - Method in class com.singularsys.jep.OperatorTable
- getGT() - Method in class com.singularsys.jep.OperatorTable2
- getGT() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for greater-than
- getGwtTa() - Method in class com.singularsys.client.GWTConsoleAdapter
-
Gets the TextArea component
- getHook(Node.HookKey) - Method in interface com.singularsys.jep.parser.Node
-
Get the object associated with the key
- getHook(Node.HookKey) - Method in class com.singularsys.jep.parser.SimpleNode
-
Get the value associated with a key.
- getHook(Node.HookKey) - Method in class com.singularsys.jep.Variable
-
Get the value associated with a key.
- getId() - Method in class com.singularsys.jep.functions.Comparative
-
Return the ID of the comparative operator
- getId() - Method in class com.singularsys.jep.functions.LazyLogical
-
Return a code indicating the type of this operator
- getId() - Method in interface com.singularsys.jep.parser.Node
-
Returns the numeric id of a node type.
- getId() - Method in class com.singularsys.jep.parser.SimpleNode
-
Returns the id of the node (for simpler identification).
- getImplicitMul() - Method in class com.singularsys.jep.Jep
-
Returns the value of the implicit multiplication option.
- getInfinity() - Method in class com.singularsys.compatibility.DecimalFormatSymbols
- getInverseOp() - Method in class com.singularsys.jep.Operator
-
The unary inverse operator associated with a root or composite operator.
- getIterator() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
- getJavaValue(Object) - Static method in class com.singularsys.client.GWTExpose
-
Convert a JavaScript value to Java value suitable for Jep.
- getJavaValue(Object) - Method in class com.singularsys.client.GWTInterop
-
Convert a JavaScript value to Java value suitable for Jep.
- getJep() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
The Jep instance used by the parser
- getJSValue(Object) - Static method in class com.singularsys.client.GWTExpose
-
Convert values produced by Jep into values suitable for JavaScript.
- getJSValue(Object) - Method in class com.singularsys.client.GWTInterop
-
Convert values produced by Jep into values suitable for JavaScript.
- getKey() - Method in class com.singularsys.jep.Operator
-
Deprecated.
- getKey(Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Gets the key associated with a specific operator
- getLastRootNode() - Method in class com.singularsys.jep.Jep
-
Returns the root node of the last successfully parsed expression
- getLBracket() - Method in class com.singularsys.jep.PrintVisitor
-
Get the string for left brackets.
- getLE() - Method in class com.singularsys.jep.EmptyOperatorTable
- getLE() - Method in class com.singularsys.jep.OperatorTable
- getLE() - Method in class com.singularsys.jep.OperatorTable2
- getLE() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for less-than or equals to
- getLength() - Method in class com.singularsys.jep.configurableparser.tokens.Token
-
Gets the length of the source text matched by this token
- getLhsOp() - Method in class com.singularsys.jep.configurableparser.TernaryOperator.RhsTernaryOperator
-
Reference to left-hand operator
- getLightWeightInstance() - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- getLightWeightInstance() - Method in class com.singularsys.jep.ComponentSubset
- getLightWeightInstance() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Returns a lightweight instance, suitable for use in multiple evaluation threads.
- getLightWeightInstance() - Method in class com.singularsys.jep.configurableparser.ShuntingYard.ShuntingYardGrammarParserFactory
-
returns this.
- getLightWeightInstance() - Method in class com.singularsys.jep.configurableparser.Tokenizer.StandardTokenizerFactory
-
returns this
- getLightWeightInstance() - Method in class com.singularsys.jep.EmptyOperatorTable
- getLightWeightInstance() - Method in class com.singularsys.jep.FunctionTable
-
Returns
this
. - getLightWeightInstance() - Method in interface com.singularsys.jep.JepComponent
-
Gets a light-weight instance suitable for using in multiple threads.
- getLightWeightInstance() - Method in class com.singularsys.jep.misc.CaseInsensitiveVariableTable
- getLightWeightInstance() - Method in class com.singularsys.jep.misc.FunctionSet
- getLightWeightInstance() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- getLightWeightInstance() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard.LineNumberGrammarParserFactory
-
returns this.
- getLightWeightInstance() - Method in class com.singularsys.jep.misc.MacroFunction
-
Returns a new copy of the function, uses the
MacroFunction(String, String[], String, Node)
constructor. - getLightWeightInstance() - Method in class com.singularsys.jep.misc.NullParser
- getLightWeightInstance() - Method in class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionFactory
- getLightWeightInstance() - Method in class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEvaluator
- getLightWeightInstance() - Method in class com.singularsys.jep.NodeFactory
- getLightWeightInstance() - Method in class com.singularsys.jep.OperatorTable
- getLightWeightInstance() - Method in class com.singularsys.jep.parser.StandardParser
- getLightWeightInstance() - Method in class com.singularsys.jep.PrintVisitor
- getLightWeightInstance() - Method in class com.singularsys.jep.PrintVisitor.NullPrintVisitor
-
Returns this
- getLightWeightInstance() - Method in class com.singularsys.jep.reals.RealEvaluator
- getLightWeightInstance() - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- getLightWeightInstance() - Method in class com.singularsys.jep.standard.FastEvaluator
- getLightWeightInstance() - Method in class com.singularsys.jep.standard.StandardEvaluator
- getLightWeightInstance() - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- getLightWeightInstance() - Method in class com.singularsys.jep.VariableFactory
- getLightWeightInstance() - Method in class com.singularsys.jep.VariableTable
-
Returns a new empty VariableTable.
- getLightWeightInstance() - Method in class com.singularsys.jep.walkers.DoNothingVisitor
- getLightWeightInstance() - Method in class com.singularsys.jep.walkers.PostfixEvaluator
-
Return new PostfixEvaluator
- getLightWeightInstance() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- getLightWeightInstance() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- getLightWeightInstance() - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- getLineNumber() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- getLineNumber() - Method in exception class com.singularsys.jep.ParseException
-
Return the line number where the error occurred, or -1 if not available.
- getLineNumber(Node) - Static method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
-
Convenience method to get the line number of a node.
- getList() - Method in class com.singularsys.jep.EmptyOperatorTable
- getList() - Method in class com.singularsys.jep.OperatorTable
- getList() - Method in class com.singularsys.jep.OperatorTable2
- getList() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for creation of lists
[1,2,3]
- getLShift() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- getLShiftEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getLT() - Method in class com.singularsys.jep.EmptyOperatorTable
- getLT() - Method in class com.singularsys.jep.OperatorTable
- getLT() - Method in class com.singularsys.jep.OperatorTable2
- getLT() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for less-than
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.BigDecComponents
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.BigDecFunctionTable
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.BigDecOperatorTable
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecAdd
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecDiv
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMod
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMul
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecNegate
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecPow
- getMathContext() - Method in class com.singularsys.jep.bigdecimal.functions.BigDecSub
- getMaxDepth() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
The depth of the tree
- getMaxLen() - Method in class com.singularsys.jep.PrintVisitor
- getMessage() - Method in exception class com.singularsys.jep.functions.IllegalParameterException
- getMessage() - Method in exception class com.singularsys.jep.ParseException
- getMessage() - Method in exception class com.singularsys.jep.parser.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMinusEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getMinusOne() - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- getMinusOne() - Method in interface com.singularsys.jep.NumberFactory
-
Return an object representing ZERO-ONE.
- getMinusOne() - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- getMod() - Method in class com.singularsys.jep.EmptyOperatorTable
- getMod() - Method in class com.singularsys.jep.OperatorTable
- getMod() - Method in class com.singularsys.jep.OperatorTable2
- getMod() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for modulus
- getMode() - Method in class com.singularsys.jep.PrintVisitor
-
Return the current print mode.
- getMode(int) - Method in class com.singularsys.jep.PrintVisitor
-
Returns true if the specified testmode is active.
- getModEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getMultiply() - Method in class com.singularsys.jep.EmptyOperatorTable
- getMultiply() - Method in class com.singularsys.jep.OperatorTable
- getMultiply() - Method in class com.singularsys.jep.OperatorTable2
- getMultiply() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for multiplication
- getName() - Method in class com.singularsys.jep.functions.PostfixMathCommand
- getName() - Method in class com.singularsys.jep.Operator
-
returns a unique name defining this operator.
- getName() - Method in class com.singularsys.jep.parser.ASTConstant
- getName() - Method in class com.singularsys.jep.parser.ASTFunNode
-
Returns the name of the node (operator symbol or function name).
- getName() - Method in class com.singularsys.jep.parser.ASTOpNode
-
Returns the name of the node (operator symbol or function name).
- getName() - Method in class com.singularsys.jep.parser.ASTStart
- getName() - Method in class com.singularsys.jep.parser.ASTVarNode
-
Returns the name of the variable.
- getName() - Method in interface com.singularsys.jep.parser.Node
-
Return the name associated with the node (if any).
- getName() - Method in interface com.singularsys.jep.PostfixMathCommandI
-
The name of the function used in error messages
- getName() - Method in class com.singularsys.jep.Variable
-
Returns the variable name.
- getNaN() - Method in class com.singularsys.compatibility.DecimalFormatSymbols
- getNChildren(Node) - Static method in class com.singularsys.client.GWTExpose
-
Return the number of children of a node
- getNE() - Method in class com.singularsys.jep.EmptyOperatorTable
- getNE() - Method in class com.singularsys.jep.OperatorTable
- getNE() - Method in class com.singularsys.jep.OperatorTable2
- getNE() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for not equals
- getNode() - Method in class com.singularsys.client.GWTInterop.GWTNode
- getNodeFactory() - Method in class com.singularsys.jep.ComponentSet
- getNodeFactory() - Method in class com.singularsys.jep.Jep
-
Returns the node factory
- getNodeFactory() - Method in class com.singularsys.jep.walkers.DoNothingVisitor
- getNodeName(Node) - Static method in class com.singularsys.client.GWTExpose
-
Returns the name of a variable or function node
- getNodeOperator(Node) - Static method in class com.singularsys.client.GWTExpose
- getNodeValue(Node) - Static method in class com.singularsys.client.GWTExpose
-
Returns the value of a constant or variable node
- getNop() - Method in class com.singularsys.jep.EmptyOperatorTable
- getNop() - Method in class com.singularsys.jep.OperatorTable
- getNop() - Method in class com.singularsys.jep.OperatorTable2
- getNop() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the no-op operator
- getNot() - Method in class com.singularsys.jep.EmptyOperatorTable
- getNot() - Method in class com.singularsys.jep.OperatorTable
- getNot() - Method in class com.singularsys.jep.OperatorTable2
- getNot() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for logical NOT
- getNullBehaviour() - Method in class com.singularsys.jep.misc.functions.Case
-
Behaviour when passed zero arguments.
- getNullBehaviour() - Method in class com.singularsys.jep.misc.functions.Switch
-
Behaviour when passed zero arguments.
- getNullBehaviour() - Method in class com.singularsys.jep.misc.functions.SwitchDefault
-
Behaviour when passed zero arguments.
- getNumberFactory() - Method in class com.singularsys.jep.ComponentSet
- getNumberFactory() - Method in class com.singularsys.jep.Jep
-
Returns the number factory
- getNumberOfParameters() - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Return the required number of parameters.
- getNumberOfParameters() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNary
- getNumberOfParameters() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNaryBinary
- getNumberOfParameters() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedPfmc
- getNumberOfParameters() - Method in interface com.singularsys.jep.PostfixMathCommandI
-
Returns the number of required parameters, or -1 if any number of parameters is allowed.
- getNumConst() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- getNumFunctions() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- getNumNodes() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- getNumOperators() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- getNumOps() - Method in class com.singularsys.jep.EmptyOperatorTable
- getNumOps() - Method in class com.singularsys.jep.OperatorTable
- getNumUniqueVariables() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- getNumVariables() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- getOne() - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- getOne() - Method in interface com.singularsys.jep.NumberFactory
-
Return an object representing ONE the multiplicative identity.
- getOne() - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- getOperator() - Method in class com.singularsys.jep.parser.ASTConstant
- getOperator() - Method in class com.singularsys.jep.parser.ASTFunNode
- getOperator() - Method in class com.singularsys.jep.parser.ASTOpNode
-
Returns the id number of the operator if the node is an operator.
- getOperator() - Method in class com.singularsys.jep.parser.ASTStart
- getOperator() - Method in class com.singularsys.jep.parser.ASTVarNode
- getOperator() - Method in interface com.singularsys.jep.parser.Node
-
Return the operator associated with a Node (if any)
- getOperator(int) - Method in class com.singularsys.jep.OperatorTable
-
Get operator by its key code.
- getOperator(EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Get operator by its key code.
- getOperatorMap() - Method in class com.singularsys.jep.EmptyOperatorTable
- getOperators() - Method in class com.singularsys.jep.EmptyOperatorTable
-
Return the full list of operators
- getOperators() - Method in class com.singularsys.jep.OperatorTable
- getOperators() - Method in interface com.singularsys.jep.OperatorTableI
- getOperators() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
A map with each operator used and the number of times it occurred
- getOperatorsByName(String) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Get the operator with a given name
- getOperatorsByName(String) - Method in class com.singularsys.jep.OperatorTable
-
Get the operator with a given name
- getOperatorsByName(String) - Method in interface com.singularsys.jep.OperatorTableI
-
Get the operator with a given name
- getOperatorsBySymbol(String) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Gets all the operators with a given symbol
- getOperatorsBySymbol(String) - Method in class com.singularsys.jep.OperatorTable
-
Gets all the operators with a given symbol
- getOperatorsBySymbol(String) - Method in interface com.singularsys.jep.OperatorTableI
-
Gets all the operators with a given symbol
- getOperatorTable() - Method in class com.singularsys.jep.ComponentSet
- getOperatorTable() - Method in class com.singularsys.jep.Jep
-
Returns the operator table
- getOperatorTable() - Method in class com.singularsys.jep.walkers.DoNothingVisitor
- getOperatorTokenMatcher() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Return the OperatorTokenMatcher.
- getOpPrec(Operator) - Static method in class com.singularsys.client.GWTExpose
- getOps() - Method in class com.singularsys.jep.walkers.ExpressionConsolidator
-
The list of operators which are consolidated
- getOpSymbol(Operator) - Static method in class com.singularsys.client.GWTExpose
- getOr() - Method in class com.singularsys.jep.EmptyOperatorTable
- getOr() - Method in class com.singularsys.jep.OperatorTable
- getOr() - Method in class com.singularsys.jep.OperatorTable2
- getOr() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for logical OR
- getOrEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getPageType() - Method in class com.singularsys.client.GWTJepEntry
-
Reads the
window.PageType
variable from JavaScript - getParameterNames() - Method in class com.singularsys.jep.misc.MacroFunction
- getParser() - Method in class com.singularsys.jep.ComponentSet
- getParser() - Method in class com.singularsys.jep.Jep
-
Returns the parser
- getParts() - Method in class com.singularsys.jep.ComponentSubset
- getPfmc() - Method in class com.singularsys.jep.configurableparser.tokens.FunctionToken
- getPfmc() - Method in exception class com.singularsys.jep.functions.IllegalParameterException
- getPFMC() - Method in class com.singularsys.jep.Operator
- getPFMC() - Method in class com.singularsys.jep.parser.ASTConstant
- getPFMC() - Method in class com.singularsys.jep.parser.ASTFunNode
-
Returns the math command class associated with this node.
- getPFMC() - Method in class com.singularsys.jep.parser.ASTStart
- getPFMC() - Method in class com.singularsys.jep.parser.ASTVarNode
- getPFMC() - Method in interface com.singularsys.jep.parser.Node
-
Return the pfmc of a node (if any)
- getPlusEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getPostDec() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getPostInc() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getPower() - Method in class com.singularsys.jep.EmptyOperatorTable
- getPower() - Method in class com.singularsys.jep.OperatorTable
- getPower() - Method in class com.singularsys.jep.OperatorTable2
- getPower() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for powers
- getPrecedence() - Method in class com.singularsys.jep.Operator
-
Get the precedence of the operator.
- getPreDec() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getPrefixOp() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- getPreInc() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getPrintSymbol() - Method in class com.singularsys.jep.Operator
-
The symbol used for printing.
- getPrintVisitor() - Method in class com.singularsys.jep.ComponentSet
- getPrintVisitor() - Method in class com.singularsys.jep.Jep
-
Returns the print visitor
- getPrompt() - Method in class com.singularsys.client.GWTConsole
- getPrompt() - Method in class com.singularsys.jepexamples.consoles.BigDecimalConsole
- getPrompt() - Method in class com.singularsys.jepexamples.consoles.Console
-
Prints the prompt string.
- getQuoteChar() - Method in class com.singularsys.jep.configurableparser.tokens.StringToken
- getRange() - Method in class com.singularsys.jep.EmptyOperatorTable
- getRange() - Method in class com.singularsys.jep.OperatorTable
- getRange() - Method in class com.singularsys.jep.OperatorTable2
- getRange() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for specifying a range
- getRBracket() - Method in class com.singularsys.jep.PrintVisitor
-
Get the string for right brackets.
- getRhsOperator() - Method in class com.singularsys.jep.configurableparser.TernaryOperator
- getRhsSymbol() - Method in class com.singularsys.jep.configurableparser.TernaryOperator
-
Get symbol used to for right-hand operator
- getRoot() - Method in class com.singularsys.jep.misc.javaops.OpEquals
- getRoot() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullSafeEquals
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedAbstractInc
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedBinary
- getRoot() - Method in interface com.singularsys.jep.misc.nullwrapper.functions.NullWrappedFunctionI
-
Get to function which this function wraps.
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedIf
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedLazyLogical
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNary
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNaryBinary
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedPfmc
- getRoot() - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedUnary
- getRootOp() - Method in class com.singularsys.jep.Operator
-
The basic group operator associated with the inverse or composite operator.
- getRShift() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- getRShiftEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getSampleType() - Method in class com.singularsys.jepexamples.diagnostics.ExamineResultTypes.ShortTypeCreator
- getSampleType() - Method in class com.singularsys.jepexamples.diagnostics.ExamineResultTypes.TypeCreator
- getSource() - Method in class com.singularsys.jep.configurableparser.tokens.Token
-
Gets the source text matched by this token
- getSpecialFunction(PostfixMathCommandI) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionFactory
-
Handles special functions.
- getString(String) - Static method in class com.singularsys.jep.JepMessages
- getString(String) - Static method in class com.singularsys.jepexamples.EgMessages
- getSubtract() - Method in class com.singularsys.jep.EmptyOperatorTable
- getSubtract() - Method in class com.singularsys.jep.OperatorTable
- getSubtract() - Method in class com.singularsys.jep.OperatorTable2
- getSubtract() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for subtraction
- getSuffixOp() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- getSymbol() - Method in class com.singularsys.jep.Operator
-
returns the symbol used by this operator.
- getSymbolToken(String) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Return the SymbolToken for the given string.
- getSymbolToken(String) - Method in class com.singularsys.jep.configurableparser.matchers.SymbolTokenMatcher
-
Gets the root SymbolToken for this string.
- getSymbolTokenMatcher() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Return the SymbolTokenMatcher.
- getTernaryOp() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- getTernCond() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getTimesEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getting_an_unset_HookKey_returns_null() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- getting_an_unset_HookKey_returns_null() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- getTokenFilters() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Return the list of filters.
- getTokenizerFactory() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
The factory used to create Tokenizers
- getTokenMatchers() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Return the list of TokenMatchers
- getTolerance() - Method in class com.singularsys.jep.functions.Comparative
-
Returns the tolerance used for comparing complex numbers
- getTopNode() - Method in class com.singularsys.jep.misc.MacroFunction
- getTwo() - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- getTwo() - Method in interface com.singularsys.jep.NumberFactory
-
Return an object representing ONE+ONE.
- getTwo() - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- getTypeDescriptor() - Method in class com.singularsys.jepexamples.diagnostics.ExamineResultTypes.TypeCreator
- getUDivide() - Method in class com.singularsys.jep.EmptyOperatorTable
- getUDivide() - Method in class com.singularsys.jep.OperatorTable
-
unary division i.e.
- getUDivide() - Method in class com.singularsys.jep.OperatorTable2
-
unary division i.e.
- getUDivide() - Method in interface com.singularsys.jep.OperatorTableI
-
unary division i.e.
- getUMinus() - Method in class com.singularsys.jep.EmptyOperatorTable
- getUMinus() - Method in class com.singularsys.jep.OperatorTable
- getUMinus() - Method in class com.singularsys.jep.OperatorTable2
- getUMinus() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for unitary minus
-x
- getUnquotedString() - Method in class com.singularsys.jep.configurableparser.tokens.StringToken
-
Gets the string without quote marks.
- getUPlus() - Method in class com.singularsys.jep.EmptyOperatorTable
- getUPlus() - Method in class com.singularsys.jep.OperatorTable
- getUPlus() - Method in class com.singularsys.jep.OperatorTable2
- getUPlus() - Method in interface com.singularsys.jep.OperatorTableI
-
Gets the operator used for unary addition
+x
- getURShift() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- getURShiftEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getVal(Variable) - Method in class com.singularsys.jep.misc.javaops.AbstractInc
- getValue() - Method in class com.singularsys.jep.configurableparser.tokens.NumberToken
-
Gets the value of the object.
- getValue() - Method in class com.singularsys.jep.misc.functions.ConstantFunction
- getValue() - Method in class com.singularsys.jep.parser.ASTConstant
- getValue() - Method in class com.singularsys.jep.parser.ASTFunNode
- getValue() - Method in class com.singularsys.jep.parser.ASTStart
- getValue() - Method in class com.singularsys.jep.parser.ASTVarNode
-
Return the value represented by the variable
- getValue() - Method in interface com.singularsys.jep.parser.Node
-
Return the value associated with the node (if any).
- getValue() - Method in class com.singularsys.jep.parser.Token
-
An optional attribute value of the Token.
- getValue() - Method in class com.singularsys.jep.Variable
-
Returns the variable's value.
- getValue(double) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.BDConfig
- getValue(double) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
- getValue(Complex) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
- getVar() - Method in class com.singularsys.jep.parser.ASTConstant
- getVar() - Method in class com.singularsys.jep.parser.ASTFunNode
- getVar() - Method in class com.singularsys.jep.parser.ASTStart
- getVar() - Method in class com.singularsys.jep.parser.ASTVarNode
- getVar() - Method in interface com.singularsys.jep.parser.Node
-
Return the variable associated with a Node (if any)
- getVar(Node) - Method in class com.singularsys.jep.misc.javaops.AbstractInc
- getVariable() - Method in class com.singularsys.client.GWTInterop.GWTVariable
- getVariable(Evaluator, ASTVarNode) - Method in class com.singularsys.jep.functions.Ele
-
Find the variable associated with a node.
- getVariable(Evaluator, ASTVarNode) - Method in class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEle
- getVariable(String) - Method in class com.singularsys.jep.Jep
-
Returns the
Variable
instance of the variablename
. - getVariable(String) - Method in class com.singularsys.jep.misc.CaseInsensitiveVariableTable
-
Gets an existing variable, returns null if variable is not found.
- getVariable(String) - Method in class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEvaluator
- getVariable(String) - Method in class com.singularsys.jep.VariableTable
-
Gets an existing variable, returns null if variable is not found.
- getVariableFactory() - Method in class com.singularsys.jep.ComponentSet
- getVariableFactory() - Method in class com.singularsys.jep.Jep
-
Returns the variable factory
- getVariableFactory() - Method in class com.singularsys.jep.VariableTable
- getVariableNames() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
Return the names of the variables, sorted alphabetically.
- getVariables() - Method in class com.singularsys.jep.VariableTable
-
Returns a list of all the variables in the table.
- getVariables() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
A map with each variable used and the number of times it occurred
- getVariableTable() - Method in class com.singularsys.jep.ComponentSet
- getVariableTable() - Method in class com.singularsys.jep.Jep
-
Returns the variable table
- getVariableTable() - Method in class com.singularsys.jep.walkers.DoNothingVisitor
- getVariableValue(String) - Method in class com.singularsys.client.GWTInterop
-
Gets the value of a variable as an object value
- getVariableValue(String) - Method in class com.singularsys.jep.Jep
-
Returns the value of the variable
name
. - getVariableValueO(String) - Static method in class com.singularsys.client.GWTExpose
-
Gets the value of a variable as an object value
- getVars() - Method in class com.singularsys.jep.misc.MacroFunction
-
Get the internal variables used, these have specific names like 'fun::x'
- getWrappedFunction(PostfixMathCommandI) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionFactory
-
Gets a wrapped function, returns a function which will handle null values correctly.
- getXOrEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- getZero() - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- getZero() - Method in interface com.singularsys.jep.NumberFactory
-
Return an object representing ZERO the additive identity.
- getZero() - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- getZeroLengthErrorBehaviour() - Method in class com.singularsys.jep.functions.ArrayFunctionBase
- go(int, int) - Method in class com.singularsys.jepexamples.diagnostics.ParseSpeed
- gpf - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- GrammarException - Exception Class in com.singularsys.jep.configurableparser.matchers
-
Signals grammatical errors.
- GrammarException(String, int, int) - Constructor for exception class com.singularsys.jep.configurableparser.matchers.GrammarException
-
Build a GrammarException
- GrammarException(String, Token) - Constructor for exception class com.singularsys.jep.configurableparser.matchers.GrammarException
- GrammarException(String, Token, Token) - Constructor for exception class com.singularsys.jep.configurableparser.matchers.GrammarException
- GrammarMatcher - Interface in com.singularsys.jep.configurableparser.matchers
-
Interface defining matchers for custom grammatical elements.
- GrammarParser - Interface in com.singularsys.jep.configurableparser
-
Interface used by
GrammarMatcher
- GrammarParserFactory - Interface in com.singularsys.jep.configurableparser
-
Abstract Factory defining how to create a GrammarParser
- group() - Method in class com.singularsys.compatibility.Matcher
- group(int) - Method in class com.singularsys.compatibility.Matcher
- gt(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
- GT - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- GT - Static variable in class com.singularsys.jep.functions.Comparative
- GT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- GWTConsole - Class in com.singularsys.client
-
GWT enabled Console application.
- GWTConsole() - Constructor for class com.singularsys.client.GWTConsole
- GWTConsoleAdapter - Class in com.singularsys.client
-
Class handling most of the I/O interaction of of Console apps so that they can use an HTML TextArea for I/O.
- GWTConsoleAdapter(Console) - Constructor for class com.singularsys.client.GWTConsoleAdapter
-
Constructor
- GWTEgMessages - Interface in com.singularsys.jepexamples
-
Interface to represent the properties in the message file.
- GWTExpose - Class in com.singularsys.client
-
GWT entry point exposing parts of the Jep system to JavaScript using the JSNI system.
- GWTExpose() - Constructor for class com.singularsys.client.GWTExpose
- GWTInterop - Class in com.singularsys.client
-
GWT entry point exposing parts of the Jep system to JavaScript using the JsInterop system.
- GWTInterop() - Constructor for class com.singularsys.client.GWTInterop
-
Creates a Jep instance using the
StandardConfigurableParser
- GWTInterop.GWTNode - Class in com.singularsys.client
-
Wrapper type for a
Node
that can be passed back to JavaScript - GWTInterop.GWTVariable - Class in com.singularsys.client
-
Wrapper type for a
Variable
that can be passed back to JavaScript - GWTJepEntry - Class in com.singularsys.client
-
Entry point classes allowing the all examples to be accessed from the same library.
- GWTJepEntry() - Constructor for class com.singularsys.client.GWTJepEntry
- GWTJepMessages - Interface in com.singularsys.jep
-
Interface to represent the properties in the message file.
- GWTNode(Node) - Constructor for class com.singularsys.client.GWTInterop.GWTNode
- GWTSimple - Class in com.singularsys.client
-
A Simple GWT application.
- GWTSimple() - Constructor for class com.singularsys.client.GWTSimple
- GWTVariable(Variable) - Constructor for class com.singularsys.client.GWTInterop.GWTVariable
H
- handleError(Exception) - Method in class com.singularsys.jepexamples.consoles.Console
-
Handle an error in the parse and evaluate routines.
- hashCode() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- hashCode() - Method in class com.singularsys.jep.standard.Complex
-
Always override hashCode when you override equals.
- hashCommentMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
-
Recognise comments of the form # ...
- hasNextInt() - Method in class com.singularsys.compatibility.Scanner
-
Returns false
- hasNullSafeEquals - Variable in class com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable
- hasValidValue() - Method in class com.singularsys.jep.Variable
-
Is the value of this variable valid?
- HexNumberTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Matches hexadecimal numbers, in the format 0xff.
- HexNumberTokenMatcher() - Constructor for class com.singularsys.jep.configurableparser.matchers.HexNumberTokenMatcher
- history - Variable in class com.singularsys.jepexamples.consoles.Console
-
History
- hookKeys() - Method in interface com.singularsys.jep.parser.Node
-
Get all the keys defined for this node.
- hookKeys() - Method in class com.singularsys.jep.parser.SimpleNode
- hookKeys() - Method in class com.singularsys.jep.Variable
-
Return all the hooks set for this variable.
- HookRemover - Class in com.singularsys.jep.walkers
-
Remove a specific hook from any node which has it on a tree
- HookRemover() - Constructor for class com.singularsys.jep.walkers.HookRemover
-
Remove all hooks of all types
- HookRemover(Node.HookKey) - Constructor for class com.singularsys.jep.walkers.HookRemover
-
Remove all hooks with this hook
- HookRemover(Node.HookKey, Object) - Constructor for class com.singularsys.jep.walkers.HookRemover
-
Remove all hooks with this hook and value
- HookRemoverTest - Class in com.singularsys.jeptests.unit.walkers
- HookRemoverTest() - Constructor for class com.singularsys.jeptests.unit.walkers.HookRemoverTest
- hornerExpression(String, int) - Static method in class com.singularsys.jepexamples.diagnostics.Utils
-
Generate a string giving an approximation to log using Horner expression of the form "x*(1/1-x*(1/2-x*(1/3-x*(1/4 ...))))"
I
- I - Static variable in class com.singularsys.jep.standard.Complex
-
Constant 0+1 i
- id - Variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
- id - Variable in class com.singularsys.jep.functions.LazyLogical
-
Represents which logical operator this is.
- id - Variable in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedLazyLogical
-
Represents which logical operator this is.
- id - Variable in class com.singularsys.jep.parser.SimpleNode
- IdentifierToken - Class in com.singularsys.jep.configurableparser.tokens
-
Token representing variables or function.
- IdentifierToken(String) - Constructor for class com.singularsys.jep.configurableparser.tokens.IdentifierToken
- IdentifierTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Matches identifiers: variables or function names.
- IdentifierTokenMatcher(Pattern) - Constructor for class com.singularsys.jep.configurableparser.matchers.IdentifierTokenMatcher
- IdentifierTokenMatcher(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.IdentifierTokenMatcher
-
Construct and identifier matcher.
- Identity - Class in com.singularsys.jep.functions
-
A Unary operator which does nothing, used for unary plus +x.
- Identity() - Constructor for class com.singularsys.jep.functions.Identity
- If - Class in com.singularsys.jep.functions
-
The if(condExpr, posExpr, negExpr) function.
- If() - Constructor for class com.singularsys.jep.functions.If
- If(Object) - Constructor for class com.singularsys.jep.functions.If
-
If this constructor is used then a two argument version can be used
if(condExpr, posExpr)
is also available. - IllegalNodeTypeEncountered() - Method in interface com.singularsys.jep.GWTJepMessages
- IllegalParameterException - Exception Class in com.singularsys.jep.functions
-
Represents an illegal parameter
- IllegalParameterException(PostfixMathCommand, int, Object) - Constructor for exception class com.singularsys.jep.functions.IllegalParameterException
-
An exception where the expected type is not known.
- IllegalParameterException(PostfixMathCommand, Object, Object) - Constructor for exception class com.singularsys.jep.functions.IllegalParameterException
-
An exception where two arguments are incompatible.
- IllegalParameterException(PostfixMathCommandI, int, Class<?>, Object) - Constructor for exception class com.singularsys.jep.functions.IllegalParameterException
-
Exception where the target type is known.
- IllegalParameterException(PostfixMathCommandI, int, String, Object) - Constructor for exception class com.singularsys.jep.functions.IllegalParameterException
-
Exception where a specific message is given for the expected type
- im() - Method in class com.singularsys.jep.standard.Complex
-
Returns the imaginary component of this object
- im(Object) - Method in class com.singularsys.jep.functions.Imaginary
- image - Variable in class com.singularsys.jep.parser.Token
-
The string image of the token.
- Imaginary - Class in com.singularsys.jep.functions
-
Finds the imaginary part of a complex number.
- Imaginary() - Constructor for class com.singularsys.jep.functions.Imaginary
- ImmutableComplex - Class in com.singularsys.jep.standard
-
An Immutable version of the Complex numbers.
- ImmutableComplex() - Constructor for class com.singularsys.jep.standard.ImmutableComplex
- ImmutableComplex(double) - Constructor for class com.singularsys.jep.standard.ImmutableComplex
- ImmutableComplex(double, double) - Constructor for class com.singularsys.jep.standard.ImmutableComplex
- ImmutableComplex(Complex) - Constructor for class com.singularsys.jep.standard.ImmutableComplex
- ImmutableComplex(Number) - Constructor for class com.singularsys.jep.standard.ImmutableComplex
- implicitMul - Static variable in class com.singularsys.jep.configurableparser.ShuntingYard
- implicitMul - Variable in class com.singularsys.jep.Jep
-
Implicit Multiplication option
- ImportationVisitor - Class in com.singularsys.jep.walkers
-
Imports an expression from one Jep instance into another.
- ImportationVisitor(Jep) - Constructor for class com.singularsys.jep.walkers.ImportationVisitor
- IN - Enum constant in enum com.singularsys.jeptests.system.ExtendedParserTest.InOperators
- INDENTIFIER1 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- INDENTIFIER2 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- indexShift - Variable in class com.singularsys.jep.functions.Ele
- init() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest
- init() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- init(Jep) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- init(Jep) - Method in class com.singularsys.jep.ComponentSubset
- init(Jep) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.ArrayAccessGrammarMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.BracketedSequenceGrammarMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.FunctionGrammarMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.FunctionSequenceGrammarMatcher
- init(Jep) - Method in interface com.singularsys.jep.configurableparser.matchers.GrammarMatcher
-
Delayed initialisation, this method is called whenever components of the jep instance are changed.
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.HexNumberTokenMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.IdentifierTokenMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.ListGrammarMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.ListOrBracketGrammarMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.MultiLineMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.NumberTokenMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
-
Initializes the
map
andtokens
member from the list of operators in the operator table of the Jep instance. - init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.RoundBracketGrammarMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.SingleArgFunctionMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher2
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.SymbolTokenMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.TerminatorTokenMatcher
- init(Jep) - Method in interface com.singularsys.jep.configurableparser.matchers.TokenMatcher
-
Initialize the matcher when the Jep instance is known.
- init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.WhiteSpaceTokenMatcher
- init(Jep) - Method in class com.singularsys.jep.configurableparser.ShuntingYard.ShuntingYardGrammarParserFactory
- init(Jep) - Method in interface com.singularsys.jep.configurableparser.TokenFilter
- init(Jep) - Method in class com.singularsys.jep.configurableparser.Tokenizer.StandardTokenizerFactory
-
Does nothing
- init(Jep) - Method in class com.singularsys.jep.configurableparser.tokens.MultiLineToken
- init(Jep) - Method in class com.singularsys.jep.configurableparser.WhiteSpaceCommentFilter
- init(Jep) - Method in class com.singularsys.jep.EmptyOperatorTable
- init(Jep) - Method in class com.singularsys.jep.FunctionTable
- init(Jep) - Method in interface com.singularsys.jep.JepComponent
-
Initialize the component.
- init(Jep) - Method in class com.singularsys.jep.misc.FunctionSet
- init(Jep) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
- init(Jep) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard.LineNumberGrammarParserFactory
- init(Jep) - Method in class com.singularsys.jep.misc.MacroFunction
-
The init method must be called after construction.
- init(Jep) - Method in class com.singularsys.jep.misc.NullParser
- init(Jep) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionFactory
- init(Jep) - Method in class com.singularsys.jep.misc.OperatorAsFunctionGrammarMatcher
- init(Jep) - Method in class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEvaluator
- init(Jep) - Method in class com.singularsys.jep.NodeFactory
- init(Jep) - Method in class com.singularsys.jep.OperatorTable
- init(Jep) - Method in class com.singularsys.jep.parser.StandardParser
- init(Jep) - Method in class com.singularsys.jep.PrintVisitor
- init(Jep) - Method in class com.singularsys.jep.PrintVisitor.NullPrintVisitor
- init(Jep) - Method in class com.singularsys.jep.reals.RealEvaluator
- init(Jep) - Method in class com.singularsys.jep.reals.RealVariableTable
-
Will add constants if we now have a variable factory.
- init(Jep) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
- init(Jep) - Method in class com.singularsys.jep.standard.FastEvaluator
- init(Jep) - Method in class com.singularsys.jep.standard.StandardEvaluator
- init(Jep) - Method in class com.singularsys.jep.standard.StandardOperatorTable
- init(Jep) - Method in class com.singularsys.jep.standard.StandardVariableTable
-
Will add constants if we now have a variable factory.
- init(Jep) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- init(Jep) - Method in class com.singularsys.jep.VariableFactory
- init(Jep) - Method in class com.singularsys.jep.VariableTable
- init(Jep) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
- init(Jep) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
- init(Jep) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
- init(Jep) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- init(Jep) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- init(Jep) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- init(OperatorTableI) - Method in class com.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
-
Initializes the
map
andtokens
member from the list of operators in the operator table. - initialise() - Method in class com.singularsys.jepexamples.consoles.BigDecimalConsole
- initialise() - Method in class com.singularsys.jepexamples.consoles.Console
-
sets up all the needed objects.
- initialise() - Method in class com.singularsys.jepexamples.consoles.CPConsole
- initialise() - Method in class com.singularsys.jepexamples.consoles.PostfixEvaluationConsole
- initialise() - Method in class com.singularsys.jepexamples.consoles.PrefixDumperConsole
- initialise() - Method in class com.singularsys.jepexamples.consoles.VectorConsole
- initMultiParse(Reader) - Method in class com.singularsys.jep.Jep
-
Initialises the parser with a Reader for parsing with multiple expressions.
- initMultiParse(String) - Method in class com.singularsys.jep.Jep
-
Initialises the parser for parsing a string with multiple expressions.
- inputLoop() - Method in class com.singularsys.jepexamples.consoles.Console
-
The main input loop for interactive operation.
- insertOperator(int, Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
-
Add an operator with a new precedence level which is lower than the existing op.
- insertOperator(EmptyOperatorTable.OperatorKey, Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Add an operator with a new precedence level which is equal to the existing op.
- insertOperator(Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Add an operator with a new precedence level which is equal to the existing op.
- insertOperator(Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
-
Add an operator which a new precedence level which is lower than the existing op
- instanceOf(Class<T>, BiFunction<T, T, ? super Object>) - Static method in class com.singularsys.jep.functions.BinaryFunction
-
Create a BinaryFunction from a lambda expression where both arguments are of a specified type.
- instanceOf(Class<T>, BiFunction<T, T, ? super Object>) - Static method in class com.singularsys.jep.functions.NaryBinaryFunction
-
Create a NaryBinaryFunction from a lambda expression where both arguments are of a specified type.
- instanceOf(Class<T>, Function<T, ? super Object>) - Static method in class com.singularsys.jep.functions.UnaryFunction
-
Create a UnaryFunction from a lambda expression where the argument is of a specified type.
- instanceOf(BiFunction<Object, Object, ? super Object>) - Static method in class com.singularsys.jep.functions.BinaryFunction
-
Create a BinaryFunction from a lambda expression where arguments can be Objects.
- instanceOf(BiFunction<Object, Object, ? super Object>) - Static method in class com.singularsys.jep.functions.NaryBinaryFunction
-
Create a NaryBinaryFunction from a lambda expression where arguments can be Objects.
- instanceOf(Function<Object, ? super Object>) - Static method in class com.singularsys.jep.functions.UnaryFunction
-
Create a UnaryFunction from a lambda expression where the argument can be any Object.
- instanceOf(Supplier<? super Object>) - Static method in class com.singularsys.jep.functions.NullaryFunction
-
Create a NullaryFunction from a lambda expression.
- INTEGER_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- intValue() - Method in class com.singularsys.jep.standard.Complex
-
Returns real part.
- isAllowComplexResults() - Method in class com.singularsys.jep.functions.Power
-
Whether complex results are allowed for number arguments.
- isAllowNumbers() - Method in class com.singularsys.jep.functions.LazyLogical
-
Returns whether numbers are treated as booleans
- isAssociative() - Method in class com.singularsys.jep.Operator
- isBinary() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- isBinary() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isBinary() - Method in class com.singularsys.jep.Operator
- isComment() - Method in class com.singularsys.jep.configurableparser.tokens.CommentToken
- isComment() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isCommutative() - Method in class com.singularsys.jep.Operator
- isComposite() - Method in class com.singularsys.jep.Operator
- isConstant() - Method in class com.singularsys.jep.Variable
-
Returns true if the variable is a constant.
- isDistributiveOver(Operator) - Method in class com.singularsys.jep.Operator
- isEmpty() - Method in class com.singularsys.jep.FunctionTable
- isEmpty() - Method in class com.singularsys.jep.VariableTable
- isEquivalence() - Method in class com.singularsys.jep.Operator
- isFunction() - Method in class com.singularsys.jep.configurableparser.tokens.FunctionToken
- isFunction() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isHasDefault() - Method in class com.singularsys.jep.misc.functions.Case
-
Whether a default value is set
- isIdentifier() - Method in class com.singularsys.jep.configurableparser.tokens.IdentifierToken
- isIdentifier() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isImplicitMulRhs() - Method in class com.singularsys.jep.configurableparser.tokens.FunctionToken
-
Whether identifies can appear on the rhs of implicit multiplication '2 x'.
- isImplicitMulRhs() - Method in class com.singularsys.jep.configurableparser.tokens.IdentifierToken
-
Whether identifies can appear on the rhs of implicit multiplication '2 x'.
- isImplicitMulRhs() - Method in class com.singularsys.jep.configurableparser.tokens.NumberToken
-
Whether numbers can appear on the rhs of implicit multiplication 'x 2'.
- isImplicitMulRhs() - Method in class com.singularsys.jep.configurableparser.tokens.SymbolToken
- isImplicitMulRhs() - Method in class com.singularsys.jep.configurableparser.tokens.Token
-
Whether the token can appear on the right-hand side of implicit multiplication '2 x'.
- isInfinite() - Method in class com.singularsys.jep.standard.Complex
-
Returns
true
if either the real or imaginary component of thisComplex
is an infinite value. - IsInfinite - Class in com.singularsys.jep.misc.functions
-
Tests if a double value is infinite.
- IsInfinite() - Constructor for class com.singularsys.jep.misc.functions.IsInfinite
- isLeftBinding() - Method in class com.singularsys.jep.Operator
- isNaN() - Method in class com.singularsys.jep.standard.Complex
-
Returns
true
if either the real or imaginary component of thisComplex
is a Not-a-Number (NaN
) value. - IsNaN - Class in com.singularsys.jep.misc.functions
-
Tests if a double value is NaN.
- IsNaN() - Constructor for class com.singularsys.jep.misc.functions.IsNaN
- isNary() - Method in class com.singularsys.jep.Operator
- IsNull - Class in com.singularsys.jep.misc.functions
-
Tests if a null value is encountered.
- IsNull() - Constructor for class com.singularsys.jep.misc.functions.IsNull
- isNumber() - Method in class com.singularsys.jep.configurableparser.tokens.NumberToken
- isNumber() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isOperator() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- isOperator() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isPrefix() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- isPrefix() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isPrefix() - Method in class com.singularsys.jep.Operator
- isReflexive() - Method in class com.singularsys.jep.Operator
- isRhsImpMul() - Method in class com.singularsys.jep.configurableparser.tokens.SymbolToken
- isRightBinding() - Method in class com.singularsys.jep.Operator
- isSelfInverse() - Method in class com.singularsys.jep.Operator
- isString() - Method in class com.singularsys.jep.configurableparser.tokens.StringToken
- isString() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isSuffix() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- isSuffix() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isSuffix() - Method in class com.singularsys.jep.Operator
- isSymbol() - Method in class com.singularsys.jep.configurableparser.tokens.SymbolToken
- isSymbol() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isSymmetric() - Method in class com.singularsys.jep.Operator
- isTerminal() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isTernary() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- isTernary() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isTernary() - Method in class com.singularsys.jep.Operator
- isTransitive() - Method in class com.singularsys.jep.Operator
- isTrapInfinity() - Method in class com.singularsys.jep.standard.FastEvaluator
- isTrapInfinity() - Method in class com.singularsys.jep.standard.StandardEvaluator
- isTrapInfinity() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- isTrapInfinity() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- isTrapInfinity() - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- isTrapNaN() - Method in class com.singularsys.jep.standard.FastEvaluator
- isTrapNaN() - Method in class com.singularsys.jep.standard.StandardEvaluator
- isTrapNaN() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- isTrapNaN() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- isTrapNaN() - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- isTrapNullValues() - Method in class com.singularsys.jep.standard.FastEvaluator
-
Whether null values for variables are trapped.
- isTrapNullValues() - Method in class com.singularsys.jep.standard.StandardEvaluator
-
Whether null values for variables are trapped.
- isTrapNullValues() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
-
Whether null values for variables are trapped.
- isTrapNullValues() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
-
Whether null values for variables are trapped.
- isTrapNullValues() - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
-
Whether null values for variables are trapped.
- isTrapUnsetValues() - Method in class com.singularsys.jep.standard.FastEvaluator
-
Whether variables with unset values are trapped.
- isTrapUnsetValues() - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
-
Whether variables with unset values are trapped.
- isTrapUnsetValues() - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
-
Whether variables with unset values are trapped.
- isUnary() - Method in class com.singularsys.jep.Operator
- isWhiteSpace() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- isWhiteSpace() - Method in class com.singularsys.jep.configurableparser.tokens.WhiteSpaceToken
- it - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
J
- j - Variable in class com.singularsys.jep.NodeFactory
- JavaOperatorTable - Class in com.singularsys.jep.misc.javaops
-
An operator table which supports most of the operators which appear in Java.
- JavaOperatorTable() - Constructor for class com.singularsys.jep.misc.javaops.JavaOperatorTable
-
A JavaOperatorTable with power represented as ** and xor as ^.
- JavaOperatorTable(OperatorTable2, String, String) - Constructor for class com.singularsys.jep.misc.javaops.JavaOperatorTable
-
A decorator constructor.
- JavaOperatorTable(String) - Constructor for class com.singularsys.jep.misc.javaops.JavaOperatorTable
-
A JavaOperatorTable with xor represented as ^ and power as the argument.
- JavaOperatorTable(String, String) - Constructor for class com.singularsys.jep.misc.javaops.JavaOperatorTable
-
A JavaOperatorTable with power and xor represented by the arguments
- JavaOperatorTable(Map<EmptyOperatorTable.OperatorKey, Operator>) - Constructor for class com.singularsys.jep.misc.javaops.JavaOperatorTable
- JavaOperatorTable.JavaOperators - Enum in com.singularsys.jep.misc.javaops
- JccParserConstants - Interface in com.singularsys.jep.parser
-
Token literal values and constants.
- JccParserTreeConstants - Interface in com.singularsys.jep.parser
- jccpe - Variable in exception class com.singularsys.jep.ParseException
- jep - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- jep - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
- jep - Variable in class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEvaluator
- jep - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
-
Jep instance
- jep - Variable in class com.singularsys.jepexamples.consoles.Console
-
Main Jep object
- jep - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
- jep - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
- jep - Variable in class com.singularsys.jeptests.system.JepTest
-
The parser
- Jep - Class in com.singularsys.jep
-
The Jep class is the main interface with which the user should interact.
- Jep() - Constructor for class com.singularsys.jep.Jep
-
Creates a new Jep instance using the standard components with default settings.
- Jep(ComponentSet) - Constructor for class com.singularsys.jep.Jep
-
Creates a new Jep instance with a specific component set.
- Jep(JepComponent...) - Constructor for class com.singularsys.jep.Jep
-
Creates a new Jep instance with a set of components.
- Jep_ResultCouldNotBeConvertedToDoubleType() - Method in interface com.singularsys.jep.GWTJepMessages
- JepComponent - Interface in com.singularsys.jep
-
Base interface for all Jep components (parsers, evaluators etc).
- JepConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig
- JepConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfig
- JepConfig3_4(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig3_4
- JepConfig3_4(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfig3_4
- JepConfig3_5(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig3_5
- JepConfig3_5(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfig3_5
- JepConfig3_5NC(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig3_5NC
- JepConfig3_5NC(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfig3_5NC
- JepConfigNoChecks(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfigNoChecks
- JepConfigNoChecks(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.JepConfigNoChecks
- JepException - Exception Class in com.singularsys.jep
-
Super class of all Jep specific exceptions.
- JepException() - Constructor for exception class com.singularsys.jep.JepException
- JepException(String) - Constructor for exception class com.singularsys.jep.JepException
- JepException(String, Throwable) - Constructor for exception class com.singularsys.jep.JepException
- JepException(Throwable) - Constructor for exception class com.singularsys.jep.JepException
- JepMessages - Class in com.singularsys.jep
-
GWT Version of the Message access class
- JepPrintStream() - Constructor for class com.singularsys.jepexamples.consoles.Console.JepPrintStream
- JepRuntimeException - Exception Class in com.singularsys.jep
-
A RuntimeException which wraps a JepException for use in cases where throwing a JepException is not possible.
- JepRuntimeException(JepException) - Constructor for exception class com.singularsys.jep.JepRuntimeException
-
Construction
- JepTest - Class in com.singularsys.jeptests.system
-
Tests various functions on the Jep class.
- JepTest() - Constructor for class com.singularsys.jeptests.system.JepTest
- JepTest.AddFractionsNary - Class in com.singularsys.jeptests.system
- JepTest.AddFractionsStack - Class in com.singularsys.jeptests.system
- JepTest.Diff - Class in com.singularsys.jeptests.system
- JepTest.MyBinary - Class in com.singularsys.jeptests.system
- JepTest.MyNary - Class in com.singularsys.jeptests.system
- JepTest.MyNaryBinary - Class in com.singularsys.jeptests.system
- JepTest.MyNullary - Class in com.singularsys.jeptests.system
- JepTest.MyUnary - Class in com.singularsys.jeptests.system
- JepTest.PiFun - Class in com.singularsys.jeptests.system
- JepTest.Product - Class in com.singularsys.jeptests.system
- JepTest.Square - Class in com.singularsys.jeptests.system
- jjtAccept(ParserVisitor, Object) - Method in class com.singularsys.jep.parser.ASTConstant
-
Accept the visitor.
- jjtAccept(ParserVisitor, Object) - Method in class com.singularsys.jep.parser.ASTFunNode
-
Accept the visitor.
- jjtAccept(ParserVisitor, Object) - Method in class com.singularsys.jep.parser.ASTOpNode
-
Accept the visitor.
- jjtAccept(ParserVisitor, Object) - Method in class com.singularsys.jep.parser.ASTVarNode
-
Accept the visitor.
- jjtAccept(ParserVisitor, Object) - Method in interface com.singularsys.jep.parser.Node
-
Accept the visitor.
- jjtAccept(ParserVisitor, Object) - Method in class com.singularsys.jep.parser.SimpleNode
-
Accept the visitor.
- jjtAddChild(Node, int) - Method in interface com.singularsys.jep.parser.Node
-
This method tells the node to add its argument to the node's list of children.
- jjtAddChild(Node, int) - Method in class com.singularsys.jep.parser.SimpleNode
- jjtClose() - Method in interface com.singularsys.jep.parser.Node
-
This method is called after all the child nodes have been added.
- jjtClose() - Method in class com.singularsys.jep.parser.SimpleNode
- JJTCONSTANT - Static variable in interface com.singularsys.jep.parser.JccParserTreeConstants
- JJTFUNNODE - Static variable in interface com.singularsys.jep.parser.JccParserTreeConstants
- jjtGetChild(int) - Method in interface com.singularsys.jep.parser.Node
-
This method returns a child node.
- jjtGetChild(int) - Method in class com.singularsys.jep.parser.SimpleNode
- jjtGetNumChildren() - Method in interface com.singularsys.jep.parser.Node
-
Return the number of children the node has.
- jjtGetNumChildren() - Method in class com.singularsys.jep.parser.SimpleNode
- jjtGetParent() - Method in interface com.singularsys.jep.parser.Node
-
Gets the parent node
- jjtGetParent() - Method in class com.singularsys.jep.parser.SimpleNode
- jjtNodeName - Static variable in interface com.singularsys.jep.parser.JccParserTreeConstants
- jjtOpen() - Method in interface com.singularsys.jep.parser.Node
-
This method is called after the node has been made the current node.
- jjtOpen() - Method in class com.singularsys.jep.parser.SimpleNode
- JJTOPNODE - Static variable in interface com.singularsys.jep.parser.JccParserTreeConstants
- jjtSetParent(Node) - Method in interface com.singularsys.jep.parser.Node
-
Sets the parent node.
- jjtSetParent(Node) - Method in class com.singularsys.jep.parser.SimpleNode
- JJTSTART - Static variable in interface com.singularsys.jep.parser.JccParserTreeConstants
- JJTVARNODE - Static variable in interface com.singularsys.jep.parser.JccParserTreeConstants
- JJTVOID - Static variable in interface com.singularsys.jep.parser.JccParserTreeConstants
K
- key - Variable in class com.singularsys.jep.Operator
-
Key used to identify the operator in the operator table Access level changed to protected in version 3.5
- keys - Variable in class com.singularsys.jep.parser.SimpleNode
- keys - Variable in class com.singularsys.jep.Variable
- keySet() - Method in class com.singularsys.jep.EmptyOperatorTable
- keySet() - Method in class com.singularsys.jep.FunctionTable
- keySet() - Method in class com.singularsys.jep.VariableTable
-
Returns the names of all the variables.
- keyVals - Variable in class com.singularsys.jep.Variable
- kind - Variable in class com.singularsys.jep.parser.Token
-
An integer that describes the kind of this token.
L
- lastRootNode - Variable in class com.singularsys.jep.Jep
-
Root node of the last parsed expression
- LazyLogical - Class in com.singularsys.jep.functions
-
A version of the logical operators which use lazy evaluation.
- LazyLogical(int) - Constructor for class com.singularsys.jep.functions.LazyLogical
-
Standard constructor, non-zero Numbers will be treated as true and zero Numbers as false.
- LazyLogical(int, boolean) - Constructor for class com.singularsys.jep.functions.LazyLogical
-
Constructor which restricts type of arguments.
- LBracket - Variable in class com.singularsys.jep.PrintVisitor
- le(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
- LE - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- LE - Static variable in class com.singularsys.jep.functions.Comparative
- LE - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- Left - Class in com.singularsys.jep.functions.strings
-
Extract the left most n characters from a string: left("abcdefg",2) -> "ab" If n is greater than the length of the string return the full string. If n is less than zero an EvaluationException is thrown. If the first argument is not a string an EvaluationException is thrown. If the second argument is not a number representing an integer an EvaluationException is thrown.
- Left() - Constructor for class com.singularsys.jep.functions.strings.Left
- LEFT - Static variable in class com.singularsys.jep.Operator
-
Left binding like +: 1+2+3 -> (1+2)+3
- Length - Class in com.singularsys.jep.functions.strings
-
Returns the length of a string: len("hello") -> 5
- Length() - Constructor for class com.singularsys.jep.functions.strings.Length
- LETTER1 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- LETTER2 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- LexicalError(boolean, int, int, int, String, char) - Static method in exception class com.singularsys.jep.parser.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- LightWeightComponentSet - Class in com.singularsys.jep.misc
-
A lightweight set of components reusing components from an existing Jep instance.
- LightWeightComponentSet(Jep) - Constructor for class com.singularsys.jep.misc.LightWeightComponentSet
-
Create a lightweight instance with copies of all variables
- LightWeightComponentSet(Jep, boolean) - Constructor for class com.singularsys.jep.misc.LightWeightComponentSet
-
Create a lightweight instance either with an empty variable table or one with just the constants.
- limitedPrecisionTest() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- lineCount - Variable in class com.singularsys.jeptests.system.ExpressionEvalTest
-
Current line position
- LINENUMBER - Enum constant in enum com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory.Numbering
- LineNumberGrammarParserFactory() - Constructor for class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard.LineNumberGrammarParserFactory
- LineNumberingNodeFactory - Class in com.singularsys.jep.misc.lineNumbering
-
A NodeFactory which adds line numbering information to nodes.
- LineNumberingNodeFactory() - Constructor for class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
-
Default constructor which decorates a NodeFactory.
- LineNumberingNodeFactory(NodeFactory) - Constructor for class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
-
Decorating constructor
- LineNumberingNodeFactory.Numbering - Enum in com.singularsys.jep.misc.lineNumbering
- LineNumberingShuntingYard - Class in com.singularsys.jep.misc.lineNumbering
-
Version of the shunting yard algorithm which sets lines numbers in the parse tree.
- LineNumberingShuntingYard(Jep, List<GrammarMatcher>) - Constructor for class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard
-
Constructor
- LineNumberingShuntingYard_NodeFactoryDoesNotSupportLineNumbering() - Method in interface com.singularsys.jep.GWTJepMessages
- LineNumberingShuntingYard.LineNumberGrammarParserFactory - Class in com.singularsys.jep.misc.lineNumbering
- LineNumberingTest - Class in com.singularsys.jeptests.system
- LineNumberingTest() - Constructor for class com.singularsys.jeptests.system.LineNumberingTest
- List - Class in com.singularsys.jep.functions
-
The list function.
- List() - Constructor for class com.singularsys.jep.functions.List
- LIST - Enum constant in enum com.singularsys.jep.OperatorTable2.SpecialOperators
-
Build a list of elements [1,2,3]
- list_or_bracket_matcher_parses_bracketed_expressions() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- ListGrammarMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A GrammarMatcher which matches lists of items.
- ListGrammarMatcher(Token, Token, Token) - Constructor for class com.singularsys.jep.configurableparser.matchers.ListGrammarMatcher
-
Create a ListGrammarMatcher
- ListOrBracketGrammarMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A GrammarMatcher which matches overloaded lists of items or brackets.
- ListOrBracketGrammarMatcher(Token, Token, Token) - Constructor for class com.singularsys.jep.configurableparser.matchers.ListOrBracketGrammarMatcher
-
Create a ListOrBracketGrammarMatcher
- ln(Object) - Method in class com.singularsys.jep.functions.NaturalLogarithm
- ln(Object) - Method in class com.singularsys.jep.functions.StrictNaturalLogarithm
- lnExpression(String, int) - Static method in class com.singularsys.jepexamples.diagnostics.Utils
-
Generate string giving approximation to log
- log() - Method in class com.singularsys.jep.standard.Complex
-
Returns the logarithm of this complex number.
- log() - Method in class com.singularsys.jep.standard.ImmutableComplex
- log(Object) - Method in class com.singularsys.jep.functions.Logarithm
- log(Object, Object) - Method in class com.singularsys.jep.misc.functions.LogTwoArg
- Logarithm - Class in com.singularsys.jep.functions
-
Log base 10.
- Logarithm() - Constructor for class com.singularsys.jep.functions.Logarithm
-
Standard constructor, returns complex results for negative arguments
- Logarithm(boolean) - Constructor for class com.singularsys.jep.functions.Logarithm
-
Constructor with control for behaviour for complex results
- LogarithmTest - Class in com.singularsys.jeptests.unit.functions
- LogarithmTest() - Constructor for class com.singularsys.jeptests.unit.functions.LogarithmTest
- logbase2(Object) - Method in class com.singularsys.jep.functions.LogBase2
- LogBase2 - Class in com.singularsys.jep.functions
-
Log base 2.
- LogBase2() - Constructor for class com.singularsys.jep.functions.LogBase2
-
Standard constructor, allows complex results for negative arguments
- LogBase2(boolean) - Constructor for class com.singularsys.jep.functions.LogBase2
-
Constructor with control for behaviour for complex results
- LogBase2(double, boolean) - Constructor for class com.singularsys.jep.functions.LogBase2
-
Constructor for bases other than 2.
- Logical - Class in com.singularsys.jep.functions
-
Logical operators
AND
andOR
. - Logical(int) - Constructor for class com.singularsys.jep.functions.Logical
-
Standard constructor, allows Boolean and Number arguments
- Logical(int, boolean) - Constructor for class com.singularsys.jep.functions.Logical
-
Constructor which restricts type of arguments.
- LogTwoArg - Class in com.singularsys.jep.misc.functions
-
Logarithm function where the base is specified in the second argument.
- LogTwoArg() - Constructor for class com.singularsys.jep.misc.functions.LogTwoArg
-
Defaults constructor, negative real arguments result in complex results.
- LogTwoArg(boolean) - Constructor for class com.singularsys.jep.misc.functions.LogTwoArg
-
Constructor specifying treatment of negative real values
- longValue() - Method in class com.singularsys.jep.standard.Complex
-
Returns real part.
- lookahead(int) - Method in class com.singularsys.jep.configurableparser.LookaheadNIterator
-
Look at character n places up the stream
- Lookahead2Iterator<E> - Class in com.singularsys.jep.configurableparser
-
An iterator which stores the next two tokens.
- Lookahead2Iterator() - Constructor for class com.singularsys.jep.configurableparser.Lookahead2Iterator
-
Default constructor.
- Lookahead2Iterator(Iterator<E>) - Constructor for class com.singularsys.jep.configurableparser.Lookahead2Iterator
-
Decorator constructor around an iterator
- Lookahead2Iterator(List<E>) - Constructor for class com.singularsys.jep.configurableparser.Lookahead2Iterator
-
Constructor when the list of tokens is known beforehand.
- Lookahead2Iterator_next() - Method in interface com.singularsys.jep.GWTJepMessages
- Lookahead2Iterator_nextnext() - Method in interface com.singularsys.jep.GWTJepMessages
- LookaheadNIterator<E> - Class in com.singularsys.jep.configurableparser
-
A subclass of a Lookahead2Iterator which allows any number of character of lookahead.
- LookaheadNIterator(Iterator<E>) - Constructor for class com.singularsys.jep.configurableparser.LookaheadNIterator
- lookingAt() - Method in class com.singularsys.compatibility.Matcher
- LowerCase - Class in com.singularsys.jep.functions.strings
-
Convert a string to lowercase
- LowerCase() - Constructor for class com.singularsys.jep.functions.strings.LowerCase
- LRND - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- LShift - Class in com.singularsys.jep.misc.bitwise
-
Bitwise Left shift, like the java a << b operator.
- LShift() - Constructor for class com.singularsys.jep.misc.bitwise.LShift
- LSHIFT - Enum constant in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
- LSHIFTEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- LSQ - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- lt(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
- LT - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- LT - Static variable in class com.singularsys.jep.functions.Comparative
- LT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- LValueI - Interface in com.singularsys.jep.functions
M
- m - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- MacroFunction - Class in com.singularsys.jep.misc
-
A function specified by a string.
- MacroFunction(Jep, String, String[], String) - Constructor for class com.singularsys.jep.misc.MacroFunction
-
Create a macro function with two or more arguments defined by an expression.
- MacroFunction(Jep, String, String, String) - Constructor for class com.singularsys.jep.misc.MacroFunction
-
Create a macro function with a single arguments defined by an expression.
- MacroFunction(String, String[], String) - Constructor for class com.singularsys.jep.misc.MacroFunction
-
Create a macro function with two or more arguments defined by an expression.
- MacroFunction(String, String[], String, Node) - Constructor for class com.singularsys.jep.misc.MacroFunction
-
Create a MacroFunction with a node tree.
- main(String[]) - Static method in class com.singularsys.jepexamples.consoles.BigDecimalConsole
- main(String[]) - Static method in class com.singularsys.jepexamples.consoles.Console
-
Creates a new Console object and calls run()
- main(String[]) - Static method in class com.singularsys.jepexamples.consoles.CPConsole
-
Creates a new Console object and calls run()
- main(String[]) - Static method in class com.singularsys.jepexamples.consoles.PostfixEvaluationConsole
- main(String[]) - Static method in class com.singularsys.jepexamples.consoles.PrefixDumperConsole
- main(String[]) - Static method in class com.singularsys.jepexamples.consoles.PrintConsole
-
Creates a new Console object and calls run()
- main(String[]) - Static method in class com.singularsys.jepexamples.consoles.VectorConsole
- main(String[]) - Static method in class com.singularsys.jepexamples.diagnostics.DestructiveTests
- main(String[]) - Static method in class com.singularsys.jepexamples.diagnostics.ExamineResultTypes
- main(String[]) - Static method in class com.singularsys.jepexamples.diagnostics.ParseSpeed
- main(String[]) - Static method in class com.singularsys.jepexamples.diagnostics.SpeedTest
-
Main method, executes all speed tests.
- main(String[]) - Static method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
-
Main method, executes all speed tests.
- main(String[]) - Static method in class com.singularsys.jepexamples.SimpleExample
- main(String[]) - Static method in class com.singularsys.jeptests.system.ExpressionEvalTest
-
The main method checks the arguments and creates an instance and runs a test
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.ArrayAccessGrammarMatcher
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.BracketedSequenceGrammarMatcher
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.FunctionGrammarMatcher
-
Attempt to match a function, calls the GrammarParser.parseSubExpression() to match function arguments.
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.FunctionSequenceGrammarMatcher
-
Attempt to match a function, calls the GrammarParser.parseSubExpression() to match function arguments.
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in interface com.singularsys.jep.configurableparser.matchers.GrammarMatcher
-
Test whether the input matches this pattern.
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.ListGrammarMatcher
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.ListOrBracketGrammarMatcher
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.RoundBracketGrammarMatcher
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.SingleArgFunctionMatcher
- match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.misc.OperatorAsFunctionGrammarMatcher
-
Attempt to match a function, calls the GrammarParser.parseSubExpression() to match function arguments.
- match(String) - Method in class com.singularsys.jep.configurableparser.matchers.MultiLineMatcher
-
Match the start of the token.
- match(String) - Method in class com.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
-
Quickly checks whether the first characters of the string match any of the supplied operator strings.
- match(String) - Method in class com.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher
-
Attempts to match the start of the string.
- match(String) - Method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher
- match(String) - Method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher2
- match(String) - Method in class com.singularsys.jep.configurableparser.matchers.SymbolTokenMatcher
-
Match the start of the string.
- match(String) - Method in interface com.singularsys.jep.configurableparser.matchers.TokenMatcher
-
Attempts to match the start of the string.
- match(String) - Method in class com.singularsys.jep.configurableparser.matchers.UpperCaseOperatorTokenMatcher
- match(String) - Method in class com.singularsys.jep.configurableparser.tokens.MultiLineToken
-
Matches the end of the token.
- matcher(CharSequence) - Method in class com.singularsys.compatibility.Pattern
- Matcher - Class in com.singularsys.compatibility
-
A very restricted re-implementation of the Matcher class.
- Matcher(MatchResult, RegExp) - Constructor for class com.singularsys.compatibility.Matcher
- matchers - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
- matchers - Variable in class com.singularsys.jep.configurableparser.Tokenizer
- matches() - Method in class com.singularsys.compatibility.Matcher
- matches(String, String) - Static method in class com.singularsys.compatibility.Pattern
- mc - Variable in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- MediumWeightComponentSet - Class in com.singularsys.jep.misc
-
A medium weight set of components reusing components from an existing Jep instance.
- MediumWeightComponentSet(Jep) - Constructor for class com.singularsys.jep.misc.MediumWeightComponentSet
-
Create a lightweight instance with copies of all variables
- MediumWeightComponentSet(Jep, boolean) - Constructor for class com.singularsys.jep.misc.MediumWeightComponentSet
-
Create a lightweight instance either with an empty variable table or one with just the constants.
- merge(TreeAnalyzer) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
Merge the result with the argument, producing total for all trees.
- MessageFormat - Class in com.singularsys.compatibility
-
A simplified replacement for java.text.MessageFormat uses code from stackoverflow
- MessageFormat() - Constructor for class com.singularsys.compatibility.MessageFormat
- Mid - Class in com.singularsys.jep.functions.strings
-
Extract substring of first argument:
mid("abcdefg",2,3) -> "cde"
Syntax:mid(str,start,len)
Second argument is starting index, with the first character being at index 0. - Mid() - Constructor for class com.singularsys.jep.functions.strings.Mid
- minmax(List<Object>) - Method in class com.singularsys.jep.functions.MinMax
- MinMax - Class in com.singularsys.jep.functions
-
Minimum and Maximum functions.
- MinMax(boolean) - Constructor for class com.singularsys.jep.functions.MinMax
-
Constructor.
- MinMax(Comparative) - Constructor for class com.singularsys.jep.functions.MinMax
-
Constructor allowing for a different Comparative object.
- MinMax() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- MINUS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- MINUS_I - Static variable in class com.singularsys.jep.standard.Complex
-
Constant 0-1 i
- MINUS_ONE - Static variable in class com.singularsys.jep.standard.Complex
-
Constant -1+0 i
- MINUSEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- MINUSONE - Static variable in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- MINUSONE - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
- misc_functions_Case_NoArgumentsMatch() - Method in interface com.singularsys.jep.GWTJepMessages
- misc_functions_FromBase_StringMustStartWithPrefix() - Method in interface com.singularsys.jep.GWTJepMessages
- misc_functions_LogTwoArg_SecondArgumentMustBePositive() - Method in interface com.singularsys.jep.GWTJepMessages
- misc_functions_ToBase_BaseMustBeBetween() - Method in interface com.singularsys.jep.GWTJepMessages
- misc_javaops_AbstractInc_ArgumentShouldBeAVariable() - Method in interface com.singularsys.jep.GWTJepMessages
- misc_javaops_AbstractInc_VariableValueShouldBeANumber() - Method in interface com.singularsys.jep.GWTJepMessages
- misc_lineNumbering_LineNumberingShuntingYard_UnexpectedEndOfInput() - Method in interface com.singularsys.jep.GWTJepMessages
- misc_MacroFunction_InitMethodMustBeCalledBeforeEvaluation() - Method in interface com.singularsys.jep.GWTJepMessages
- misc_NullParser_NullParserCannotParserExpressions() - Method in interface com.singularsys.jep.GWTJepMessages
- mod(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMod
- mod(Object, Object) - Method in class com.singularsys.jep.functions.Modulus
- MOD - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- MOD - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- mode - Variable in class com.singularsys.jep.PrintVisitor
-
The current mode for printing.
- MODEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- Modulus - Class in com.singularsys.jep.functions
-
Calculates the modulus x % y of the arguments.
- Modulus() - Constructor for class com.singularsys.jep.functions.Modulus
- mul - Variable in class com.singularsys.jep.functions.Cross
- mul - Variable in class com.singularsys.jep.functions.Dot
- mul(double) - Method in class com.singularsys.jep.standard.Complex
-
Multiply the complex number with a double value.
- mul(double) - Method in class com.singularsys.jep.standard.ImmutableComplex
- mul(Complex) - Method in class com.singularsys.jep.standard.Complex
-
Multiply the complex number with another complex value.
- mul(Complex) - Method in class com.singularsys.jep.standard.ImmutableComplex
- mul(Complex, Complex) - Static method in class com.singularsys.jep.functions.Multiply
- mul(Complex, Number) - Static method in class com.singularsys.jep.functions.Multiply
- mul(Number, Number) - Static method in class com.singularsys.jep.functions.Multiply
- mul(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMul
- mul(Object, Object) - Method in class com.singularsys.jep.functions.Multiply
- mul(Object, Vector<?>) - Method in class com.singularsys.jep.functions.Multiply
- mul(Vector<?>, Object) - Method in class com.singularsys.jep.functions.Multiply
- MUL - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- MUL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- MultiLineMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Matches tokens which span multiple lines of the input.
- MultiLineMatcher(TokenMatcher, TokenMatcher, TokenBuilder) - Constructor for class com.singularsys.jep.configurableparser.matchers.MultiLineMatcher
- multiLineSlashStarCommentMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
-
Recognise comments of the form /* ... */ which can span multiple lines.
- MultiLineToken - Class in com.singularsys.jep.configurableparser.tokens
-
A token representing a token which spans multiple lines.
- MultiLineToken(String, TokenMatcher, TokenBuilder) - Constructor for class com.singularsys.jep.configurableparser.tokens.MultiLineToken
- Multiply - Class in com.singularsys.jep.functions
- Multiply() - Constructor for class com.singularsys.jep.functions.Multiply
- myAssertEquals(String, Object, Object) - Method in class com.singularsys.jeptests.system.JepTest
- myAssertEquals(String, Object, Object) - Method in class com.singularsys.jeptests.system.NullWrapTest
- myAssertNaN(String, Object) - Method in class com.singularsys.jeptests.system.JepTest
- myAssertNull(String, Object) - Method in class com.singularsys.jeptests.system.JepTest
- myAssertNull(String, Object) - Method in class com.singularsys.jeptests.system.NullWrapTest
- MyBinary() - Constructor for class com.singularsys.jeptests.system.JepTest.MyBinary
- myFalse - Variable in class com.singularsys.jeptests.system.JepTest
- MyNary() - Constructor for class com.singularsys.jeptests.system.JepTest.MyNary
- MyNaryBinary() - Constructor for class com.singularsys.jeptests.system.JepTest.MyNaryBinary
- MyNullary() - Constructor for class com.singularsys.jeptests.system.JepTest.MyNullary
- myTrue - Variable in class com.singularsys.jeptests.system.JepTest
- MyUnary() - Constructor for class com.singularsys.jeptests.system.JepTest.MyUnary
N
- name - Variable in class com.singularsys.jep.functions.PostfixMathCommand
- name - Variable in class com.singularsys.jep.Operator
-
A unique name defining the operator.
- name - Variable in class com.singularsys.jep.Variable
- name - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
- name - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
- NaN - Static variable in class com.singularsys.jep.functions.PostfixMathCommand
-
Double.valueOf(Double.NaN)
- NAN - Enum constant in enum com.singularsys.jep.functions.ArrayFunctionBase.ZeroLengthErrorBehaviour
-
Signals that NaN is returned
- NARY - Static variable in class com.singularsys.jep.Operator
-
Trinary ops such as ?: and or higher like [x,y,z,w]
- NaryBinaryFunction - Class in com.singularsys.jep.functions
-
Convenient base class for n-ary functions backed by a binary operation.
- NaryBinaryFunction() - Constructor for class com.singularsys.jep.functions.NaryBinaryFunction
- NaryBinaryTest - Class in com.singularsys.jeptests.unit.functions
- NaryBinaryTest() - Constructor for class com.singularsys.jeptests.unit.functions.NaryBinaryTest
- NaryFunction - Class in com.singularsys.jep.functions
-
Convenient base class for nary functions.
- NaryFunction() - Constructor for class com.singularsys.jep.functions.NaryFunction
-
Standard constructor where any number of arguments is allowed.
- NaryFunction(int) - Constructor for class com.singularsys.jep.functions.NaryFunction
-
Constructor where a fixed number of arguments is allowed
- NaturalLogarithm - Class in com.singularsys.jep.functions
-
Natural logarithm.
- NaturalLogarithm() - Constructor for class com.singularsys.jep.functions.NaturalLogarithm
- NaturalLogarithmTest - Class in com.singularsys.jeptests.unit.functions
- NaturalLogarithmTest() - Constructor for class com.singularsys.jeptests.unit.functions.NaturalLogarithmTest
- nDeriv - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
- nDeriv - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- ne(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
- NE - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- NE - Static variable in class com.singularsys.jep.functions.Comparative
- NE - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- neg() - Method in class com.singularsys.jep.standard.Complex
-
Returns the negative value of this complex number.
- neg() - Method in class com.singularsys.jep.standard.ImmutableComplex
- NEG - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- negativeZero() - Method in class com.singularsys.jeptests.system.JepTest
- negativeZero() - Method in class com.singularsys.jeptests.system.UncheckedEvalTest
- newInstance(ConfigurableParser) - Method in interface com.singularsys.jep.configurableparser.GrammarParserFactory
- newInstance(ConfigurableParser) - Method in class com.singularsys.jep.configurableparser.ShuntingYard.ShuntingYardGrammarParserFactory
-
Create a new ShuntingYard instance.
- newInstance(ConfigurableParser) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard.LineNumberGrammarParserFactory
- newInstance(ConfigurableParser, BufferedReader) - Method in class com.singularsys.jep.configurableparser.Tokenizer.StandardTokenizerFactory
- newInstance(ConfigurableParser, BufferedReader) - Method in interface com.singularsys.jep.configurableparser.TokenizerFactory
- newToken(int) - Static method in class com.singularsys.jep.parser.Token
- newToken(int, String) - Static method in class com.singularsys.jep.parser.Token
-
Returns a new Token object, by default.
- next - Variable in class com.singularsys.jep.parser.Token
-
A reference to the next regular (non-special) token from the input stream.
- nextInt() - Method in class com.singularsys.compatibility.Scanner
- nextnext() - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
- nextnext() - Method in class com.singularsys.jep.configurableparser.LookaheadNIterator
- nf - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
- nf - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
-
Convenience reference to the NodeFactory
- NO_ARGS - Static variable in class com.singularsys.jep.Operator
-
No arguments to operator
- NO_DOT_IN_IDENTIFIERS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
Lexical state.
- Node - Interface in com.singularsys.jep.parser
-
Interface defining a node in the parse-tree.
- Node.HookKey - Interface in com.singularsys.jep.parser
-
Nodes can optional have hooks which add meta-data to the node.
- nodeAccept(Node) - Method in class com.singularsys.jep.standard.FastEvaluator
- nodeAccept(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- nodeAccept(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- nodeAccept(Node) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- nodeFac - Variable in class com.singularsys.jep.ComponentSet
- nodeFac - Variable in class com.singularsys.jep.Jep
-
Node Factory
- NodeFactory - Class in com.singularsys.jep
-
This class is used to create nodes of specified types.
- NodeFactory() - Constructor for class com.singularsys.jep.NodeFactory
- NodeFactory_VariableUndefined() - Method in interface com.singularsys.jep.GWTJepMessages
- NodeHookTest - Class in com.singularsys.jeptests.unit
- NodeHookTest() - Constructor for class com.singularsys.jeptests.unit.NodeHookTest
- nodes - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
- nodeTest(Node, Operator) - Static method in class com.singularsys.jeptests.system.JepTest
- nodeTest(Node, Variable) - Static method in class com.singularsys.jeptests.system.JepTest
- nodeTest(Node, Object) - Static method in class com.singularsys.jeptests.system.JepTest
- nodeTest(Node, String) - Static method in class com.singularsys.jeptests.system.JepTest
- nodeType(Node) - Static method in class com.singularsys.client.GWTExpose
-
Returns the type of the node.
- NonPropagatingImmutableComplex() - Constructor for class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- NonPropagatingImmutableComplex(double) - Constructor for class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- NonPropagatingImmutableComplex(double, double) - Constructor for class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- NonPropagatingImmutableComplex(Complex) - Constructor for class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- NonPropagatingImmutableComplex(Number) - Constructor for class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- NOP - Enum constant in enum com.singularsys.jep.OperatorTable2.PsudoOperators
-
Represent a no-operation
- Not - Class in com.singularsys.jep.functions
-
Implementation of the not function.
- Not() - Constructor for class com.singularsys.jep.functions.Not
-
Standard Constructor which allows Number and Boolean arguments
- Not(boolean) - Constructor for class com.singularsys.jep.functions.Not
-
Constructor which restricts type of arguments.
- NOT - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- NOT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- NOT_IN_PARSER - Static variable in class com.singularsys.jep.Operator
-
Non-standard operators, like array access.
- NOTIN - Enum constant in enum com.singularsys.jeptests.system.ExtendedParserTest.InOperators
- notInParser() - Method in class com.singularsys.jep.Operator
- nParam - Variable in class com.singularsys.jep.misc.MacroFunction
- NULL_PARSER - Static variable in class com.singularsys.jep.misc.NullParser
-
Singleton instance.
- NULL_PRINT_VISITOR - Static variable in class com.singularsys.jep.PrintVisitor
-
A do-nothing PrintVisitor, useful for reducing memory usage when printing not required.
- NullaryFunction - Class in com.singularsys.jep.functions
-
Convenient base class for zero-argument nullary functions, like
random()
. - NullaryFunction() - Constructor for class com.singularsys.jep.functions.NullaryFunction
- nullBehaviour - Variable in class com.singularsys.jep.misc.functions.SwitchDefault
- NullParser - Class in com.singularsys.jep.misc
-
A Parser which cannot actually parse expressions.
- NullParser() - Constructor for class com.singularsys.jep.misc.NullParser
- NullSafeEquals - Class in com.singularsys.jep.misc.nullwrapper.functions
-
The Null Safe equals function.
- NullSafeEquals() - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullSafeEquals
- NULLSAFEEQUALS - Enum constant in enum com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable.NullWrapperOperators
-
Key used for the null safe equals operator
- NullWrappedAbstractInc - Class in com.singularsys.jep.misc.nullwrapper.functions
-
Null wrapped version of the AbstractInc functions.
- NullWrappedAbstractInc(AbstractInc) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedAbstractInc
- NullWrappedBinary - Class in com.singularsys.jep.misc.nullwrapper.functions
-
Null wrapped version of a binary function.
- NullWrappedBinary(BinaryFunction) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedBinary
- NullWrappedFunctionFactory - Class in com.singularsys.jep.misc.nullwrapper
-
A factory to create the appropriate type of wrapped function.
- NullWrappedFunctionFactory() - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionFactory
- NullWrappedFunctionI - Interface in com.singularsys.jep.misc.nullwrapper.functions
-
Indicate that the function handles nulls.
- NullWrappedFunctionTable - Class in com.singularsys.jep.misc.nullwrapper
-
A function table which wraps all the functions in an existing table.
- NullWrappedFunctionTable(FunctionTable) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionTable
-
Create a new function table which wraps all the functions in the original table.
- NullWrappedFunctionTable(FunctionTable, NullWrappedFunctionFactory) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionTable
-
A table where a specific NullWrapperFunctionFactory is defined.
- NullWrappedFunctionTable(FunctionTable, NullWrappedFunctionFactory, Map<String, PostfixMathCommandI>) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionTable
- NullWrappedIf - Class in com.singularsys.jep.misc.nullwrapper.functions
-
NullWrapped version of the if function.
- NullWrappedIf() - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedIf
- NullWrappedIf(Object) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedIf
- NullWrappedLazyLogical - Class in com.singularsys.jep.misc.nullwrapper.functions
-
Null wrapped versions of the LazyLogical functions.
- NullWrappedLazyLogical(int) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedLazyLogical
-
Standard constructor, non-zero Numbers will be treated as true and zero Numbers as false.
- NullWrappedLazyLogical(int, boolean) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedLazyLogical
-
Constructor which restricts type of arguments.
- NullWrappedNary - Class in com.singularsys.jep.misc.nullwrapper.functions
-
Wrap an NaryFunction with a new function so that if any argument is null, then null is returned.
- NullWrappedNary(NaryFunction) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNary
- NullWrappedNaryBinary - Class in com.singularsys.jep.misc.nullwrapper.functions
-
Wrap a NaryBinaryFunction so that if any argument is null then null is returned.
- NullWrappedNaryBinary(NaryBinaryFunction) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNaryBinary
- NullWrappedOperatorTable - Class in com.singularsys.jep.misc.nullwrapper
-
An operator table where the operators generally return null if either argument is null.
- NullWrappedOperatorTable(OperatorTable2, boolean) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable
-
Create a new operator table which wraps all the existing operators in the original table.
- NullWrappedOperatorTable(OperatorTable2, NullWrappedFunctionFactory, boolean) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable
-
A table where a specific NullWrapperFunctionFactory is defined.
- NullWrappedOperatorTable(Map<EmptyOperatorTable.OperatorKey, Operator>) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable
- NullWrappedOperatorTable.NullWrapperOperators - Enum in com.singularsys.jep.misc.nullwrapper
-
Key for the one operator NullSafeEquals added by the table.
- NullWrappedPassThroughFunction - Interface in com.singularsys.jep.misc.nullwrapper.functions
-
Functions/operators which are not wrapped in the NullWrappedFunctionTable.
- NullWrappedPfmc - Class in com.singularsys.jep.misc.nullwrapper.functions
-
Wrap a general PostfixMathCommand so that if any argument is null the function will return null.
- NullWrappedPfmc(PostfixMathCommand) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedPfmc
- NullWrappedUnary - Class in com.singularsys.jep.misc.nullwrapper.functions
-
Null wrapped version of a unary function.
- NullWrappedUnary(UnaryFunction) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedUnary
- NullWrapTest - Class in com.singularsys.jeptests.system
- NullWrapTest() - Constructor for class com.singularsys.jeptests.system.NullWrapTest
- num_itts - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
- num_itts - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- num_vals - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
- num_vals - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- num_warmup - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
- num_warmup - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- numArgs() - Method in class com.singularsys.jep.Operator
- NumberFactory - Interface in com.singularsys.jep
-
This interface can be implemented to create numbers of any object type.
- NumberFormat - Class in com.singularsys.compatibility
-
very simple NumberFormat implementation, just appends the value to the buffer with no attempt to set the number of digits.
- NumberFormat() - Constructor for class com.singularsys.compatibility.NumberFormat
- numberOfParameters - Variable in class com.singularsys.jep.functions.PostfixMathCommand
-
Number of parameters a function requires.
- NumberToken - Class in com.singularsys.jep.configurableparser.tokens
-
Represent numbers.
- NumberToken(String, Object) - Constructor for class com.singularsys.jep.configurableparser.tokens.NumberToken
-
Construct a number token.
- NumberTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Matches numbers.
- NumberTokenMatcher(Pattern) - Constructor for class com.singularsys.jep.configurableparser.matchers.NumberTokenMatcher
- NumberTokenMatcher(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.NumberTokenMatcher
- numFac - Variable in class com.singularsys.jep.ComponentSet
- numFac - Variable in class com.singularsys.jep.Jep
-
Number Factory
- numOps - Variable in class com.singularsys.jep.OperatorTable
O
- OK - Enum constant in enum com.singularsys.jep.configurableparser.ShuntingYard.PrefixRes
-
Successful parse
- OldConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.OldConfig
- OldConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.OldConfig
- onClick(ClickEvent) - Method in class com.singularsys.client.GWTSimple
-
Fired when the user clicks on the calcButton, calls calcResult()
- ONE - Static variable in class com.singularsys.jep.standard.Complex
-
Constant 1+0 i
- ONE - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
- onKeyPress(KeyPressEvent) - Method in class com.singularsys.client.GWTConsoleAdapter
-
Handle KeyPress events.
- onKeyUp(KeyUpEvent) - Method in class com.singularsys.client.GWTSimple
-
Fired when the user types in the nameField.
- onModLoad() - Static method in class com.singularsys.client.GWTExpose
-
Native method written in JavaScript.
- onModLoad() - Method in class com.singularsys.client.GWTInterop
-
Calls the JavaScript
jepModuleLoaded()
method. - onModuleLoad() - Method in class com.singularsys.client.GWTConsole
-
This is the entry point method.
- onModuleLoad() - Method in class com.singularsys.client.GWTExpose
-
Standard GWT method called when module loaded.
- onModuleLoad() - Method in class com.singularsys.client.GWTInterop
-
Standard GWT method called when the module is loaded.
- onModuleLoad() - Method in class com.singularsys.client.GWTJepEntry
-
This is the entry point method, will construct the appropriate class, depending on the
window.PageType
variable, and calls itonModuleLoad()
method. - onModuleLoad() - Method in class com.singularsys.client.GWTSimple
-
This is the entry point method, called by the GWT system when the webpage is loaded.
- OP_ADD - Static variable in class com.singularsys.jep.OperatorTable
- OP_AND - Static variable in class com.singularsys.jep.OperatorTable
- OP_ASSIGN - Static variable in class com.singularsys.jep.OperatorTable
- OP_CROSS - Static variable in class com.singularsys.jep.OperatorTable
- OP_DIVIDE - Static variable in class com.singularsys.jep.OperatorTable
- OP_DOT - Static variable in class com.singularsys.jep.OperatorTable
- OP_ELEMENT - Static variable in class com.singularsys.jep.OperatorTable
- OP_EQ - Static variable in class com.singularsys.jep.OperatorTable
- OP_GE - Static variable in class com.singularsys.jep.OperatorTable
- OP_GT - Static variable in class com.singularsys.jep.OperatorTable
- OP_LE - Static variable in class com.singularsys.jep.OperatorTable
- OP_LIST - Static variable in class com.singularsys.jep.OperatorTable
- OP_LT - Static variable in class com.singularsys.jep.OperatorTable
- OP_MOD - Static variable in class com.singularsys.jep.OperatorTable
- OP_MULTIPLY - Static variable in class com.singularsys.jep.OperatorTable
- OP_NE - Static variable in class com.singularsys.jep.OperatorTable
- OP_NEGATE - Static variable in class com.singularsys.jep.OperatorTable
- OP_NOP - Static variable in class com.singularsys.jep.OperatorTable
- OP_NOT - Static variable in class com.singularsys.jep.OperatorTable
- OP_OR - Static variable in class com.singularsys.jep.OperatorTable
- OP_POWER - Static variable in class com.singularsys.jep.OperatorTable
- OP_RANGE - Static variable in class com.singularsys.jep.OperatorTable
- OP_RECIP - Static variable in class com.singularsys.jep.OperatorTable
-
unary division i.e.
- OP_SUBTRACT - Static variable in class com.singularsys.jep.OperatorTable
- OP_UPLUS - Static variable in class com.singularsys.jep.OperatorTable
- OpEquals - Class in com.singularsys.jep.misc.javaops
- OpEquals(PostfixMathCommandI) - Constructor for class com.singularsys.jep.misc.javaops.OpEquals
- Operator - Class in com.singularsys.jep
-
An Operator with additional information about its commutativity etc.
- Operator(String, PostfixMathCommandI, int) - Constructor for class com.singularsys.jep.Operator
-
Construct a new operator with no precedence set.
- Operator(String, PostfixMathCommandI, int, int) - Constructor for class com.singularsys.jep.Operator
-
Constructs a new operator with a given precedence.
- Operator(String, String, PostfixMathCommandI, int) - Constructor for class com.singularsys.jep.Operator
-
Constructs a new operator, with a different name and symbol
- Operator(String, String, PostfixMathCommandI, int, int) - Constructor for class com.singularsys.jep.Operator
-
Constructs a new operator, with a different name and symbol and allows a given precedence to be set.
- Operator_Associative() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Binary() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Colon() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Comma() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Commutative() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_EquivalenceRelation() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_FullStop() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Infix() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_LeftBinding() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_NoArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Operator() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Precedence() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Prefix() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Quote() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Reflexive() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_RightBinding() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Space() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Suffix() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Symmetric() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Ternary() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Transitive() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_Unary() - Method in interface com.singularsys.jep.GWTJepMessages
- Operator_VariableNumberOfArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- OperatorAsFunctionGrammarMatcher - Class in com.singularsys.jep.misc
-
A GrammarMatcher which matches functions in the form ' +(x,y)' where + is an operator.
- OperatorAsFunctionGrammarMatcher(Token, Token, Token, List<Operator>) - Constructor for class com.singularsys.jep.misc.OperatorAsFunctionGrammarMatcher
-
Create a OperatorAsFunctionGrammarMatcher
- OperatorTable - Class in com.singularsys.jep
-
Base class for the older style Operator table.
- OperatorTable() - Constructor for class com.singularsys.jep.OperatorTable
- OperatorTable(Operator[]) - Constructor for class com.singularsys.jep.OperatorTable
- OperatorTable2 - Class in com.singularsys.jep
-
The basic set of operators provided as standard by Jep.
- OperatorTable2() - Constructor for class com.singularsys.jep.OperatorTable2
- OperatorTable2(OperatorTable2) - Constructor for class com.singularsys.jep.OperatorTable2
-
Decorator constructor.
- OperatorTable2(Map<EmptyOperatorTable.OperatorKey, Operator>) - Constructor for class com.singularsys.jep.OperatorTable2
-
Constructor with pre-specified table of operators
- OperatorTable2.BasicOperators - Enum in com.singularsys.jep
-
The basic arithmetic comparative and logical operators
- OperatorTable2.PsudoOperators - Enum in com.singularsys.jep
-
Operators which do not correspond to
- OperatorTable2.SpecialOperators - Enum in com.singularsys.jep
-
Special purpose operators
- OperatorTableI - Interface in com.singularsys.jep
-
Interface for all OperatorTables.
- OperatorToken - Class in com.singularsys.jep.configurableparser.tokens
-
A token representing an operator.
- OperatorToken(List<Operator>, String) - Constructor for class com.singularsys.jep.configurableparser.tokens.OperatorToken
-
Creates the basic token.
- OperatorTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
TokenMatcher for matching operators from the operator set.
- OperatorTokenMatcher() - Constructor for class com.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
-
Default constructor.
- ops - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
- ops - Variable in class com.singularsys.jep.OperatorTable
- ops - Variable in class com.singularsys.jep.walkers.ExpressionConsolidator
- opTab - Variable in class com.singularsys.jep.ComponentSet
- opTab - Variable in class com.singularsys.jep.Jep
-
Operator Table
- OR - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- OR - Static variable in class com.singularsys.jep.functions.LazyLogical
- OR - Static variable in class com.singularsys.jep.functions.Logical
- OR - Static variable in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedLazyLogical
- OR - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- orCustomOperatorWorks() - Method in class com.singularsys.jeptests.system.BugsTest
- OREQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- ot - Variable in class com.singularsys.jep.PrintVisitor
- ot - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
-
Convenience reference to the OperatorTableI
- otm - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- output(Node, int) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
- outputter - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
- outputter - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- Outputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
- Outputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.Outputter
P
- parent - Variable in class com.singularsys.jep.parser.SimpleNode
- parse(Reader) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Parse a single equation.
- parse(Reader) - Method in class com.singularsys.jep.Jep
-
Parses the input from a Reader.
- parse(Reader) - Method in class com.singularsys.jep.misc.NullParser
- parse(Reader) - Method in interface com.singularsys.jep.Parser
-
Parse a single equation from a stream
- parse(Reader) - Method in class com.singularsys.jep.parser.StandardParser
-
Parses the input from the reader
stream
. - parse(String) - Static method in class com.singularsys.client.GWTExpose
-
Parse an expression
- parse(String) - Method in class com.singularsys.client.GWTInterop
-
Parse an expression
- parse(String) - Method in class com.singularsys.jep.Jep
-
Parses a string.
- parse(Iterator<Token>) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Perform the syntax analysis stage.
- parse(Iterator<Token>) - Method in interface com.singularsys.jep.configurableparser.GrammarParser
-
Main entry point used by the ConfigurableParser
- parse(Iterator<Token>) - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Main entry point, construct tree from sequence of tokens.
- ParseException - Exception Class in com.singularsys.jep
-
Exception thrown at parse time.
- ParseException - Exception Class in com.singularsys.jep.parser
-
This exception is thrown when parse errors are encountered.
- ParseException() - Constructor for exception class com.singularsys.jep.ParseException
- ParseException() - Constructor for exception class com.singularsys.jep.parser.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException(Token, int[][], String[]) - Constructor for exception class com.singularsys.jep.parser.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- ParseException(String) - Constructor for exception class com.singularsys.jep.ParseException
- ParseException(String) - Constructor for exception class com.singularsys.jep.parser.ParseException
-
Constructor with message.
- ParseException(String, int, int) - Constructor for exception class com.singularsys.jep.ParseException
- ParseException(String, Throwable) - Constructor for exception class com.singularsys.jep.ParseException
- ParseException(Throwable) - Constructor for exception class com.singularsys.jep.ParseException
- ParseException_LineColumnMessage() - Method in interface com.singularsys.jep.GWTJepMessages
- parseNE(String) - Static method in class com.singularsys.client.GWTExpose
-
Parse an expression, does not throw exceptions
- parseNE(String) - Method in class com.singularsys.client.GWTInterop
-
Parse an expression, does not throw exceptions
- parsePrefixSuffix() - Method in interface com.singularsys.jep.configurableparser.GrammarParser
-
Callback function used by GrammarMatchers where the matcher expects a simple number, variable, or function call with optional, prefix or suffix operator.
- parsePrefixSuffix() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Callback function used by GrammarMatchers where the matcher expects a simple number, variable, or function call with optional, prefix or suffix operator.
- parser - Variable in class com.singularsys.jep.ComponentSet
- parser - Variable in class com.singularsys.jep.Jep
-
Parser instance used for parsing expressions
- Parser - Interface in com.singularsys.jep
-
Defines the methods a parser must implement.
- parser_ASTConstant_Constant() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_ASTFunNode_Function() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_ASTOpNode_Operator() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_ASTVarNode_Variable() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JccParser_AssignmentNotEnabled() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JccParser_CantParseNumber() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JccParser_FunctionIllegalNumberOfArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JccParser_FunctionRequiresNArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JccParser_ImplicitMultiplicationNotEnabled() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JccParser_NoExpressionEntered() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JccParser_UnrecognizedFunction() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JccParser_UnrecognizedSymbol() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_JepJavaCharStream_InvalidUnicodeEscapeAtLineColumn() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_ParseException_AtLineColumn() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_ParseException_Encountered() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_ParseException_WasExpecting() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_ParseException_WasExpectingOneOf() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_SimpleNode_Space() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_TokenMgrError_LexicalErrorAtLineColumn() - Method in interface com.singularsys.jep.GWTJepMessages
- parser_TokenMgrError_LexicalErrorAtLineColumnEncounteredEOF() - Method in interface com.singularsys.jep.GWTJepMessages
- ParserVisitor - Interface in com.singularsys.jep
-
Classes which wish to use the visitor pattern should use this interface.
- ParseSpeed - Class in com.singularsys.jepexamples.diagnostics
-
Tests the speed of parsing.
- ParseSpeed() - Constructor for class com.singularsys.jepexamples.diagnostics.ParseSpeed
- parseSubExpression() - Method in interface com.singularsys.jep.configurableparser.GrammarParser
-
Parse sub expressions.
- parseSubExpression() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Callback function used by GrammarMatchers
- parseSubExpression() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard
- Pattern - Class in com.singularsys.compatibility
-
A very restricted re-implementation of the Pattern class.
- peekNext() - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
- peekNext() - Method in class com.singularsys.jep.configurableparser.LookaheadNIterator
- PERCENTKEY - Enum constant in enum com.singularsys.jep.misc.ExtendedOperatorSet.ExtendedOperators
- pfmc - Variable in class com.singularsys.jep.Operator
-
The PostfixMathCommandI for evaluating Access level changed to protected in version 3.5
- pfmc - Variable in class com.singularsys.jep.parser.ASTFunNode
-
The function class used to evaluate the node
- PiFun() - Constructor for class com.singularsys.jeptests.system.JepTest.PiFun
- PLUS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- PLUSEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- Polar - Class in com.singularsys.jep.functions
-
Converts an [r,theta] pair to a complex number r * e^(i theta).
- Polar() - Constructor for class com.singularsys.jep.functions.Polar
- polarValueOf(Number, Number) - Static method in class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- polarValueOf(Number, Number) - Static method in class com.singularsys.jep.standard.Complex
-
Converts an [r,theta] pair to a complex number r * e^(i theta).
- polarValueOf(Number, Number) - Static method in class com.singularsys.jep.standard.ImmutableComplex
- popOp() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Pops an operator off the Operator stack, and creates a new node.
- popOp() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard
- posns - Variable in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard
-
Stack to track positions when pushing and popping operators
- PostDec - Class in com.singularsys.jep.misc.javaops
-
Java style x-- operator.
- PostDec() - Constructor for class com.singularsys.jep.misc.javaops.PostDec
- POSTDEC - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- POSTFIX - Enum constant in enum com.singularsys.jep.OperatorTable2.PsudoOperators
-
Used to mark the precedence level of postfix operators like x++
- PostfixConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.PostfixConfig
- PostfixConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.PostfixConfig
- PostfixEvalTest - Class in com.singularsys.jeptests.system
- PostfixEvalTest() - Constructor for class com.singularsys.jeptests.system.PostfixEvalTest
- PostfixEvaluationConsole - Class in com.singularsys.jepexamples.consoles
- PostfixEvaluationConsole() - Constructor for class com.singularsys.jepexamples.consoles.PostfixEvaluationConsole
- PostfixEvaluator - Class in com.singularsys.jep.walkers
-
Evaluation component that avoids excessive use of the stack for large expressions.
- PostfixEvaluator() - Constructor for class com.singularsys.jep.walkers.PostfixEvaluator
- PostfixMathCommand - Class in com.singularsys.jep.functions
-
Function classes extend this class.
- PostfixMathCommand() - Constructor for class com.singularsys.jep.functions.PostfixMathCommand
-
Creates a new PostfixMathCommand class.
- PostfixMathCommand(int) - Constructor for class com.singularsys.jep.functions.PostfixMathCommand
-
Creates a new PostfixMathCommand class.
- PostfixMathCommandI - Interface in com.singularsys.jep
-
All function classes must implement this interface to ensure that the run() method is implemented.
- PostfixTreeWalker - Class in com.singularsys.jep.walkers
-
Base class for routines which use a non-recursive tree walker strategy.
- PostfixTreeWalker() - Constructor for class com.singularsys.jep.walkers.PostfixTreeWalker
- PostInc - Class in com.singularsys.jep.misc.javaops
-
Java style x++ operator.
- PostInc() - Constructor for class com.singularsys.jep.misc.javaops.PostInc
- POSTINC - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- PosZeroTest() - Method in class com.singularsys.jeptests.system.BugsTest
- POW - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- power(double) - Method in class com.singularsys.jep.standard.Complex
-
Returns this complex number raised to a double argument.
- power(double) - Method in class com.singularsys.jep.standard.ImmutableComplex
- power(double, int) - Static method in class com.singularsys.jep.functions.Power
-
A fast routine for computing integer powers.
- power(int) - Method in class com.singularsys.jep.standard.Complex
-
Raise this complex to an integer power.
- power(int) - Method in class com.singularsys.jep.standard.ImmutableComplex
- power(Complex) - Method in class com.singularsys.jep.standard.Complex
-
Returns the value of this complex number raised to the power of a complex exponent If this is zero return this.
- power(Complex) - Method in class com.singularsys.jep.standard.ImmutableComplex
- power(Complex, Complex) - Static method in class com.singularsys.jep.functions.Power
- power(Complex, Number) - Static method in class com.singularsys.jep.functions.Power
- power(Number, Complex) - Static method in class com.singularsys.jep.functions.Power
- power(Number, Number) - Method in class com.singularsys.jep.functions.Power
- power(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecPow
- power(Object, Object) - Method in class com.singularsys.jep.functions.Power
- Power - Class in com.singularsys.jep.functions
-
Computes the power of a number.
- Power() - Constructor for class com.singularsys.jep.functions.Power
-
Standard constructor, Complex results for x < 0, y non integral.
- Power(boolean) - Constructor for class com.singularsys.jep.functions.Power
-
If strict is true then returns NaN for x < 0, y non-integral.
- POWER - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- power_only_works_when_argument_is_integral() - Method in class com.singularsys.jeptests.system.BigDecimalTest
-
Trying to raise a big decimal to a non-integral big decimal fails as not supported by BigDecimal BigDecimal Rounding using power operator
- powerD(double) - Method in class com.singularsys.jep.standard.Complex
-
Returns the value of this complex number raised to the power of a real component (in double precision).
- powerD(double) - Method in class com.singularsys.jep.standard.ImmutableComplex
- powerI(int) - Method in class com.singularsys.jep.standard.Complex
-
Raise a complex number to an integer power.
- powerI(int) - Method in class com.singularsys.jep.standard.ImmutableComplex
- precedence - Variable in class com.singularsys.jep.Operator
-
Precedence of operator, 0 is most tightly bound, so prec("*") < prec("+").
- preCompiled - Variable in class com.singularsys.jep.misc.MacroFunction
- PreDec - Class in com.singularsys.jep.misc.javaops
-
Java style --x operator.
- PreDec() - Constructor for class com.singularsys.jep.misc.javaops.PreDec
- PREDEC - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- prefix() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Matches identifies, numbers, prefix operators and plugged in grammar matchers.
- prefix() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard
- PREFIX - Enum constant in enum com.singularsys.jep.OperatorTable2.PsudoOperators
-
Used to mark the precedence level of prefix operators like ++x
- PREFIX - Static variable in class com.singularsys.jep.Operator
-
prefix operators -x
- prefix_suffix_operators_inside_single_arg_function_parses_correctly() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Test a combination of suffix operations with function for better coverage
- PrefixDumperConsole - Class in com.singularsys.jepexamples.consoles
-
A console application which dumps the tree representing an equation and statistics about the tree.
- PrefixDumperConsole() - Constructor for class com.singularsys.jepexamples.consoles.PrefixDumperConsole
- prefixSuffix() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
A prefix() optionally followed by suffix operators.
- prefixSuffixUnchecked() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Attempt to match a prefix optionally followed by suffix operators.
- PrefixTreeDumper - Class in com.singularsys.jep.walkers
-
Dumps the contents of a tree to a specified stream, or to standard output.
- PrefixTreeDumper() - Constructor for class com.singularsys.jep.walkers.PrefixTreeDumper
- PrefixTreeDumper(PrintStream) - Constructor for class com.singularsys.jep.walkers.PrefixTreeDumper
- PrefixTreeWalker - Class in com.singularsys.jep.walkers
-
Base class for routines which use a non-recursive tree walker strategy.
- PrefixTreeWalker() - Constructor for class com.singularsys.jep.walkers.PrefixTreeWalker
- prefixUnchecked() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
Matches identifies, numbers, prefix operators and plugged in grammar matchers.
- PreInc - Class in com.singularsys.jep.misc.javaops
-
Java style ++x operator.
- PreInc() - Constructor for class com.singularsys.jep.misc.javaops.PreInc
- PREINC - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- prev() - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
-
Return the token just consumed.
- prev() - Method in class com.singularsys.jep.configurableparser.LookaheadNIterator
- print() - Method in class com.singularsys.jep.Jep
-
Print the last parsed expression to System.out.
- print(Node) - Method in class com.singularsys.jep.Jep
-
Print an expression to System.out.
- print(Node) - Method in class com.singularsys.jep.PrintVisitor
-
Prints on System.out.
- print(Node, PrintStream) - Method in class com.singularsys.jep.Jep
-
Print an expression to a given stream.
- print(Node, PrintStream) - Method in class com.singularsys.jep.PrintVisitor
-
Prints the tree descending from node with lots of brackets or specified stream.
- print(Object) - Method in class com.singularsys.client.GWTConsole
-
Delegates to
GWTConsoleAdapter.print(Object)
- print(Object) - Method in class com.singularsys.client.GWTConsoleAdapter
-
Prints the object to the Bottom of the TextArea
- print(Object) - Method in class com.singularsys.jepexamples.consoles.Console.JepPrintStream
- print(Object) - Method in class com.singularsys.jepexamples.consoles.Console
-
Prints a line of text no newline.
- print(String) - Method in class com.singularsys.jepexamples.consoles.Console.JepPrintStream
- PRINT_RESULTS - Static variable in class com.singularsys.jeptests.system.JepTest
- printBrackets(Node) - Method in class com.singularsys.jep.PrintVisitor
-
Print a node surrounded by brackets.
- PrintConsole - Class in com.singularsys.jepexamples.consoles
- PrintConsole() - Constructor for class com.singularsys.jepexamples.consoles.PrintConsole
- printFooter(SpeedTestComplex, long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.Outputter
- printFooter(SpeedTestComplex, long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.RatioOutputter
- printFooter(SpeedTestComplex, long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.TabOutputter
- printFooter(SpeedTest, long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
- printFooter(SpeedTest, long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.RatioOutputter
- printFooter(SpeedTest, long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.TabOutputter
- printFuns() - Method in class com.singularsys.jepexamples.consoles.Console
-
Prints a list of defined functions.
- printHeader(SpeedTest) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
- printHeader(SpeedTest) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.TabOutputter
- printHeader(SpeedTestComplex) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.Outputter
- printHeader(SpeedTestComplex) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.TabOutputter
- printHelp() - Method in class com.singularsys.jepexamples.consoles.BigDecimalConsole
- printHelp() - Method in class com.singularsys.jepexamples.consoles.Console
-
Print help message.
- printHelp() - Method in class com.singularsys.jepexamples.consoles.PrefixDumperConsole
- printIntroText() - Method in class com.singularsys.jepexamples.consoles.Console
-
Prints introductory text.
- printIntroText() - Method in class com.singularsys.jepexamples.consoles.VectorConsole
- println() - Method in class com.singularsys.jep.Jep
-
Print the last parsed expression to
System.out
with a new line. - println(Node) - Method in class com.singularsys.jep.Jep
-
Print an expression to
System.out
with a new line. - println(Node) - Method in class com.singularsys.jep.PrintVisitor
-
Prints on System.out.
- println(Node, PrintStream) - Method in class com.singularsys.jep.Jep
-
Print an expression to a given stream with a newline.
- println(Node, PrintStream) - Method in class com.singularsys.jep.PrintVisitor
-
Prints the tree descending from node with a newline at end.
- println(Object) - Method in class com.singularsys.client.GWTConsole
-
Delegates to
GWTConsoleAdapter.println(Object)
- println(Object) - Method in class com.singularsys.client.GWTConsoleAdapter
-
Prints a line of text with a newline.
- println(Object) - Method in class com.singularsys.jepexamples.consoles.Console.JepPrintStream
- println(Object) - Method in class com.singularsys.jepexamples.consoles.Console
-
Prints a line of text followed by a newline.
- println(String) - Method in class com.singularsys.jepexamples.consoles.Console.JepPrintStream
- println(String) - Static method in class com.singularsys.jeptests.system.ExpressionEvalTest
-
Helper function for printing lines.
- printNoBrackets(Node) - Method in class com.singularsys.jep.PrintVisitor
-
Print the node with no brackets.
- printOps() - Method in class com.singularsys.jepexamples.consoles.Console
-
Prints a list of defined operators.
- printOutputHeader(SpeedTestComplex, String[], String[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.Outputter
- printOutputHeader(SpeedTestComplex, String, String[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.Outputter
- printOutputHeader(SpeedTest, String[], String[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
- printOutputHeader(SpeedTest, String, String[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
- printOutputTimes(SpeedTestComplex, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.Outputter
- printOutputTimes(SpeedTestComplex, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.RatioOutputter
- printOutputTimes(SpeedTestComplex, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.TabOutputter
- printOutputTimes(SpeedTestComplex, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.Outputter
- printOutputTimes(SpeedTestComplex, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.RatioOutputter
- printOutputTimes(SpeedTestComplex, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.TabOutputter
- printOutputTimes(SpeedTest, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
- printOutputTimes(SpeedTest, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.RatioOutputter
- printOutputTimes(SpeedTest, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.TabOutputter
- printOutputTimes(SpeedTest, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
- printOutputTimes(SpeedTest, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.RatioOutputter
- printOutputTimes(SpeedTest, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.TabOutputter
- printRatios(SpeedTestComplex, long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.Outputter
- printRatios(SpeedTest, long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
- printStdHelp() - Method in class com.singularsys.jepexamples.consoles.Console
-
Prints a standard help message.
- printSymbol - Variable in class com.singularsys.jep.Operator
-
The symbol for the operator, used for printing.
- printTestHeader(String) - Method in class com.singularsys.jeptests.system.JepTest
-
Prints a header with the name of the test as specified in str.
- printTokenList(List<Token>) - Method in class com.singularsys.jeptests.unit.TokenizerTest
- printVars() - Method in class com.singularsys.jepexamples.consoles.Console
-
Prints a list of variable.
- PrintVisitor - Class in com.singularsys.jep
-
Prints an expression with configuration options.
- PrintVisitor() - Constructor for class com.singularsys.jep.PrintVisitor
-
Creates a visitor to create and print string representations of an expression tree.
- PrintVisitor_NullOperatorWhenPrinting_node() - Method in interface com.singularsys.jep.GWTJepMessages
- PrintVisitor.NullPrintVisitor - Class in com.singularsys.jep
-
A do-nothing version of a PrintVisitor for reducing memory usage.
- PrintVisitor.PrintRulesI - Interface in com.singularsys.jep
-
This interface specifies the method needed to implement a special print rule.
- PrintVisitor.StdElePrintRule - Class in com.singularsys.jep
-
Prints a list access in form a[3] or for multidimensional access use the list syntax.
- PrintVisitor.StdListPrintRule - Class in com.singularsys.jep
-
Prints a list of elements using '[' and ']' as delimiters and ',' as a separators.
- PrintVisitorTest - Class in com.singularsys.jeptests.unit
- PrintVisitorTest() - Constructor for class com.singularsys.jeptests.unit.PrintVisitorTest
- printWrap(StringBuffer, PrintStream) - Method in class com.singularsys.jep.PrintVisitor
-
Utility method to print a wrapped version of the output.
- processCommand(String) - Method in class com.singularsys.jepexamples.consoles.Console
-
Process a single command.
- processEquation(Node) - Method in class com.singularsys.jepexamples.consoles.Console
-
Performs the required operation on a node.
- processEquation(Node) - Method in class com.singularsys.jepexamples.consoles.PostfixEvaluationConsole
- processEquation(Node) - Method in class com.singularsys.jepexamples.consoles.PrefixDumperConsole
- processEquation(Node) - Method in class com.singularsys.jepexamples.consoles.PrintConsole
- Product() - Constructor for class com.singularsys.jeptests.system.JepTest.Product
- pushOp(Operator, Token) - Method in class com.singularsys.jep.configurableparser.ShuntingYard
-
The pushOp function is worth some explanation Say 1+2*3 is parsed.
- pushOp(Operator, Token) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard
- put(String, PostfixMathCommandI) - Method in class com.singularsys.jep.misc.FunctionSet
- pv - Variable in class com.singularsys.jep.ComponentSet
- pv - Variable in class com.singularsys.jep.Jep
-
PrintVisitor
R
- Random - Class in com.singularsys.jep.functions
-
Encapsulates the Math.random() function.
- Random() - Constructor for class com.singularsys.jep.functions.Random
- RANGE - Enum constant in enum com.singularsys.jep.OperatorTable2.SpecialOperators
-
A range [-5:5]
- RatioOutputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.RatioOutputter
- RatioOutputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.RatioOutputter
- RBracket - Variable in class com.singularsys.jep.PrintVisitor
- re() - Method in class com.singularsys.jep.standard.Complex
-
Returns the real component of this object
- re(Object) - Method in class com.singularsys.jep.functions.Real
- read(char[], int, int) - Method in class com.singularsys.compatibility.BufferedReader
- readLine() - Method in class com.singularsys.compatibility.BufferedReader
- Real - Class in com.singularsys.jep.functions
-
Finds the real part of a complex number.
- Real() - Constructor for class com.singularsys.jep.functions.Real
- real_RealEvaluator_CannotConvertToDouble() - Method in interface com.singularsys.jep.GWTJepMessages
- real_RealEvaluator_NullValue() - Method in interface com.singularsys.jep.GWTJepMessages
- real_RealEvaluator_NullVariableValue() - Method in interface com.singularsys.jep.GWTJepMessages
- real_RealEvaluator_PostfixMathCommandNotFound() - Method in interface com.singularsys.jep.GWTJepMessages
- RealBinaryFunction - Interface in com.singularsys.jep.reals
- RealComponents - Class in com.singularsys.jep.reals
-
A set of components for real (non-complex) evaluation.
- RealComponents() - Constructor for class com.singularsys.jep.reals.RealComponents
- RealComponents(Jep) - Constructor for class com.singularsys.jep.reals.RealComponents
-
Build a set of components using those from the jep instance and standard components if the jep components are null.
- RealConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.RealConfig
- RealConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.RealConfig
- RealEvalTest - Class in com.singularsys.jeptests.system
- RealEvalTest() - Constructor for class com.singularsys.jeptests.system.RealEvalTest
- RealEvaluator - Class in com.singularsys.jep.reals
-
Performs fast evaluation of expressions by using primitive types double and boolean instead of objects.
- RealEvaluator() - Constructor for class com.singularsys.jep.reals.RealEvaluator
- RealFunctionTable - Class in com.singularsys.jep.reals
-
Function table where evaluation is carried out using reals and never complex numbers.
- RealFunctionTable() - Constructor for class com.singularsys.jep.reals.RealFunctionTable
- RealFunctionTable(Map<String, PostfixMathCommandI>) - Constructor for class com.singularsys.jep.reals.RealFunctionTable
- RealNaryFunction - Interface in com.singularsys.jep.reals
- RealNullaryFunction - Interface in com.singularsys.jep.reals
- RealUnaryFunction - Interface in com.singularsys.jep.reals
- RealVariableTable - Class in com.singularsys.jep.reals
-
A VariableTable which defines
pi, e, true, false
but not the complex numberi
. - RealVariableTable(boolean) - Constructor for class com.singularsys.jep.reals.RealVariableTable
-
Constructor with delayed initialisation of constants.
- RealVariableTable(VariableFactory) - Constructor for class com.singularsys.jep.reals.RealVariableTable
-
Constructor when the VariableFactory is known beforehand.
- RECIP - Enum constant in enum com.singularsys.jep.OperatorTable2.PsudoOperators
-
reciprocal 1/x
- reciprocal() - Method in class com.singularsys.jep.standard.Complex
-
Returns the reciprocal of a complex number 1/z.
- reciprocal() - Method in class com.singularsys.jep.standard.ImmutableComplex
- recursiveHornerExpression(String, String, int) - Static method in class com.singularsys.jepexamples.diagnostics.Utils
- REFLEXIVE - Static variable in class com.singularsys.jep.Operator
-
Reflective relations x=x for all x.
- RegExpTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
An abstract TokenMatcher which uses RegExp patterns to match patterns.
- RegExpTokenMatcher(Pattern) - Constructor for class com.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher
-
A token matcher which matches a specified of pattern.
- RegExpTokenMatcher(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher
-
A token matcher which matches a regular expression of pattern.
- reinitializeComponents() - Method in class com.singularsys.jep.Jep
-
Calls the
init
method of all components. - Remainder - Class in com.singularsys.jep.misc.functions
-
Calculates the remainder and quotient the arguments.
- Remainder(Remainder.Type) - Constructor for class com.singularsys.jep.misc.functions.Remainder
- Remainder.Type - Enum in com.singularsys.jep.misc.functions
- remove(Variable) - Method in class com.singularsys.jep.VariableTable
-
Remove a variable from the table.
- remove(Object) - Method in class com.singularsys.jep.misc.FunctionSet
- remove(String) - Method in class com.singularsys.jep.FunctionTable
- remove(String) - Method in class com.singularsys.jep.VariableTable
-
Remove a variable with a given name from the table.
- removeHook(Node.HookKey) - Method in interface com.singularsys.jep.parser.Node
-
Remove the key
- removeHook(Node.HookKey) - Method in class com.singularsys.jep.parser.SimpleNode
- removeHook(Node.HookKey) - Method in class com.singularsys.jep.Variable
-
Remove a hook from a variable
- removeHooks(Node) - Method in class com.singularsys.jep.walkers.HookRemover
-
Remove hooks from this tree
- removeNonConstants() - Method in class com.singularsys.jep.VariableTable
-
Remove all variables from the table which are not constants.
- removeOperator(EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Remove a give operator from the table
- removeOperator(Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Remove a give operator from the table
- removeOperator(Operator) - Method in class com.singularsys.jep.OperatorTable
-
Remove an operator from the table.
- replaceAll(String) - Method in class com.singularsys.compatibility.Matcher
- replaceOperator(EmptyOperatorTable.OperatorKey, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Replace a give operator with a new one.
- replaceOperator(Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Replace a give operator with a new one.
- replaceOperator(Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
-
replace an existing operator by a new one.
- restart(Reader) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Load a new stream to read from.
- restart(Reader) - Method in class com.singularsys.jep.misc.NullParser
- restart(Reader) - Method in interface com.singularsys.jep.Parser
-
Restart the parser for reentrant parsing of multiple equations.
- restart(Reader) - Method in class com.singularsys.jep.parser.StandardParser
- RETURN_NULL - Enum constant in enum com.singularsys.jep.misc.functions.Case.NullBehaviour
-
Returns null
- RETURN_NULL - Enum constant in enum com.singularsys.jep.misc.functions.Switch.NullBehaviour
-
Returns null
- RETURN_NULL - Enum constant in enum com.singularsys.jep.misc.functions.SwitchDefault.NullBehaviour
-
Returns null
- Right - Class in com.singularsys.jep.functions.strings
-
Extract the right most n characters from a string: right("abcdefg",2) -> "fg".
- Right() - Constructor for class com.singularsys.jep.functions.strings.Right
- RIGHT - Static variable in class com.singularsys.jep.Operator
-
Right binding like =: 1=2=3 -> 1=(2=3)
- rint(double) - Method in class com.singularsys.jep.functions.RInt
- RInt - Class in com.singularsys.jep.functions
-
A PostfixMathCommandI which rounds a number to the closest integer.
rint(2.4) finds the closest integer to the argument (2).
rint(2.1234, 3) rounds the argument to 3 decimal places (2.123). - RInt() - Constructor for class com.singularsys.jep.functions.RInt
- root - Variable in class com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable
- rootNodeToString() - Method in class com.singularsys.jep.Jep
-
Returns a string representation of the last expression parsed.
- round(double) - Method in class com.singularsys.jep.functions.Round
-
The rounding method which implements the core rounding operation used in this class.
- round(Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRound
- round(Object) - Method in class com.singularsys.jep.functions.RInt
- round(Object) - Method in class com.singularsys.jep.functions.Round
- round(Object) - Method in class com.singularsys.jep.functions.RoundBD
- round(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRound
- round(Object, Object) - Method in class com.singularsys.jep.functions.RInt
- round(Object, Object) - Method in class com.singularsys.jep.functions.Round
- round(Object, Object) - Method in class com.singularsys.jep.functions.RoundBD
- Round - Class in com.singularsys.jep.functions
-
A PostfixMathCommandI which rounds a number.
round(a)
adds 0.5 to the argument and returns the closest integer.
round(a,3)
rounds the argument to 3 decimal places. - Round() - Constructor for class com.singularsys.jep.functions.Round
- Round() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- roundBD(BigDecimal, int) - Method in class com.singularsys.jep.functions.RoundBD
-
Round a big decimal to a set number of decimal places
- RoundBD - Class in com.singularsys.jep.functions
-
Rounding functions using
BigDecimal.setScale(int, RoundingMode)
this should handle tricky cases likeround(265.335,2)
correctly. - RoundBD() - Constructor for class com.singularsys.jep.functions.RoundBD
-
Constructor with a rounding mode matching the behaviour or Math.round, that is it equivalent to Math.floor(a + 0.5d).
- RoundBD(RoundingMode) - Constructor for class com.singularsys.jep.functions.RoundBD
-
Constructor with a specified rounding mode.
- RoundBracketGrammarMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A GrammarMatcher which matches bracketed expressions.
- RoundBracketGrammarMatcher(Token, Token) - Constructor for class com.singularsys.jep.configurableparser.matchers.RoundBracketGrammarMatcher
-
Create a RoundBracketGrammarMatcher
- RoundSF - Class in com.singularsys.jep.misc.functions
-
Rounds to a specific number of significant figures.
- RoundSF() - Constructor for class com.singularsys.jep.misc.functions.RoundSF
- RRND - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- RShift - Class in com.singularsys.jep.misc.bitwise
-
Bitwise right shift with sign extension, like the java a >> b operator.
- RShift() - Constructor for class com.singularsys.jep.misc.bitwise.RShift
- RSHIFT - Enum constant in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
- RSHIFTEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- RSQ - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- run(String[]) - Method in class com.singularsys.jepexamples.consoles.Console
-
The main entry point with command line arguments
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.ArrayFunctionBase
-
Calls the calc method after concatenating all elements into list.
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.BinaryFunction
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.List
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.NaryBinaryFunction
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.NaryFunction
-
Creates an array of object then calls
NaryFunction.eval(Object[])
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.NullaryFunction
-
Calls
NullaryFunction.eval()
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Throws an exception because this method should never be called under normal circumstances.
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.Round
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.Sum
-
Calculates the result of summing up all parameters.
- run(Stack<Object>) - Method in class com.singularsys.jep.functions.UnaryFunction
-
Used for compatibility with
StandardEvaluator
Simple callsUnaryFunction.eval(Object)
placing result on stack. - run(Stack<Object>) - Method in class com.singularsys.jep.misc.functions.ElementOf
-
Calls the calc method after concatenating the second and subsequent elements into list.
- run(Stack<Object>) - Method in class com.singularsys.jep.misc.javaops.TernaryConditional
- run(Stack<Object>) - Method in class com.singularsys.jep.misc.MacroFunction
-
Calculates the value of the expression.
- run(Stack<Object>) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedPfmc
- run(Stack<Object>) - Method in interface com.singularsys.jep.PostfixMathCommandI
-
Run the function on the stack.
- run(Stack<Object>) - Method in class com.singularsys.jeptests.system.BugsTest.StackMessingFunc
- run(Stack<Object>) - Method in class com.singularsys.jeptests.system.JepTest.AddFractionsStack
- run(Stack<Object>) - Method in class com.singularsys.jeptests.system.JepTest.Diff
- run(Stack<Object>) - Method in class com.singularsys.jeptests.system.JepTest.PiFun
- run(Stack<Object>) - Method in class com.singularsys.jeptests.system.JepTest.Product
- run(Stack<Object>) - Method in class com.singularsys.jeptests.system.JepTest.Square
- runTests() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
-
A standard set of tests.
- runTests(SpeedTest) - Static method in class com.singularsys.jepexamples.diagnostics.SpeedTest
-
A standard set of tests.
- runTests2(SpeedTest) - Static method in class com.singularsys.jepexamples.diagnostics.SpeedTest
S
- sb - Variable in class com.singularsys.jep.PrintVisitor
- scan() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Scan next equations from an existing stream.
- scan() - Method in class com.singularsys.jep.configurableparser.Tokenizer
-
Scans the input, breaking it down into tokens.
- scan(Reader) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Scan the input.
- Scanner - Class in com.singularsys.compatibility
-
Do nothing implementation.
- Scanner(String) - Constructor for class com.singularsys.compatibility.Scanner
- sec(Object) - Method in class com.singularsys.jep.functions.Secant
- Secant - Class in com.singularsys.jep.functions
-
The secant function.
- Secant() - Constructor for class com.singularsys.jep.functions.Secant
- SELF_INVERSE - Static variable in class com.singularsys.jep.Operator
-
self inverse operators like -(-x) !(!x)
- SEMI - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- semiColonTerminatorMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.TerminatorTokenMatcher
-
Factory creating a TerminalTokenMatcher which matches a semicolon.
- sentinel - Static variable in class com.singularsys.jep.configurableparser.ShuntingYard
- set(double, double) - Method in class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- set(double, double) - Method in class com.singularsys.jep.standard.Complex
-
Sets the real and imaginary values of the object.
- set(Evaluator, Node, Object) - Method in class com.singularsys.jep.functions.Ele
- set(Evaluator, Node, Object) - Method in interface com.singularsys.jep.functions.LValueI
-
Performs appropriate action to set an LValue.
- set(Complex) - Method in class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- set(Complex) - Method in class com.singularsys.jep.standard.Complex
-
Copies the values from the parameter object to this object
- set_of_hooks_is_initially_empty() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- set_of_hooks_is_initially_empty() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- setAllowAssignment(boolean) - Method in class com.singularsys.jep.Jep
-
Sets whether assignment equations like
y=x+1
are allowed. - setAllowComplexResults(boolean) - Method in class com.singularsys.jep.functions.Power
- setAllowStrings(boolean) - Method in class com.singularsys.jep.bigdecimal.BigDecComponents
-
Sets whether BigDecimals and strings can be used together.
- setAllowStrings(boolean) - Method in class com.singularsys.jep.bigdecimal.BigDecOperatorTable
-
Sets the allowStrings flag of the operators.
- setAllowStrings(boolean) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecAdd
-
Sets whether strings should be allowed with this operator or not.
- setAllowStrings(boolean) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
-
Sets whether comparing strings is allowed.
- setAllowUndeclared(boolean) - Method in class com.singularsys.jep.Jep
-
Sets the value for the undeclared variables option.
- setAlteredCommand(String) - Method in class com.singularsys.jepexamples.consoles.Console
-
Set the command used if @link{SPEC_ACTION.ALTERED} returned.
- setAuxComps(JepComponent[]) - Method in class com.singularsys.jep.ComponentSet
- setBasicPfmcs() - Method in class com.singularsys.jep.bigdecimal.BigDecOperatorTable
- setBasicPfmcs() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
-
A do nothing implementation.
- setBasicPfmcs() - Method in class com.singularsys.jep.standard.StandardOperatorTable2
-
Sets the standard set of pfmc's for basic operators.
- setBDPfmcs() - Method in class com.singularsys.jep.bigdecimal.BigDecOperatorTable
- setBinaryInverseOp(int, int) - Method in class com.singularsys.jep.OperatorTable
- setBinaryInverseOp(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
- setBinaryInverseOp(Operator) - Method in class com.singularsys.jep.Operator
-
In a mathematical group with operator + and inverse uminus (-y) the binary inverse operator is the composition x + (-y) in other words subtraction -.
- setBitPfmcs() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- setComponent(JepComponent) - Method in class com.singularsys.jep.Jep
-
Sets a single component.
- setComponentInternal(JepComponent) - Method in class com.singularsys.jep.Jep
-
Identifies the type of
comp
and set the associated member accordingly. - setComponents(JepComponent...) - Method in class com.singularsys.jep.Jep
-
Sets one or more components for this Jep instance.
- setComponentsInternal(ComponentSet) - Method in class com.singularsys.jep.Jep
- setCurNumberOfParameters(int) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Sets the number of current number of parameters used in the next call of run().
- setCurNumberOfParameters(int) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNary
- setCurNumberOfParameters(int) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNaryBinary
- setCurNumberOfParameters(int) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedPfmc
- setCurNumberOfParameters(int) - Method in interface com.singularsys.jep.PostfixMathCommandI
-
Sets the number of current number of parameters used in the next call of run().
- setCurrentPosition(int, int) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
-
Sets the current position which will be used the next time a node is created.
- setDecimalFormatSymbols(DecimalFormatSymbols) - Method in class com.singularsys.compatibility.DecimalFormat
- setDefaultValue(Object) - Method in class com.singularsys.jep.Jep
-
Sets the default value used for new variables.
- setDefaultValue(Object) - Method in class com.singularsys.jep.VariableFactory
-
Sets the default value used whenever a new variable is created.
- setDistributiveOver(int, int) - Method in class com.singularsys.jep.OperatorTable
- setDistributiveOver(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
- setDistributiveOver(Operator) - Method in class com.singularsys.jep.Operator
- setEvaluator(Evaluator) - Method in class com.singularsys.jep.ComponentSet
- setExtendedPfmcs() - Method in class com.singularsys.jep.misc.ExtendedOperatorSet
- setFlag(int, boolean) - Method in class com.singularsys.jep.Operator
-
Set the value of a specific flag.
- setFormat(String) - Method in class com.singularsys.jepexamples.consoles.Console
- setFunArgSep(String) - Method in class com.singularsys.jep.PrintVisitor
-
Set the string separating function arguments.
- setFunction(String, PostfixMathCommandI) - Method in class com.singularsys.jep.parser.ASTFunNode
-
Sets the function for a node.
- setFunctionTable(FunctionTable) - Method in class com.singularsys.jep.ComponentSet
- setFunLBracket(String) - Method in class com.singularsys.jep.PrintVisitor
-
Set the string for left bracket around function arguments.
- setFunRBracket(String) - Method in class com.singularsys.jep.PrintVisitor
-
Set the string for right bracket around function arguments.
- setGrammarParserFactory(GrammarParserFactory) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Sets the GrammarParserFactory
- setGroupingUsed(boolean) - Method in class com.singularsys.compatibility.DecimalFormat
- setGroupOperatorRelations(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Sets relations of three operators.
- setGroupOperatorRelations(Operator, Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Sets relations of three operators.
- setHook(Node.HookKey, Object) - Method in interface com.singularsys.jep.parser.Node
-
Set the data associated with a given key
- setHook(Node.HookKey, Object) - Method in class com.singularsys.jep.parser.SimpleNode
-
Sets the value associated with a key.
- setHook(Node.HookKey, Object) - Method in class com.singularsys.jep.Variable
-
Sets the value associated with a key.
- setIm(double) - Method in class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- setIm(double) - Method in class com.singularsys.jep.standard.Complex
-
Sets the imaginary component of the object
- setImplicitMul(boolean) - Method in class com.singularsys.jep.Jep
-
Sets the value of the implicit multiplication option.
- setImplicitMultiplicationSymbols(String...) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Sets those symbols which can appear on the right-hand side of implicit multiplication.
- setInfinity(String) - Method in class com.singularsys.compatibility.DecimalFormatSymbols
- setInputIterator(Iterator<E>) - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
-
Should be called if the default constructor is used.
- setInputIterator(Iterator<E>) - Method in class com.singularsys.jep.configurableparser.LookaheadNIterator
- setInverseOp(int, int) - Method in class com.singularsys.jep.OperatorTable
- setInverseOp(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
- setInverseOp(Operator) - Method in class com.singularsys.jep.Operator
-
For composite operators like a-b which can be considered as a+(-b) there is a root operator (+) and an inverse operator (UMinus).
- setIsConstant(boolean) - Method in class com.singularsys.jep.Variable
-
Setting this property to true ensures that the value will not be changed.
- setIterator(Lookahead2Iterator<Token>) - Method in interface com.singularsys.jep.configurableparser.GrammarParser
-
Set the iterator used by the
GrammarParser.parseSubExpression()
- setIterator(Lookahead2Iterator<Token>) - Method in class com.singularsys.jep.configurableparser.ShuntingYard
- setJavaPfmcs() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- setKey(int) - Method in class com.singularsys.jep.Operator
-
Deprecated.
- setLBracket(String) - Method in class com.singularsys.jep.PrintVisitor
-
Set the string for left brackets.
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.BigDecComponents
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.BigDecFunctionTable
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.BigDecOperatorTable
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecAdd
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecDiv
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMod
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMul
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecNegate
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecPow
- setMathContext(MathContext) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecSub
- setMaximumFractionDigits(int) - Method in class com.singularsys.compatibility.NumberFormat
-
Does nothing
- setMaxLen(int) - Method in class com.singularsys.jep.PrintVisitor
-
Sets the maximum length printed per line.
- setMinimumFractionDigits(int) - Method in class com.singularsys.compatibility.NumberFormat
-
Does nothing
- setMode(int, boolean) - Method in class com.singularsys.jep.PrintVisitor
-
Set printing mode.
- setName(String) - Method in class com.singularsys.jep.functions.PostfixMathCommand
- setName(String) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedAbstractInc
- setName(String) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedBinary
- setName(String) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNary
- setName(String) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedNaryBinary
- setName(String) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedPfmc
- setName(String) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedUnary
- setName(String) - Method in interface com.singularsys.jep.PostfixMathCommandI
-
Sets the name of the function used for error messages
- setNaN(String) - Method in class com.singularsys.compatibility.DecimalFormatSymbols
- setNodeFactory(NodeFactory) - Method in class com.singularsys.jep.ComponentSet
- setNumberFactory(NumberFactory) - Method in class com.singularsys.jep.ComponentSet
- setNumberFormat(NumberFormat) - Method in class com.singularsys.jep.PrintVisitor
-
Sets the number format to use.
- setNumOps(int) - Method in class com.singularsys.jep.OperatorTable
- setOperator(Operator) - Method in class com.singularsys.jep.parser.ASTOpNode
-
Sets the opID, name and pfmc for this node by looking up the values in the Operators class
- setOperatorTable(OperatorTableI) - Method in class com.singularsys.jep.ComponentSet
- setParser(Parser) - Method in class com.singularsys.jep.ComponentSet
- setPFMC(PostfixMathCommandI) - Method in class com.singularsys.jep.Operator
- setPosition(int, int) - Method in class com.singularsys.jep.configurableparser.tokens.Token
-
Sets the position of the token.
- setPosition(int, int) - Method in exception class com.singularsys.jep.ParseException
- setPosition(Node, int, int) - Static method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
-
Convenience method to set the line and column numbers for a node.
- setPrecedence(int) - Method in class com.singularsys.jep.configurableparser.TernaryOperator
- setPrecedence(int) - Method in class com.singularsys.jep.Operator
-
Set the precedence of the operator.
- setPrecedenceTable(int[][]) - Method in class com.singularsys.jep.OperatorTable
-
Sets the precedence of all operators at one time.
- setPrecedenceTable(EmptyOperatorTable.OperatorKey[][]) - Method in class com.singularsys.jep.EmptyOperatorTable
-
Sets the precedence of all operators at one time.
- setPrintSymbol(String) - Method in class com.singularsys.jep.Operator
-
The symbol used for printing.
- setPrintVisitor(PrintVisitor) - Method in class com.singularsys.jep.ComponentSet
- setPsudoPfmcs() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
-
A do nothing implementation.
- setPsudoPfmcs() - Method in class com.singularsys.jep.standard.StandardOperatorTable2
- setRBracket(String) - Method in class com.singularsys.jep.PrintVisitor
-
Set the string for right brackets.
- setRe(double) - Method in class com.singularsys.jep.standard.Complex.NonPropagatingImmutableComplex
- setRe(double) - Method in class com.singularsys.jep.standard.Complex
-
Sets the real component of the object
- setRhsImpMul(boolean) - Method in class com.singularsys.jep.configurableparser.tokens.SymbolToken
- setRootOp(int, int) - Method in class com.singularsys.jep.OperatorTable
- setRootOp(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
- setRootOp(Operator) - Method in class com.singularsys.jep.Operator
-
For composite operators like a-b which can be considered as a+(-b) there is a root operator (+) and an inverse operator (UMinus).
- setShiftZeroElePfmc() - Method in class com.singularsys.jeptests.system.JepTest
- setSpecialPfmcs() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
-
A do nothing implementation.
- setSpecialPfmcs() - Method in class com.singularsys.jep.standard.StandardOperatorTable2
-
Sets the standard set of pfmcs for special operator: assignment, dot product, cross product, the list operator and the element-of operator.
- setStandardOperatorRelations() - Method in class com.singularsys.jep.EmptyOperatorTable
-
Sets up the standard relations between +,-,*,/
- setStandardOperatorRelations() - Method in class com.singularsys.jep.OperatorTable
-
Sets up the standard relations between +,-,*,/
- setSymbol(String) - Method in class com.singularsys.jep.Operator
-
Sets the symbol used by the operator.
- setting__and_removing_a_hook_returns_null() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- setting__and_removing_a_hook_returns_null() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- setting_and_getting_a_HookKey_returns_same_value() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- setting_and_getting_a_HookKey_returns_same_value() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- setting_and_getting_two_hooks_returns_same_value() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- setting_and_getting_two_hooks_returns_same_value() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- setting_and_removing_and_setting_different_hook() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- setting_and_removing_and_setting_different_hook() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- setting_and_removing_and_setting_same_hook() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- setting_and_removing_and_setting_same_hook() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- setting_the_hooks_and_removing__middle_one() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- setting_the_hooks_and_removing__middle_one() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- setting_two_hooks_and_removing_one() - Method in class com.singularsys.jeptests.unit.NodeHookTest
- setting_two_hooks_and_removing_one() - Method in class com.singularsys.jeptests.unit.VariableHookTest
- setTokenizerFactory(TokenizerFactory) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
-
Sets the TokenizerFactory used to create Tokenizers.
- setTolerance(double) - Method in class com.singularsys.jep.functions.Comparative
-
Sets the tolerance used for comparing complex numbers
- setTrapInfinity(boolean) - Method in class com.singularsys.jep.standard.FastEvaluator
- setTrapInfinity(boolean) - Method in class com.singularsys.jep.standard.StandardEvaluator
- setTrapInfinity(boolean) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- setTrapInfinity(boolean) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- setTrapInfinity(boolean) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- setTrapNaN(boolean) - Method in class com.singularsys.jep.standard.FastEvaluator
- setTrapNaN(boolean) - Method in class com.singularsys.jep.standard.StandardEvaluator
- setTrapNaN(boolean) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- setTrapNaN(boolean) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- setTrapNaN(boolean) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- setTrapNullValues(boolean) - Method in class com.singularsys.jep.standard.FastEvaluator
-
Sets whether null values for variables are trapped.
- setTrapNullValues(boolean) - Method in class com.singularsys.jep.standard.StandardEvaluator
-
Sets whether null values for variables are trapped.
- setTrapNullValues(boolean) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
-
Sets whether null values for variables are trapped.
- setTrapNullValues(boolean) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
-
Sets whether null values for variables are trapped.
- setTrapNullValues(boolean) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
-
Sets whether null values for variables are trapped.
- setTrapUnsetValues(boolean) - Method in class com.singularsys.jep.standard.FastEvaluator
-
Sets whether unset variable values are trapped.
- setTrapUnsetValues(boolean) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
-
Sets whether unset variable values are trapped.
- setTrapUnsetValues(boolean) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
-
Sets whether unset variable values are trapped.
- setUp() - Method in class com.singularsys.jeptests.system.BugsTest
- setUp() - Method in class com.singularsys.jeptests.system.CPSeqOpTest
- setUp() - Method in class com.singularsys.jeptests.system.CPTest
- setUp() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- setUp() - Method in class com.singularsys.jeptests.system.JepTest
-
Sets up the parser.
- setUp() - Method in class com.singularsys.jeptests.system.LineNumberingTest
- setUp() - Method in class com.singularsys.jeptests.system.NullWrapTest
-
Sets up the parser.
- setUp() - Method in class com.singularsys.jeptests.system.PostfixEvalTest
- setUp() - Method in class com.singularsys.jeptests.system.RealEvalTest
- setUp() - Method in class com.singularsys.jeptests.system.StandardEvaluatorTest
- setUp() - Method in class com.singularsys.jeptests.system.UncheckedEvalTest
- setUp() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
- setUp() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- setUp() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- setUp() - Method in class com.singularsys.jeptests.unit.walkers.HookRemoverTest
- setUp() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- setup_BidDecimal_list() - Method in class com.singularsys.jeptests.system.BugsTest
- setValidValue(boolean) - Method in class com.singularsys.jep.Variable
-
Sets whether the value of variable is valid.
- setValue(Object) - Method in class com.singularsys.jep.parser.ASTConstant
- setValue(Object) - Method in class com.singularsys.jep.Variable
-
Sets the value of the variable.
- setValueRaw(Object) - Method in class com.singularsys.jep.Variable
-
In general subclasses should override this method rather than setValue.
- setVar(Variable) - Method in class com.singularsys.jep.parser.ASTVarNode
- setVariable(String, Object) - Static method in class com.singularsys.client.GWTExpose
-
Set the value of a variable to a object value
- setVariable(String, Object) - Method in class com.singularsys.client.GWTInterop
-
Set the value of a variable.
- setVariable(String, Object) - Method in class com.singularsys.jep.Jep
-
Adds or sets a variable with a given name and value.
- setVariableFactory(VariableFactory) - Method in class com.singularsys.jep.ComponentSet
- setVariableFactory(VariableFactory) - Method in class com.singularsys.jep.VariableTable
- setVariableNE(String, Object) - Static method in class com.singularsys.client.GWTExpose
-
Set the value of a variable to a object value
- setVariableNE(String, Object) - Method in class com.singularsys.client.GWTInterop
-
Set the value of a variable, does not throw exceptions
- setVariableTable(VariableTable) - Method in class com.singularsys.jep.ComponentSet
- setZeroLengthErrorBehaviour(ArrayFunctionBase.ZeroLengthErrorBehaviour) - Method in class com.singularsys.jep.functions.ArrayFunctionBase
-
Sets how to respond to arguments with zero length arrays.
- shallowCopy() - Method in class com.singularsys.jep.bigdecimal.BigDecFunctionTable
- shallowCopy() - Method in class com.singularsys.jep.bigdecimal.BigDecOperatorTable
- shallowCopy() - Method in class com.singularsys.jep.EmptyOperatorTable
-
Create a new version of this OperatorTable.
- shallowCopy() - Method in class com.singularsys.jep.FunctionTable
-
Returns a new shallow copy of this function table.
- shallowCopy() - Method in class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
- shallowCopy() - Method in class com.singularsys.jep.misc.CaseInsensitiveFunctionTable
- shallowCopy() - Method in class com.singularsys.jep.misc.ExtendedOperatorSet
- shallowCopy() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
- shallowCopy() - Method in class com.singularsys.jep.misc.nullwrapper.NullWrappedFunctionTable
- shallowCopy() - Method in class com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable
- shallowCopy() - Method in class com.singularsys.jep.OperatorTable
- shallowCopy() - Method in class com.singularsys.jep.OperatorTable2
- shallowCopy() - Method in interface com.singularsys.jep.OperatorTableI
-
Create a new version of this OperatorTable.
- shallowCopy() - Method in class com.singularsys.jep.reals.RealFunctionTable
- shallowCopy() - Method in class com.singularsys.jep.standard.StandardFunctionTable
- shallowCopy() - Method in class com.singularsys.jep.standard.StandardOperatorTable
- shallowCopy() - Method in class com.singularsys.jep.standard.StandardOperatorTable2
- ShortTypeCreator() - Constructor for class com.singularsys.jepexamples.diagnostics.ExamineResultTypes.ShortTypeCreator
- showHistory - Variable in class com.singularsys.jepexamples.consoles.Console
- ShuntingYard - Class in com.singularsys.jep.configurableparser
-
An operator precedence parser based on the shunting yard algorithm.
- ShuntingYard(Jep, List<GrammarMatcher>) - Constructor for class com.singularsys.jep.configurableparser.ShuntingYard
-
Normal constructor, iterator set in
ShuntingYard.parse(Iterator)
- ShuntingYard.PrefixRes - Enum in com.singularsys.jep.configurableparser
-
Return result of following methods.
- ShuntingYard.ShuntingYardGrammarParserFactory - Class in com.singularsys.jep.configurableparser
-
Factory creating new ShuntingYard instances.
- ShuntingYardGrammarParserFactory() - Constructor for class com.singularsys.jep.configurableparser.ShuntingYard.ShuntingYardGrammarParserFactory
- Signum - Class in com.singularsys.jep.functions
-
The signum function returns -1 if x<0, 1 if x>0, 0 if x==0.
- Signum() - Constructor for class com.singularsys.jep.functions.Signum
- Signum() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- SimpleExample - Class in com.singularsys.jepexamples
-
A simple example that demonstrates the use of Jep for evaluation of a single expression.
- SimpleExample() - Constructor for class com.singularsys.jepexamples.SimpleExample
- SimpleNode - Class in com.singularsys.jep.parser
-
The base class for all AST node classes.
- SimpleNode(int) - Constructor for class com.singularsys.jep.parser.SimpleNode
- sin() - Method in class com.singularsys.jep.standard.Complex
-
Returns the sine of this complex number.
- sin() - Method in class com.singularsys.jep.standard.ImmutableComplex
- sin(Object) - Method in class com.singularsys.jep.functions.Sine
- Sine - Class in com.singularsys.jep.functions
- Sine() - Constructor for class com.singularsys.jep.functions.Sine
- SineH - Class in com.singularsys.jep.functions
-
Hyperbolic sin.
- SineH() - Constructor for class com.singularsys.jep.functions.SineH
- SingleArgFunctionMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A matcher for functions like "sin 30" without brackets and a single simple argument.
- SingleArgFunctionMatcher(Token) - Constructor for class com.singularsys.jep.configurableparser.matchers.SingleArgFunctionMatcher
-
Constructor
- singleQuoteStringMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher
-
Factory for matching single line single quoted strings.
- singleQuoteStringMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher2
-
Factory for matching single line single quoted strings.
- singleQuoteStringMatcher(boolean) - Static method in class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher2
-
Factory for matching single line single quoted strings.
- sinh() - Method in class com.singularsys.jep.standard.Complex
-
Returns the hyperbolic sine of this complex number.
- sinh() - Method in class com.singularsys.jep.standard.ImmutableComplex
- sinh(Object) - Method in class com.singularsys.jep.functions.SineH
- size() - Method in class com.singularsys.jep.FunctionTable
- size() - Method in class com.singularsys.jep.VariableTable
- slashSlashCommentMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
-
Recognise comments of the form // ...
- slashStarCommentMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
-
Recognise comments of the form /* ... */ on a single line.
- specialFunRules - Variable in class com.singularsys.jep.PrintVisitor
- specialRules - Variable in class com.singularsys.jep.PrintVisitor
- specialToken - Variable in class com.singularsys.jep.parser.Token
-
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
- specialVarName - Variable in class com.singularsys.jep.PrintVisitor
- SpeedTest - Class in com.singularsys.jepexamples.diagnostics
-
Compares the speed of evaluation between different evaluation schemes.
- SpeedTest(SpeedTest.Outputter) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest
- SpeedTest.BDConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the BDConfig
- SpeedTest.EvaluationConfig - Class in com.singularsys.jepexamples.diagnostics
-
Basic class to set the evaluation context
- SpeedTest.JepConfig - Class in com.singularsys.jepexamples.diagnostics
-
Standard Jep configuration (with FastEvaluator)
- SpeedTest.JepConfig3_4 - Class in com.singularsys.jepexamples.diagnostics
-
Standard Jep configuration (with FastEvaluator)
- SpeedTest.JepConfig3_5 - Class in com.singularsys.jepexamples.diagnostics
- SpeedTest.JepConfig3_5NC - Class in com.singularsys.jepexamples.diagnostics
- SpeedTest.JepConfigNoChecks - Class in com.singularsys.jepexamples.diagnostics
-
Standard Jep configuration (with FastEvaluator)
- SpeedTest.OldConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the StandardEvaluator
- SpeedTest.Outputter - Class in com.singularsys.jepexamples.diagnostics
-
Different output methods
- SpeedTest.PostfixConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the RealEvaluator
- SpeedTest.RatioOutputter - Class in com.singularsys.jepexamples.diagnostics
-
Print detailed ratios for each run.
- SpeedTest.RealConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the RealEvaluator
- SpeedTest.TabOutputter - Class in com.singularsys.jepexamples.diagnostics
-
Print output tab separated.
- SpeedTest.ThreadSafeConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the RealEvaluator
- SpeedTest.UncheckedConfig - Class in com.singularsys.jepexamples.diagnostics
- SpeedTestComplex - Class in com.singularsys.jepexamples.diagnostics
-
Compares the speed of evaluation between different evaluation schemes.
- SpeedTestComplex(SpeedTestComplex.Outputter) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- SpeedTestComplex.EvaluationConfig - Class in com.singularsys.jepexamples.diagnostics
-
Basic class to set the evaluation context
- SpeedTestComplex.JepConfig - Class in com.singularsys.jepexamples.diagnostics
-
Standard Jep configuration (with FastEvaluator)
- SpeedTestComplex.JepConfig3_4 - Class in com.singularsys.jepexamples.diagnostics
-
Standard Jep configuration (with FastEvaluator)
- SpeedTestComplex.JepConfig3_5 - Class in com.singularsys.jepexamples.diagnostics
- SpeedTestComplex.JepConfig3_5NC - Class in com.singularsys.jepexamples.diagnostics
- SpeedTestComplex.JepConfigNoChecks - Class in com.singularsys.jepexamples.diagnostics
-
Standard Jep configuration (with FastEvaluator)
- SpeedTestComplex.OldConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the StandardEvaluator
- SpeedTestComplex.Outputter - Class in com.singularsys.jepexamples.diagnostics
-
Different output methods
- SpeedTestComplex.PostfixConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the RealEvaluator
- SpeedTestComplex.RatioOutputter - Class in com.singularsys.jepexamples.diagnostics
-
Print detailed ratios for each run.
- SpeedTestComplex.RealConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the RealEvaluator
- SpeedTestComplex.TabOutputter - Class in com.singularsys.jepexamples.diagnostics
-
Print output tab separated.
- SpeedTestComplex.ThreadSafeConfig - Class in com.singularsys.jepexamples.diagnostics
-
Configuration using the RealEvaluator
- SpeedTestComplex.UncheckedConfig - Class in com.singularsys.jepexamples.diagnostics
- split(String) - Method in class com.singularsys.jepexamples.consoles.Console
-
Splits a string on spaces.
- sqrt() - Method in class com.singularsys.jep.standard.Complex
-
Calculates the square root of this object.
- sqrt() - Method in class com.singularsys.jep.standard.ImmutableComplex
- sqrt(Object) - Method in class com.singularsys.jep.functions.SquareRoot
-
Calculates the square root of the parameter.
- Square() - Constructor for class com.singularsys.jeptests.system.JepTest.Square
- SquareRoot - Class in com.singularsys.jep.functions
-
Square root function.
- SquareRoot() - Constructor for class com.singularsys.jep.functions.SquareRoot
-
Standard constructor, Complex results for negative Number arguments.
- SquareRoot(boolean) - Constructor for class com.singularsys.jep.functions.SquareRoot
-
Controls behaviour for negative real arguments.
- st - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
- st - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.EvaluationConfig
- stack - Variable in class com.singularsys.jep.walkers.PostfixEvaluator
- StackCheckingFastEvaluator - Class in com.singularsys.jeptests.system
-
An Evaluator which checks the stack size after every function call.
- StackCheckingFastEvaluator() - Constructor for class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- StackMessingFunc() - Constructor for class com.singularsys.jeptests.system.BugsTest.StackMessingFunc
- standard_Complex_CannotModifyAnImmutableComplex() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringBracketsImaginaryWithI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringBracketsImaginaryWithNegI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringBracketsNegRealWithI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringBracketsRealWithI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringBracketsWithI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringBracketsWithNegI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringFormat() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringNoBracketsImaginaryWithI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringNoBracketsImaginaryWithNegI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringNoBracketsNegRealWithI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringNoBracketsRealWithI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringNoBracketsWithI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringNoBracketsWithNegI() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_Complex_ToStringWithNumberFormat() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_DoubleNumberFactory_CannotCreateANumberFromAComplexValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_EmptyOperatorTable_ListEnd() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_EmptyOperatorTable_ListSeparator() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_EmptyOperatorTable_ListStart() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_CouldNotEvaluateVariableNoValueSet() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_CouldNotEvaluateVariableNullValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_IncorrectNumberOfArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_IncorrectNumberOfArgumentsExpected() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_IncorrectNumberOfArgumentsNonZero() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_InfiniteConstantValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_InfiniteValueForFunction() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_InfiniteValueForVariable() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_NaNConstantValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_NaNValueForFunction() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_NaNValueForVariable() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_NoFunctionClass() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_NullConstantValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_NullValueForFunction() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_FastEvaluator_StackCorrupted() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_CouldNotEvaluateVariableNullValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_IncorrectNumberOfArguments() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_IncorrectNumberOfArgumentsExpected() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_InfiniteConstantValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_InfiniteValueForFunction() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_InfiniteValueForVariable() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_NaNConstantValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_NaNValueForFunction() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_NaNValueForVariable() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_NoFunctionClass() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_NullConstantValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_NullFunctionValue() - Method in interface com.singularsys.jep.GWTJepMessages
- standard_StandardEvaluator_StackCorrupted() - Method in interface com.singularsys.jep.GWTJepMessages
- StandardComponents - Class in com.singularsys.jep.standard
-
The standard set of components.
- StandardComponents() - Constructor for class com.singularsys.jep.standard.StandardComponents
- StandardComponents(Jep) - Constructor for class com.singularsys.jep.standard.StandardComponents
-
Build a set of components using those from the jep instance and standard components if the jep components are null.
- StandardConfigurableParser - Class in com.singularsys.jep.configurableparser
- StandardConfigurableParser() - Constructor for class com.singularsys.jep.configurableparser.StandardConfigurableParser
-
Create a standard configurable parse with standard options.
- StandardEvaluator - Class in com.singularsys.jep.standard
- StandardEvaluator() - Constructor for class com.singularsys.jep.standard.StandardEvaluator
- StandardEvaluatorTest - Class in com.singularsys.jeptests.system
-
Performs the regular JepTests using the StandardEvaluator
- StandardEvaluatorTest() - Constructor for class com.singularsys.jeptests.system.StandardEvaluatorTest
- StandardFunctionTable - Class in com.singularsys.jep.standard
- StandardFunctionTable() - Constructor for class com.singularsys.jep.standard.StandardFunctionTable
- StandardFunctionTable(Map<String, PostfixMathCommandI>) - Constructor for class com.singularsys.jep.standard.StandardFunctionTable
- StandardOperatorTable - Class in com.singularsys.jep.standard
-
The old standard operator table used by Jep.
- StandardOperatorTable() - Constructor for class com.singularsys.jep.standard.StandardOperatorTable
-
Create the standard set of operators.
- StandardOperatorTable(Operator[]) - Constructor for class com.singularsys.jep.standard.StandardOperatorTable
- StandardOperatorTable2 - Class in com.singularsys.jep.standard
-
Provides the standard implementations of operators used by Jep.
- StandardOperatorTable2() - Constructor for class com.singularsys.jep.standard.StandardOperatorTable2
-
Create the standard set of operators.
- StandardOperatorTable2(OperatorTable2) - Constructor for class com.singularsys.jep.standard.StandardOperatorTable2
-
Decorator constructor.
- StandardOperatorTable2(Map<EmptyOperatorTable.OperatorKey, Operator>) - Constructor for class com.singularsys.jep.standard.StandardOperatorTable2
-
Constructor with pre-specified table of operators
- StandardParser - Class in com.singularsys.jep.parser
-
Empty placeholder class
- StandardParser() - Constructor for class com.singularsys.jep.parser.StandardParser
- StandardTokenizerFactory() - Constructor for class com.singularsys.jep.configurableparser.Tokenizer.StandardTokenizerFactory
- StandardVariableTable - Class in com.singularsys.jep.standard
-
A VariableTable which defines some constant values.
- StandardVariableTable() - Constructor for class com.singularsys.jep.standard.StandardVariableTable
-
Constructor with delayed initialisation of constants.
- StandardVariableTable(VariableFactory) - Constructor for class com.singularsys.jep.standard.StandardVariableTable
-
Constructor when the VariableFactory is known beforehand.
- StdElePrintRule() - Constructor for class com.singularsys.jep.PrintVisitor.StdElePrintRule
- StdListPrintRule() - Constructor for class com.singularsys.jep.PrintVisitor.StdListPrintRule
- stm - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- Str - Class in com.singularsys.jep.functions
-
Converts an object into its string representation.
- Str() - Constructor for class com.singularsys.jep.functions.Str
- strict - Variable in class com.singularsys.jep.functions.Logarithm
- strict - Variable in class com.singularsys.jep.functions.Power
- StrictNaturalLogarithm - Class in com.singularsys.jep.functions
-
A strict version of Natural logarithm.
- StrictNaturalLogarithm() - Constructor for class com.singularsys.jep.functions.StrictNaturalLogarithm
-
Standard base-e logarithm.
- StrictNaturalLogarithm(double) - Constructor for class com.singularsys.jep.functions.StrictNaturalLogarithm
-
Logarithm to any other base.
- STRING_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
RegularExpression Id.
- StringFunctionSet - Class in com.singularsys.jep.misc
-
Adds string functions left, right, lower, upper, substring, len, mid, trim.
- StringFunctionSet() - Constructor for class com.singularsys.jep.misc.StringFunctionSet
- StringToken - Class in com.singularsys.jep.configurableparser.tokens
-
Single or double-quoted strings.
- StringToken(String, String, char, boolean) - Constructor for class com.singularsys.jep.configurableparser.tokens.StringToken
-
Build a string token.
- StringTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Base class for matching quoted strings.
- StringTokenMatcher(Pattern, char) - Constructor for class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher
-
A StringTokenMatcher with a given regular expression pattern.
- StringTokenMatcher2 - Class in com.singularsys.jep.configurableparser.matchers
-
Base class for matching quoted strings.
- StringTokenMatcher2(char, boolean) - Constructor for class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher2
-
Construct a string matcher.
- sub - Variable in class com.singularsys.jep.functions.Cross
- sub(Complex) - Method in class com.singularsys.jep.standard.Complex
-
Subtracts a complex number from this
- sub(Complex) - Method in class com.singularsys.jep.standard.ImmutableComplex
- sub(Complex, Complex) - Static method in class com.singularsys.jep.functions.Subtract
- sub(Complex, Number) - Static method in class com.singularsys.jep.functions.Subtract
- sub(Number, Complex) - Static method in class com.singularsys.jep.functions.Subtract
- sub(Number, Number) - Static method in class com.singularsys.jep.functions.Subtract
- sub(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecSub
- sub(Object, Object) - Method in class com.singularsys.jep.functions.Subtract
- sub(Vector<?>, Vector<?>) - Method in class com.singularsys.jep.functions.Subtract
- SUB - Enum constant in enum com.singularsys.jep.OperatorTable2.BasicOperators
- substitute(Node, Node) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
-
Substitutes into
orig
the equation given by sub - substitute(Node, Node[]) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
-
Substitute a set of equations into the original.
- substitute(Node, String[], Node[]) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
-
Substitutes all occurrences of a set of variables var with a set of replacements.
- substitute(Node, String[], Object[]) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
-
Substitute all occurrences of variables with matching name with corresponding values.
- substitute(Node, String[], String[]) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
-
Renames a set of variables with a new set of names.
- substitute(Node, String, Node) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
-
Substitutes all occurrences of variable
var
withreplacement
. - substitute(Node, String, Object) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
-
Substitute a single variable with a given value.
- SubstitutionVisitor - Class in com.singularsys.jep.walkers
-
Allows substitution of variable with values or expressions.
- SubstitutionVisitor() - Constructor for class com.singularsys.jep.walkers.SubstitutionVisitor
-
Constructor to uses as a JepComponent.
- SubstitutionVisitor(Jep) - Constructor for class com.singularsys.jep.walkers.SubstitutionVisitor
- SubstitutionVisitorTest - Class in com.singularsys.jeptests.unit.walkers
- SubstitutionVisitorTest() - Constructor for class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- Substring - Class in com.singularsys.jep.functions.strings
-
Extract substring of first argument: substring("abcdefg",2,4) -> "cd".
- Substring() - Constructor for class com.singularsys.jep.functions.strings.Substring
- Subtract - Class in com.singularsys.jep.functions
- Subtract() - Constructor for class com.singularsys.jep.functions.Subtract
- SUFFIX - Static variable in class com.singularsys.jep.Operator
-
postfix operators x%
- sum(List<Object>) - Method in class com.singularsys.jep.functions.VSum
-
Returns the sum of a set of values.
- Sum - Class in com.singularsys.jep.functions
-
Adds it arguments
sum(1,2,3,4,5)
will be 15. - Sum() - Constructor for class com.singularsys.jep.functions.Sum
-
Constructor.
- summary() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
A short summary string
- suppressExaminingChildren(Node) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
- suppressExaminingChildren(Node) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
-
Whether to examine the children of
this
nodes. - Switch - Class in com.singularsys.jep.misc.functions
-
A switch statement.
- Switch() - Constructor for class com.singularsys.jep.misc.functions.Switch
-
Default switch statement.
- Switch(Switch.NullBehaviour) - Constructor for class com.singularsys.jep.misc.functions.Switch
-
Switch function with defined null behaviour.
- Switch.NullBehaviour - Enum in com.singularsys.jep.misc.functions
-
Action to take if first argument is null.
- SwitchDefault - Class in com.singularsys.jep.misc.functions
-
A switch statement, with a default value.
- SwitchDefault() - Constructor for class com.singularsys.jep.misc.functions.SwitchDefault
-
Default switch statement.
- SwitchDefault(SwitchDefault.NullBehaviour) - Constructor for class com.singularsys.jep.misc.functions.SwitchDefault
-
Switch function with defined null behaviour.
- SwitchDefault.NullBehaviour - Enum in com.singularsys.jep.misc.functions
-
Action to take if first argument is null.
- symbol - Variable in class com.singularsys.jep.Operator
-
The symbol for the operator, used for printing.
- SymbolToken - Class in com.singularsys.jep.configurableparser.tokens
-
A simple type of token which represents a fixed string of characters.
- SymbolToken(String) - Constructor for class com.singularsys.jep.configurableparser.tokens.SymbolToken
- SymbolToken(String, boolean) - Constructor for class com.singularsys.jep.configurableparser.tokens.SymbolToken
-
Construct a symbol token with a specified value for the implicit multiplication flag.
- SymbolTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Matches a fixed set of symbols, each represented by a SymbolToken.
- SymbolTokenMatcher() - Constructor for class com.singularsys.jep.configurableparser.matchers.SymbolTokenMatcher
- SYMMETRIC - Static variable in class com.singularsys.jep.Operator
-
Symmetric relation x=y implies y=x.
T
- table - Variable in class com.singularsys.jep.FunctionTable
- table - Variable in class com.singularsys.jep.VariableTable
- TabOutputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.TabOutputter
- TabOutputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.TabOutputter
- tan() - Method in class com.singularsys.jep.standard.Complex
-
Returns the tangent of this complex number.
- tan() - Method in class com.singularsys.jep.standard.ImmutableComplex
- tan(Object) - Method in class com.singularsys.jep.functions.Tangent
- Tangent - Class in com.singularsys.jep.functions
-
The tan function.
- Tangent() - Constructor for class com.singularsys.jep.functions.Tangent
- tanh() - Method in class com.singularsys.jep.standard.Complex
-
Returns the hyperbolic tangent of this complex number.
- tanh() - Method in class com.singularsys.jep.standard.ImmutableComplex
- tanh(Object) - Method in class com.singularsys.jep.functions.TanH
- TanH - Class in com.singularsys.jep.functions
-
Hyperbolic tan.
- TanH() - Constructor for class com.singularsys.jep.functions.TanH
- TerminatorToken - Class in com.singularsys.jep.configurableparser.tokens
-
A token representing the end of the equation.
- TerminatorToken(String) - Constructor for class com.singularsys.jep.configurableparser.tokens.TerminatorToken
- TerminatorTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A token matcher which matches the end of an expression
- TerminatorTokenMatcher(Pattern) - Constructor for class com.singularsys.jep.configurableparser.matchers.TerminatorTokenMatcher
- TerminatorTokenMatcher(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.TerminatorTokenMatcher
- TERNARY - Static variable in class com.singularsys.jep.Operator
-
three argument operators like java's cond?tval:fval
- TernaryConditional - Class in com.singularsys.jep.misc.javaops
-
Implements the
condition ? x : y
behaviour Since 4.0 this now operates in a lazy fashion so only the needed branch is evaluated. - TernaryConditional() - Constructor for class com.singularsys.jep.misc.javaops.TernaryConditional
- TernaryOperator - Class in com.singularsys.jep.configurableparser
-
A class representing a ternary operator, for example x?y:z.
- TernaryOperator(String, String, String, PostfixMathCommandI, int) - Constructor for class com.singularsys.jep.configurableparser.TernaryOperator
-
Create a Ternary operator.
- TernaryOperator(String, String, String, PostfixMathCommandI, int, int) - Constructor for class com.singularsys.jep.configurableparser.TernaryOperator
-
Create a Ternary operator
- TernaryOperator.RhsTernaryOperator - Class in com.singularsys.jep.configurableparser
-
Inner class used to represent the right-hand operator.
- TERNCOND - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- test(String, boolean) - Method in class com.singularsys.jeptests.system.BigDecimalTest
-
Test expression against boolean
- test(String, String) - Method in class com.singularsys.jeptests.system.BigDecimalTest
- test_adding_lists_of_BigDecimals() - Method in class com.singularsys.jeptests.system.BugsTest
- TEST_ARG - Enum constant in enum com.singularsys.jep.misc.functions.Case.NullBehaviour
-
Tests if any case is null, return corresponding argument
- Test_copyVariable() - Constructor for class com.singularsys.jeptests.unit.VariableFactoryTest.Test_copyVariable
- test_extracting_element_from_list_of_BigDecimals() - Method in class com.singularsys.jeptests.system.BugsTest
- test_extracting_element_from_list_of_BigDecimals_fails_with_standard_parser() - Method in class com.singularsys.jeptests.system.BugsTest
- test_not_X_Y() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- test_not_X_Y() - Method in class com.singularsys.jeptests.system.JepTest
- test_parser_sets_parent() - Method in class com.singularsys.jeptests.system.JepTest
- test_parsing_a_list_of_BigDecimals() - Method in class com.singularsys.jeptests.system.BugsTest
- test1_9_11() - Method in class com.singularsys.jeptests.system.BugsTest
- test167() - Method in class com.singularsys.jeptests.system.BugsTest
-
See ticked 167
- test18April2013() - Method in class com.singularsys.jeptests.system.BugsTest
- test2008_08_14_switch() - Method in class com.singularsys.jeptests.system.BugsTest
- test2008_12_13() - Method in class com.singularsys.jeptests.system.BugsTest
- test2009_02_02() - Method in class com.singularsys.jeptests.system.BugsTest
- test2009_02_16() - Method in class com.singularsys.jeptests.system.BugsTest
- test2010_03_01() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- test31_8_11() - Method in class com.singularsys.jeptests.system.BugsTest
- test31Jan2010() - Method in class com.singularsys.jeptests.system.BugsTest
- testAddOp() - Method in class com.singularsys.jeptests.system.CPTest
-
Tests the addOperator method
- testAlternateSymbolBug() - Method in class com.singularsys.jeptests.system.BugsTest
- testAlternateSymbols() - Method in class com.singularsys.jeptests.system.BugsTest
-
Tests for other symbols used.
- testAlternateSymbols() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Tests for other symbols used.
- testAltSymbols() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testArray() - Method in class com.singularsys.jeptests.system.LineNumberingTest
- testAssign() - Method in class com.singularsys.jeptests.system.JepTest
- testBDString() - Method in class com.singularsys.jeptests.system.BigDecimalTest
-
Tests inter-operability of big decimals and strings.
- testBigDecRoundMode() - Method in class com.singularsys.jeptests.system.BugsTest
- testBinom() - Method in class com.singularsys.jeptests.system.JepTest
- testBitwise() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testBitwise() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testBlankParser() - Method in class com.singularsys.jeptests.system.JepTest
-
Test creating a Jep instance with no functions and no variables.
- testBoolean() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- testBoolNumber() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- testBools() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- testBoolString() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- testBrackets() - Method in class com.singularsys.jeptests.system.LineNumberingTest
- testBug116() - Method in class com.singularsys.jeptests.system.BugsTest
- testBug121A() - Method in class com.singularsys.jeptests.system.BugsTest
-
Tests a custom operator table with only 5 operators, see bug #121
- testBug122() - Method in class com.singularsys.jeptests.system.BugsTest
- testBug123() - Method in class com.singularsys.jeptests.system.BugsTest
- testBug2008_09_12() - Method in class com.singularsys.jeptests.system.BugsTest
- testBug23_11_09() - Method in class com.singularsys.jeptests.system.BugsTest
- testBug28() - Method in class com.singularsys.jeptests.system.BugsTest
- testBug30_10_09() - Method in class com.singularsys.jeptests.system.BugsTest
- testBug49() - Method in class com.singularsys.jeptests.system.BugsTest
-
Tests bug 49.
- testBug72() - Method in class com.singularsys.jeptests.system.BugsTest
-
Test bug #72 Handling of Constants.
- testBug84() - Method in class com.singularsys.jeptests.system.BugsTest
- testCarWalk() - Method in class com.singularsys.jeptests.system.BugsTest
- testCaseNull() - Method in class com.singularsys.jeptests.system.JepTest
- testCaseNull() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testCaseNull() - Method in class com.singularsys.jeptests.system.PostfixEvalTest
- testCaseNull() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testCaseNull() - Method in class com.singularsys.jeptests.system.UncheckedEvalTest
- testCaseString() - Method in class com.singularsys.jeptests.system.JepTest
- testCaseString() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testChangeOperatorSymbols() - Method in class com.singularsys.jeptests.system.BugsTest
- testChangeVariable() - Method in class com.singularsys.jeptests.system.JepTest
-
Test changing variables value after parsing
- testChangeVariableComplex() - Method in class com.singularsys.jeptests.system.JepTest
-
Test changing variables value after parsing
- testChangeVariableComplex() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testChinese() - Method in class com.singularsys.jeptests.system.BugsTest
-
Test for non latin variable names
- testClearValues() - Method in class com.singularsys.jeptests.system.BugsTest
-
See http://stackoverflow.com/questions/36928755/strange-behavior-in-singularsys-jep
- testCoerce() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- testCommaNumber() - Method in class com.singularsys.jeptests.system.BugsTest
- testComments() - Method in class com.singularsys.jeptests.system.JepTest
- testComplex() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testComplex() - Method in class com.singularsys.jeptests.system.JepTest
- testComplex() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testComplexListAccess() - Method in class com.singularsys.jeptests.system.JepTest
- testComplexListAccess() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testComplexPrint() - Method in class com.singularsys.jeptests.unit.PrintVisitorTest
- testConfParser() - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
- testCP() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- testCPStrings() - Method in class com.singularsys.jeptests.system.CPTest
- testCPStrings() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testDefaults() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
- testDefaults() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- testDefaults() - Method in class com.singularsys.jeptests.unit.PrintVisitorTest
- testDepth3ArrayAccess() - Method in class com.singularsys.jeptests.system.CPTest
- testDepth3ArrayAccess() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testDepth3ArrayAccessShiftZero() - Method in class com.singularsys.jeptests.system.CPTest
- testDepth3ArrayAccessShiftZero() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testDottedIdentifiers() - Method in class com.singularsys.jeptests.system.BugsTest
- testEle() - Method in class com.singularsys.jeptests.unit.functions.EleTest
- testElementOf() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Tests operators and functions which test if an element is in array or list.
- testEleUnit() - Method in class com.singularsys.jeptests.system.JepTest
- testEmptyEqn() - Method in class com.singularsys.jeptests.system.JepTest
- testEmptyEqn2() - Method in class com.singularsys.jeptests.system.CPTest
- testEmptyEqn2() - Method in class com.singularsys.jeptests.system.JepTest
- testEmptyEquations() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testErrorMessages() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testEvalExceptions() - Method in class com.singularsys.jeptests.system.JepTest
-
Test whether evaluation exceptions are thrown when they should be.
- testEvaluate() - Method in class com.singularsys.jeptests.system.JepTest
-
Tests the
evaluate()
method. - testEvaluateComplex() - Method in class com.singularsys.jeptests.system.JepTest
- testEvaluateComplex() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testEvaluateString() - Method in class com.singularsys.jeptests.system.JepTest
- testEvaluateString() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testEvaluationPath() - Method in class com.singularsys.jeptests.system.BugsTest
- testExceptionCases() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
- testExpectedOutput() - Method in class com.singularsys.jeptests.unit.PrintVisitorTest
- testExpectedTokenSequence() - Method in class com.singularsys.jeptests.system.JepTest
-
Tests for bug #52
- testExpressionOrdering() - Method in class com.singularsys.jeptests.system.BugsTest
-
Tests use of TreeAnalyzer to work out the order of expressions.
- testExpressionOrderingMultiLine() - Method in class com.singularsys.jeptests.system.BugsTest
-
Tests use of TreeAnalyzer to work out the order of expressions.
- testExpressionsSpanningLines() - Method in class com.singularsys.jeptests.system.LineNumberingTest
- testExtended() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testFactorial() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Test the suffix factorial operation
- testFast() - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
- testFormat() - Method in class com.singularsys.jeptests.system.JepTest
- testFractalBug() - Method in class com.singularsys.jeptests.system.BugsTest
-
Tests a bug that lead the FractalCanvas example to fail.
- testFunction() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testFunction() - Method in class com.singularsys.jeptests.system.JepTest
- testFunction() - Method in class com.singularsys.jeptests.system.LineNumberingTest
- testGetNonConstantVariables() - Method in class com.singularsys.jeptests.system.BugsTest
- testIf() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- testIf() - Method in class com.singularsys.jeptests.system.JepTest
- testIfThenElse() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testImmutableComplex() - Method in class com.singularsys.jeptests.unit.ComplexTest
- testImplicitMul() - Method in class com.singularsys.jeptests.system.JepTest
- testIncrement() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testIncrement() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testIsNull() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testIt() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testItN() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testJepInstance(Jep, BufferedReader) - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
- testJepInstance(Jep, String) - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
-
Loads the file specified in fileName.
- testJexParser() - Method in class com.singularsys.jeptests.system.BugsTest
- testLazyLogical() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testLazyLogical() - Method in class com.singularsys.jeptests.system.JepTest
- testLazyLogical2() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testLazyLogical2() - Method in class com.singularsys.jeptests.system.JepTest
- testLazyLogicalBug() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testLazyLogicalBug() - Method in class com.singularsys.jeptests.system.JepTest
-
Test for bug with 1&&1&&1
- testLeft(Operator, Node) - Method in class com.singularsys.jep.PrintVisitor
-
Test if brackets are necessary around left-hand side.
- testLineNumbers() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testListAccess() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testListAccess() - Method in class com.singularsys.jeptests.system.JepTest
- testListAccess() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testListAccessShiftZero() - Method in class com.singularsys.jeptests.system.JepTest
- testListAccessShiftZero() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testListAndFun() - Method in class com.singularsys.jeptests.system.CPSeqOpTest
- testListExtra() - Method in class com.singularsys.jeptests.system.JepTest
- testListExtra() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testListFunctions() - Method in class com.singularsys.jeptests.system.JepTest
- testListFunctions() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testListFunctions() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testListNull() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testLogarithm() - Method in class com.singularsys.jeptests.system.JepTest
- testLogarithm() - Method in class com.singularsys.jeptests.unit.functions.LogarithmTest
-
Test method for 'org.nfunk.jep.function.Logarithm.run(Stack)' Tests the return value of log(NaN).
- testLogical() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testLogical() - Method in class com.singularsys.jeptests.system.JepTest
- testMacroFunction() - Method in class com.singularsys.jeptests.system.JepTest
- testMathContext() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
- testMatrix() - Method in class com.singularsys.jeptests.system.LineNumberingTest
- testMessage() - Method in class com.singularsys.jeptests.unit.ComplexTest
- testMessageIformat() - Method in class com.singularsys.jeptests.unit.ComplexTest
- testMessageIstyle() - Method in class com.singularsys.jeptests.unit.ComplexTest
- testMid(Operator, Node) - Method in class com.singularsys.jep.PrintVisitor
-
Test if brackets are needed around a middle argument
x + (y) + z
- testMul() - Method in class com.singularsys.jeptests.unit.ComplexTest
-
Tests the mul method
- testMultiDimArray() - Method in class com.singularsys.jeptests.system.JepTest
- testMultiDimArray() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testMultiDimArrayAccess() - Method in class com.singularsys.jeptests.system.CPTest
- testMultiDimArrayAccess() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testMultiDimArrayAccessShiftZero() - Method in class com.singularsys.jeptests.system.CPTest
- testMultiDimArrayAccessShiftZero() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testMultiDimArrayPrint() - Method in class com.singularsys.jeptests.system.CPTest
- testMultiDimArrayShiftZero() - Method in class com.singularsys.jeptests.system.JepTest
- testMultiDimArrayShiftZero() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testMultiLine() - Method in class com.singularsys.jeptests.system.JepTest
- testMultiLine() - Method in class com.singularsys.jeptests.system.LineNumberingTest
- testMultiLineComments() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testMultiLineLoop() - Method in class com.singularsys.jeptests.system.BugsTest
-
Tests use of TreeAnalyzer to work out the order of expressions.
- testMultiLineWhiteSpace() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testMultiplyBug() - Method in class com.singularsys.jeptests.system.JepTest
- testNamesWithSpaces() - Method in class com.singularsys.jeptests.system.BugsTest
- testNaN() - Method in class com.singularsys.jeptests.system.JepTest
- testNaryBinary() - Method in class com.singularsys.jeptests.unit.functions.NaryBinaryTest
- testNaturalLogarithm() - Method in class com.singularsys.jeptests.unit.functions.NaturalLogarithmTest
-
Test method for 'org.nfunk.jep.function.Logarithm.run(Stack)' Tests the return value of log(NaN).
- testNoAssign() - Method in class com.singularsys.jeptests.system.JepTest
- testNoComplex() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testNull() - Method in class com.singularsys.jeptests.system.JepTest
- testNull() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testNull() - Method in class com.singularsys.jeptests.system.PostfixEvalTest
- testNull() - Method in class com.singularsys.jeptests.system.UncheckedEvalTest
- testNullLogical() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testNullMathContext() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
- testNullSafeEquals() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testNullValuedVariable() - Method in class com.singularsys.jeptests.system.BugsTest
-
Test for new setTrapUnsetValues method.
- testNullWrap() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testNullWrapBigDec() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testNullWrapMin() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testNumberAsBooleanLogical() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testNumberAsBooleanLogical() - Method in class com.singularsys.jeptests.system.JepTest
- testNumbers() - Method in class com.singularsys.jeptests.system.JepTest
- testNumbers() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
- testNumbers() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- testNumbersAsStrings() - Method in class com.singularsys.jeptests.system.BugsTest
- testNumParam() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testNumParam() - Method in class com.singularsys.jeptests.system.JepTest
- testOpEquals() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testOpEquals() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testOverlappingNames() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Tests if we have a conflict between OR and ORGANIZE
- testParseException() - Method in class com.singularsys.jeptests.system.JepTest
-
Tests whether a parse exceptions are thrown when they should be.
- testPercent() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Tests the suffix % operation
- testPlusPlus() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testPlusPlus() - Method in class com.singularsys.jeptests.system.JepTest
- testPostfixBug() - Method in class com.singularsys.jeptests.system.PostfixEvalTest
- testPostfixEvaluator() - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
- testPower() - Method in class com.singularsys.jeptests.unit.ComplexTest
-
Tests the power method
- testPrefixOperators() - Method in class com.singularsys.jeptests.system.BugsTest
- testRealConfig() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testReals() - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
- testRecip() - Method in class com.singularsys.jeptests.unit.ComplexTest
- testRecursiveMacroFunction() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testRecursiveMacroFunction() - Method in class com.singularsys.jeptests.system.JepTest
- testRegExpOp() - Method in class com.singularsys.jeptests.system.BugsTest
- testRemoveAllHook() - Method in class com.singularsys.jeptests.unit.walkers.HookRemoverTest
- testRemoveHook() - Method in class com.singularsys.jeptests.unit.walkers.HookRemoverTest
- testRemoveHookwithValue() - Method in class com.singularsys.jeptests.unit.walkers.HookRemoverTest
- testRight(Operator, Node) - Method in class com.singularsys.jep.PrintVisitor
-
Tests if brackets are necessary around the RHS child of an operator.
- testScan() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testSemiColon() - Method in class com.singularsys.jeptests.system.JepTest
- testSemiColon() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testSemiColon2() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testSetAllowStrings() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- testSetAllowUndeclared() - Method in class com.singularsys.jeptests.system.BugsTest
-
Tests bug [ 1585128 ] setAllowUndeclared does not work!!! setAllowedUndeclared should add variables to the symbol table.
- testSetAllowUndeclared() - Method in class com.singularsys.jeptests.system.JepTest
-
Tests whether allowUndeclared is working properly.
- testSetAllowUndeclared() - Method in class com.singularsys.jeptests.system.NullWrapTest
-
Overridden as undeclared variable indistinguishable from null.
- testSetAllowUndeclared() - Method in class com.singularsys.jeptests.system.PostfixEvalTest
- testSetAllowUndeclared() - Method in class com.singularsys.jeptests.system.UncheckedEvalTest
- testSetGetMode() - Method in class com.singularsys.jeptests.unit.PrintVisitorTest
- testSimple() - Method in class com.singularsys.jeptests.system.LineNumberingTest
- testSimpleSum() - Method in class com.singularsys.jeptests.system.JepTest
- testSingleArgFun() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Tests mathematical style "cos pi" functions without brackets.
- testSlope() - Method in class com.singularsys.jeptests.system.BugsTest
- testSpecialCommands(String) - Method in class com.singularsys.client.GWTConsole
-
First tries the
GWTConsoleAdapter.testSpecialCommands(String)
method and if no action call the superclass methodConsole.testSpecialCommands(String)
. - testSpecialCommands(String) - Method in class com.singularsys.client.GWTConsoleAdapter
-
Tests for
format
command and gets a GWTNumberFormat
object. - testSpecialCommands(String) - Method in class com.singularsys.jepexamples.consoles.BigDecimalConsole
- testSpecialCommands(String) - Method in class com.singularsys.jepexamples.consoles.Console
-
Checks for special commands.
- testSpecialCommands(String) - Method in class com.singularsys.jepexamples.consoles.PrefixDumperConsole
- testSpecialFunctions() - Method in class com.singularsys.jeptests.system.JepTest
- testSpecialFunctions() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testSpecialFunctions(boolean, boolean) - Method in class com.singularsys.jeptests.system.JepTest
- testStackCorruption() - Method in class com.singularsys.jeptests.system.BugsTest
-
Uses a special evaluator to check for stack errors
- testStandard() - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
- testStringNumber() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- testStrings() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testStrings() - Method in class com.singularsys.jeptests.system.JepTest
- testStrings() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testStrings() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
- testStrings() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
- testStringsFun() - Method in class com.singularsys.jeptests.system.JepTest
- testStringsFun() - Method in class com.singularsys.jeptests.system.RealEvalTest
- testSubstitute_in_loop() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- testSubstituteNodeNode() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- testSubstituteNodeNodeArray() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- testSubstituteNodeStringArrayNodeArray() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- testSubstituteNodeStringArrayObjectArray() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- testSubstituteNodeStringArrayStringArray() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- testSubstituteNodeStringNode() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- testSubstituteNodeStringObject() - Method in class com.singularsys.jeptests.unit.walkers.SubstitutionVisitorTest
- testSuffix() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Test a combination of suffix operations
- testSwitch() - Method in class com.singularsys.jeptests.system.JepTest
- testTernary() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testTernary() - Method in class com.singularsys.jeptests.system.NullWrapTest
- testToBase() - Method in class com.singularsys.jeptests.system.BugsTest
- testToBase() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Test the various type conversion functions.
- testTokens() - Method in class com.singularsys.jeptests.unit.TokenizerTest
-
Tests individual tokens
- testTwoString() - Method in class com.singularsys.jeptests.unit.TokenizerTest
- testUminusPower() - Method in class com.singularsys.jeptests.system.JepTest
- testUpperCaseOperator() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
-
Tests case-insensitive operator names AND, And, and.
- testVectorExpressionBug_Version_3_30() - Method in class com.singularsys.jeptests.system.BugsTest
- testX2Y() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
- testX2Y() - Method in class com.singularsys.jeptests.system.JepTest
- tf - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- ThreadSafeAssign - Class in com.singularsys.jep.misc.threadsafeeval
-
An assignment operator so we can do x=3+4.
- ThreadSafeAssign() - Constructor for class com.singularsys.jep.misc.threadsafeeval.ThreadSafeAssign
- ThreadSafeConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.ThreadSafeConfig
- ThreadSafeConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.ThreadSafeConfig
- ThreadSafeEle - Class in com.singularsys.jep.misc.threadsafeeval
-
Thread safe version of the element operation.
- ThreadSafeEle() - Constructor for class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEle
- ThreadSafeEvaluator - Class in com.singularsys.jep.misc.threadsafeeval
-
An evaluator which can safely evaluate an expression in multiple threads.
- ThreadSafeEvaluator() - Constructor for class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEvaluator
- threadSafeMapCopy() - Method in class com.singularsys.jep.EmptyOperatorTable
-
Creates a copy of the internal map used for operators.
- threadSafeMapCopy() - Method in class com.singularsys.jep.FunctionTable
-
Return a copy of the internal map with the same set of functions as this one.
- threadSafeMapCopy(Operator[]) - Method in class com.singularsys.jep.OperatorTable
- throwAtLeastOneExcep() - Method in class com.singularsys.jep.functions.ArrayFunctionBase
- TIMESEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- tk - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
- toBase(double, int, int) - Method in class com.singularsys.jep.misc.functions.ToBase
-
Converts a number to a give base.
- toBase(long, int) - Method in class com.singularsys.jep.misc.functions.ToBase
-
Converts a number to a give base.
- ToBase - Class in com.singularsys.jep.misc.functions
-
Convert a number to a string in a given base.
- ToBase() - Constructor for class com.singularsys.jep.misc.functions.ToBase
-
Constructor where base is specified as a function argument.
- ToBase(int) - Constructor for class com.singularsys.jep.misc.functions.ToBase
-
Constructor with specified base.
- ToBase(int, String) - Constructor for class com.singularsys.jep.misc.functions.ToBase
-
Constructor with specified base and a given prefix.
- toFullString() - Method in class com.singularsys.jep.Operator
-
returns a verbose representation of the operator and all its properties.
- Token - Class in com.singularsys.jep.configurableparser.tokens
-
Base class for tokens.
- Token - Class in com.singularsys.jep.parser
-
Describes the input token stream.
- Token() - Constructor for class com.singularsys.jep.parser.Token
-
No-argument constructor
- Token(int) - Constructor for class com.singularsys.jep.parser.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class com.singularsys.jep.parser.Token
-
Constructs a new token for the specified Image and Kind.
- Token(String) - Constructor for class com.singularsys.jep.configurableparser.tokens.Token
-
Create a token.
- TokenBuilder - Interface in com.singularsys.jep.configurableparser.matchers
-
Sub-interface of TokenMatcher which allows tokens to be created without matching input text.
- TokenFilter - Interface in com.singularsys.jep.configurableparser
-
Classes which filter the list of tokens.
- tokenImage - Static variable in interface com.singularsys.jep.parser.JccParserConstants
-
Literal token values.
- tokenImage - Variable in exception class com.singularsys.jep.parser.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- Tokenizer - Class in com.singularsys.jep.configurableparser
-
Breaks the input into a set of tokens.
- Tokenizer(BufferedReader, ConfigurableParser) - Constructor for class com.singularsys.jep.configurableparser.Tokenizer
-
Construct a tokenizer for a given input.
- Tokenizer.StandardTokenizerFactory - Class in com.singularsys.jep.configurableparser
-
Factory creating new instances of the tokenizer.
- TokenizerFactory - Interface in com.singularsys.jep.configurableparser
-
AbstractFactory for creating new Tokenizer instances.
- TokenizerTest - Class in com.singularsys.jeptests.unit
- TokenizerTest() - Constructor for class com.singularsys.jeptests.unit.TokenizerTest
- TokenMatcher - Interface in com.singularsys.jep.configurableparser.matchers
-
Interface defining classes which match tokens
- TokenMgrError - Exception Class in com.singularsys.jep.parser
-
Token Manager Error.
- TokenMgrError() - Constructor for exception class com.singularsys.jep.parser.TokenMgrError
-
No arg constructor.
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for exception class com.singularsys.jep.parser.TokenMgrError
-
Full Constructor.
- TokenMgrError(String, int) - Constructor for exception class com.singularsys.jep.parser.TokenMgrError
-
Constructor with message and reason.
- tokens - Variable in class com.singularsys.jep.configurableparser.Tokenizer
- topNode - Variable in class com.singularsys.jep.misc.MacroFunction
- toString() - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
- toString() - Method in class com.singularsys.jep.configurableparser.LookaheadNIterator
- toString() - Method in class com.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
- toString() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
- toString() - Method in class com.singularsys.jep.configurableparser.tokens.SymbolToken
- toString() - Method in class com.singularsys.jep.configurableparser.tokens.Token
- toString() - Method in class com.singularsys.jep.EmptyOperatorTable
-
String rep operators ordered by precedence, one per line.
- toString() - Method in class com.singularsys.jep.functions.PostfixMathCommand
- toString() - Method in class com.singularsys.jep.FunctionTable
- toString() - Method in class com.singularsys.jep.misc.MacroFunction
- toString() - Method in class com.singularsys.jep.Operator
- toString() - Method in class com.singularsys.jep.OperatorTable
-
String rep operators ordered by precedence, one per line.
- toString() - Method in class com.singularsys.jep.parser.ASTConstant
- toString() - Method in class com.singularsys.jep.parser.ASTFunNode
-
Returns a string containing the function name.
- toString() - Method in class com.singularsys.jep.parser.ASTOpNode
-
Returns a string containing the function name.
- toString() - Method in class com.singularsys.jep.parser.ASTVarNode
-
Creates a string containing the variable's name and value
- toString() - Method in class com.singularsys.jep.parser.Token
-
Returns the image.
- toString() - Method in class com.singularsys.jep.standard.Complex
-
Returns the value of this complex number as a string in the format:
- toString() - Method in class com.singularsys.jep.Variable
-
Returns a string with the variable name followed by its value.
- toString() - Method in class com.singularsys.jep.VariableTable
- toString() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
-
Reports statistics about the tree, number of nodes, depth, and the number of variables, functions, operators and constants with the number of times each occurs.
- toString(boolean, boolean) - Method in class com.singularsys.jep.standard.Complex
-
Format complex number with the x+y i notation with optional brackets.
- toString(GWTInterop.GWTNode) - Method in class com.singularsys.client.GWTInterop
-
Construct a string representation of the node
- toString(NumberFormat) - Method in class com.singularsys.jep.standard.Complex
-
Print complex number in standard format with a number format applied to individual components.
- toString(NumberFormat, boolean) - Method in class com.singularsys.jep.standard.Complex
-
Prints using specified number format in format or "2" or "3 i" or "(2+3 i)" if brackets is true or "2+3 i" if brackets is false.
- toString(Node) - Static method in class com.singularsys.client.GWTExpose
- toString(Node) - Method in class com.singularsys.jep.Jep
-
Returns a string representation of an expression.
- toString(Node) - Method in class com.singularsys.jep.PrintVisitor
-
Returns a String representation of the equation.
- toString(Object) - Method in class com.singularsys.jepexamples.consoles.Console
-
Return string representation of object.
- toString(Object...) - Method in class com.singularsys.jep.functions.PostfixMathCommand
-
Return a string representation of the function with its arguments.
- toString(String) - Method in class com.singularsys.jep.parser.SimpleNode
- toString(List<Token>) - Static method in class com.singularsys.jep.configurableparser.Tokenizer
- totalTimes - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
- totalTimes - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTestComplex
- TRANSITIVE - Static variable in class com.singularsys.jep.Operator
-
Transitive relations x=y and y=z implies x=z
- trapInfinity - Variable in class com.singularsys.jep.standard.FastEvaluator
- trapInfinity - Variable in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- trapInfinity - Variable in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- trapNaN - Variable in class com.singularsys.jep.standard.FastEvaluator
- trapNaN - Variable in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- trapNaN - Variable in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- trapNullValues - Variable in class com.singularsys.jep.standard.FastEvaluator
- trapNullValues - Variable in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- trapNullValues - Variable in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- trapUnsetValues - Variable in class com.singularsys.jep.standard.FastEvaluator
-
Whether null values for variables are trapped
- trapUnsetValues - Variable in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
-
Whether null values for variables are trapped
- trapUnsetValues - Variable in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
-
Whether null values for variables are trapped
- TreeAnalyzer - Class in com.singularsys.jep.walkers
-
Analyze an expression, counting the number of nodes of each type, and recording which variables, functions and operators occurred in the expression.
- TreeAnalyzer() - Constructor for class com.singularsys.jep.walkers.TreeAnalyzer
-
Creates an empty tree analyser.
- TreeAnalyzer(Node) - Constructor for class com.singularsys.jep.walkers.TreeAnalyzer
-
Create a new instance and Analyze the node.
- Trim - Class in com.singularsys.jep.functions.strings
-
Trims leading and trailing whitespace
- Trim() - Constructor for class com.singularsys.jep.functions.strings.Trim
- TRUNCATED - Enum constant in enum com.singularsys.jep.misc.functions.Remainder.Type
-
Remainder has same sign as divisor.
- TRUNCATED_QUOTIENT - Enum constant in enum com.singularsys.jep.misc.functions.Remainder.Type
- tryAddConstant(String, Object) - Method in class com.singularsys.jep.Jep
-
Tries to add a constant.
- TWO - Static variable in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
- TWO - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
- TypeCreator() - Constructor for class com.singularsys.jepexamples.diagnostics.ExamineResultTypes.TypeCreator
U
- U_I - Static variable in class com.singularsys.jep.standard.ImmutableComplex
-
Unmodifiable constant 0+1 i
- U_MINUS_I - Static variable in class com.singularsys.jep.standard.ImmutableComplex
-
Unmodifiable constant 0-1 i
- U_MINUS_ONE - Static variable in class com.singularsys.jep.standard.ImmutableComplex
-
Unmodifiable constant -1+0 i
- U_ONE - Static variable in class com.singularsys.jep.standard.ImmutableComplex
-
Unmodifiable constant 1+0 i
- U_ZERO - Static variable in class com.singularsys.jep.standard.ImmutableComplex
-
Unmodifiable constant 0+0 i
- umin(Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecNegate
- umin(Object) - Method in class com.singularsys.jep.functions.UMinus
- UMinus - Class in com.singularsys.jep.functions
- UMinus() - Constructor for class com.singularsys.jep.functions.UMinus
- UNARY - Static variable in class com.singularsys.jep.Operator
-
Unary operators, such as -x !x ~x
- UnaryFunction - Class in com.singularsys.jep.functions
-
Convenient base class for unary functions.
- UnaryFunction() - Constructor for class com.singularsys.jep.functions.UnaryFunction
-
Default constructor.
- UncheckedConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.UncheckedConfig
- UncheckedConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTestComplex.UncheckedConfig
- UncheckedEvalTest - Class in com.singularsys.jeptests.system
- UncheckedEvalTest() - Constructor for class com.singularsys.jeptests.system.UncheckedEvalTest
- UncheckedEvaluator - Class in com.singularsys.jep.standard
-
An evaluator which does fewer checks on values with a 5% faster speed.
- UncheckedEvaluator() - Constructor for class com.singularsys.jep.standard.UncheckedEvaluator
- UNEXPECTED - Enum constant in enum com.singularsys.jep.configurableparser.ShuntingYard.PrefixRes
-
Input failed to match
- unlimitedPrecisionTest() - Method in class com.singularsys.jeptests.system.BigDecimalTest
- UPLUS - Enum constant in enum com.singularsys.jep.OperatorTable2.PsudoOperators
-
Unary plus +x
- UpperCase - Class in com.singularsys.jep.functions.strings
-
Convert a string to uppercase
- UpperCase() - Constructor for class com.singularsys.jep.functions.strings.UpperCase
- UpperCaseOperatorTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
A case-insensitive operator token matcher.
- UpperCaseOperatorTokenMatcher() - Constructor for class com.singularsys.jep.configurableparser.matchers.UpperCaseOperatorTokenMatcher
- URShift - Class in com.singularsys.jep.misc.bitwise
-
Bitwise right shift with zero extension, like the java a <<< b operator.
- URShift() - Constructor for class com.singularsys.jep.misc.bitwise.URShift
- URSHIFT - Enum constant in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
- URSHIFTEQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
- USE_BINDING_FOR_PRINT - Static variable in class com.singularsys.jep.Operator
-
For non-commutative operators printing can be determined by the left or right binding.
- useBindingForPrint() - Method in class com.singularsys.jep.Operator
- Utils - Class in com.singularsys.jepexamples.diagnostics
-
Some common utility methods
- Utils() - Constructor for class com.singularsys.jepexamples.diagnostics.Utils
V
- vals - Variable in class com.singularsys.jep.parser.SimpleNode
- valueOf(String) - Static method in enum com.singularsys.jep.configurableparser.ShuntingYard.PrefixRes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.functions.ArrayFunctionBase.ZeroLengthErrorBehaviour
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.ExtendedOperatorSet.ExtendedOperators
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.functions.Case.NullBehaviour
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.functions.Remainder.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.functions.Switch.NullBehaviour
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.functions.SwitchDefault.NullBehaviour
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory.Numbering
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable.NullWrapperOperators
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.OperatorTable2.BasicOperators
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.OperatorTable2.PsudoOperators
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jep.OperatorTable2.SpecialOperators
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jepexamples.consoles.Console.SPEC_ACTION
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.singularsys.jeptests.system.ExtendedParserTest.InOperators
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.singularsys.jep.configurableparser.ShuntingYard.PrefixRes
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.functions.ArrayFunctionBase.ZeroLengthErrorBehaviour
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.singularsys.jep.FunctionTable
- values() - Static method in enum com.singularsys.jep.misc.bitwise.BitwiseOperatorTable.BitwiseOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.misc.ExtendedOperatorSet.ExtendedOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.misc.functions.Case.NullBehaviour
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.misc.functions.Remainder.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.misc.functions.Switch.NullBehaviour
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.misc.functions.SwitchDefault.NullBehaviour
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory.Numbering
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.misc.nullwrapper.NullWrappedOperatorTable.NullWrapperOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.OperatorTable2.BasicOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.OperatorTable2.PsudoOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jep.OperatorTable2.SpecialOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.singularsys.jep.VariableTable
-
Deprecated.
- values() - Static method in enum com.singularsys.jepexamples.consoles.Console.SPEC_ACTION
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.singularsys.jeptests.system.ExtendedParserTest.InOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueTest(String, double, double) - Method in class com.singularsys.jeptests.system.JepTest
-
Test values to within a given precision
- valueTest(String, Object) - Method in class com.singularsys.jeptests.system.JepTest
-
Test result j.evaluate(j.parse(expr))
- valueTest(String, Object) - Method in class com.singularsys.jeptests.system.RealEvalTest
- valueTestFail(String) - Method in class com.singularsys.jeptests.system.JepTest
-
Test whether evaluating an expression results in an exception
- valueTestNaN(String) - Method in class com.singularsys.jeptests.system.JepTest
-
Test whether an expression evaluates to NaN
- valueTestNull(String) - Method in class com.singularsys.jeptests.system.JepTest
- valueTestString(String, String) - Method in class com.singularsys.jeptests.system.JepTest
- varFac - Variable in class com.singularsys.jep.ComponentSet
- varFac - Variable in class com.singularsys.jep.Jep
-
Variable Factory
- Variable - Class in com.singularsys.jep
-
Information about a variable.
- Variable(Variable) - Constructor for class com.singularsys.jep.Variable
-
Copy constructor
- Variable(String) - Constructor for class com.singularsys.jep.Variable
-
Constructors are protected.
- Variable(String, Object) - Constructor for class com.singularsys.jep.Variable
-
Constructors are protected.
- Variable_ToString() - Method in interface com.singularsys.jep.GWTJepMessages
- Variable_ToStringConstant() - Method in interface com.singularsys.jep.GWTJepMessages
- Variable_ToStringNullValue() - Method in interface com.singularsys.jep.GWTJepMessages
- VariableFactory - Class in com.singularsys.jep
-
A factory class which is used to create variables.
- VariableFactory() - Constructor for class com.singularsys.jep.VariableFactory
- VariableFactoryTest - Class in com.singularsys.jeptests.unit
- VariableFactoryTest() - Constructor for class com.singularsys.jeptests.unit.VariableFactoryTest
- VariableFactoryTest.Test_copyVariable - Class in com.singularsys.jeptests.unit
- VariableHookTest - Class in com.singularsys.jeptests.unit
- VariableHookTest() - Constructor for class com.singularsys.jeptests.unit.VariableHookTest
- VariableTable - Class in com.singularsys.jep
-
A table of variables.
- VariableTable() - Constructor for class com.singularsys.jep.VariableTable
- VariableTable(VariableTable) - Constructor for class com.singularsys.jep.VariableTable
- VariableTable_AttemptToSetTheValueOfAConstantVariable() - Method in interface com.singularsys.jep.GWTJepMessages
- VariableTable_ListEnd() - Method in interface com.singularsys.jep.GWTJepMessages
- VariableTable_ListSeparator() - Method in interface com.singularsys.jep.GWTJepMessages
- VariableTable_ListStart() - Method in interface com.singularsys.jep.GWTJepMessages
- varNames - Variable in class com.singularsys.jep.misc.MacroFunction
- vars - Variable in class com.singularsys.jep.misc.MacroFunction
- varTab - Variable in class com.singularsys.jep.ComponentSet
- varTab - Variable in class com.singularsys.jep.Jep
-
Variable Table
- VectorConsole - Class in com.singularsys.jepexamples.consoles
-
A console which illustrates a different syntax for vectors using mathematical (1,2,3) notation.
- VectorConsole() - Constructor for class com.singularsys.jepexamples.consoles.VectorConsole
- vf - Variable in class com.singularsys.jep.VariableTable
- visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.HookRemover
- visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
- visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
-
Visit a constant node
- visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
- visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
- visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- visit(ASTConstant, Object) - Method in interface com.singularsys.jep.ParserVisitor
- visit(ASTConstant, Object) - Method in class com.singularsys.jep.PrintVisitor
- visit(ASTConstant, Object) - Method in class com.singularsys.jep.standard.FastEvaluator
- visit(ASTConstant, Object) - Method in class com.singularsys.jep.standard.StandardEvaluator
- visit(ASTConstant, Object) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- visit(ASTConstant, Object) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
- visit(ASTConstant, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
-
Visit a constant node.
- visit(ASTConstant, Object) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- visit(ASTConstant, Object) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- visit(ASTConstant, Object) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.HookRemover
- visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
- visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
-
Visit a function node
- visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
- visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
- visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- visit(ASTFunNode, Object) - Method in interface com.singularsys.jep.ParserVisitor
- visit(ASTFunNode, Object) - Method in class com.singularsys.jep.PrintVisitor
-
Prints a standard function: fun(arg, arg)
- visit(ASTFunNode, Object) - Method in class com.singularsys.jep.standard.FastEvaluator
- visit(ASTFunNode, Object) - Method in class com.singularsys.jep.standard.StandardEvaluator
- visit(ASTFunNode, Object) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- visit(ASTFunNode, Object) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
- visit(ASTFunNode, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
-
Visit a function node.
- visit(ASTFunNode, Object) - Method in class com.singularsys.jep.walkers.ImportationVisitor
-
Ensures that functions will be correct for the give Jep instance.
- visit(ASTFunNode, Object) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- visit(ASTFunNode, Object) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- visit(ASTFunNode, Object) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.HookRemover
- visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
- visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
-
Visit an operator node
- visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
- visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
- visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- visit(ASTOpNode, Object) - Method in interface com.singularsys.jep.ParserVisitor
- visit(ASTOpNode, Object) - Method in class com.singularsys.jep.PrintVisitor
- visit(ASTOpNode, Object) - Method in class com.singularsys.jep.standard.FastEvaluator
- visit(ASTOpNode, Object) - Method in class com.singularsys.jep.standard.StandardEvaluator
- visit(ASTOpNode, Object) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- visit(ASTOpNode, Object) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
- visit(ASTOpNode, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
-
Visit an operator node.
- visit(ASTOpNode, Object) - Method in class com.singularsys.jep.walkers.ExpressionConsolidator
- visit(ASTOpNode, Object) - Method in class com.singularsys.jep.walkers.ImportationVisitor
-
Ensures that operators are correct for the given Jep instance.
- visit(ASTOpNode, Object) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- visit(ASTOpNode, Object) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- visit(ASTOpNode, Object) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.HookRemover
- visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
- visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
-
Visit a variable node
- visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
- visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
- visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
- visit(ASTVarNode, Object) - Method in interface com.singularsys.jep.ParserVisitor
- visit(ASTVarNode, Object) - Method in class com.singularsys.jep.PrintVisitor
- visit(ASTVarNode, Object) - Method in class com.singularsys.jep.standard.FastEvaluator
- visit(ASTVarNode, Object) - Method in class com.singularsys.jep.standard.StandardEvaluator
- visit(ASTVarNode, Object) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- visit(ASTVarNode, Object) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
- visit(ASTVarNode, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
-
Visit a variable node.
- visit(ASTVarNode, Object) - Method in class com.singularsys.jep.walkers.ImportationVisitor
-
Uses the name of the variable rather than the variable reference to create the node
- visit(ASTVarNode, Object) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
- visit(ASTVarNode, Object) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- visit(ASTVarNode, Object) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- visit(ASTVarNode, Object) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- visit(Node) - Method in class com.singularsys.jep.reals.RealEvaluator
- visit(Node) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
- visitBinary(ASTOpNode) - Method in class com.singularsys.jep.PrintVisitor
- visitChildren(ASTFunNode) - Method in class com.singularsys.jep.reals.RealEvaluator
- visitChildren(Node, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
-
Gets the result of visiting children of an array of nodes.
- visitConstant(ASTConstant) - Method in class com.singularsys.jep.reals.RealEvaluator
- visitConstant(Node) - Method in class com.singularsys.jep.standard.FastEvaluator
- visitConstant(Node) - Method in class com.singularsys.jep.standard.StandardEvaluator
- visitConstant(Node) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- visitConstant(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- visitConstant(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- visitConstant(Node) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- visitFun(Node) - Method in class com.singularsys.jep.standard.FastEvaluator
-
Visits a function/operator node.
- visitFun(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
-
Visits a function/operator node.
- visitFun(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
-
Visits a function/operator node.
- visitFun(Node) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
-
Visits a function/operator node.
- visitFunction(ASTFunNode) - Method in class com.singularsys.jep.reals.RealEvaluator
- visitNode(Node, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
-
Used to recursively visit the children of a node.
- visitUnary(ASTOpNode) - Method in class com.singularsys.jep.PrintVisitor
-
Print a unary operator.
- visitVar(Node) - Method in class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEvaluator
- visitVar(Node) - Method in class com.singularsys.jep.standard.FastEvaluator
- visitVar(Node) - Method in class com.singularsys.jep.standard.StandardEvaluator
- visitVar(Node) - Method in class com.singularsys.jep.standard.UncheckedEvaluator
- visitVar(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_4
- visitVar(Node) - Method in class com.singularsys.jepexamples.diagnostics.FastEvaluator3_5
- visitVar(Node) - Method in class com.singularsys.jeptests.system.StackCheckingFastEvaluator
- visitVariable(ASTVarNode) - Method in class com.singularsys.jep.reals.RealEvaluator
- VSum - Class in com.singularsys.jep.functions
-
Summation function which expands the arguments.
- VSum() - Constructor for class com.singularsys.jep.functions.VSum
- vt - Variable in class com.singularsys.jep.misc.threadsafeeval.ThreadSafeEvaluator
- vt - Variable in class com.singularsys.jep.NodeFactory
- vt - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
-
Convenience reference to the VariableTable
W
- walk(Node) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
-
Start transversal of the expression.
- walk(Node) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
-
Uses a non-recursive method to traverse the tree under the node 'top'.
- walkers_PostfixTreeWalker_ExpectedSentinelOnStack() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_SerializableExpression_Constant() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_SerializableExpression_Function() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_SerializableExpression_Operator() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_SerializableExpression_StackCorruptedSizeN() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_SerializableExpression_Variable() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_SubstitutionVisitor_SubstitutionEquationShouldBeOfTheForm() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_TreeAnalyzer_Comma() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_TreeAnalyzer_Constants() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_TreeAnalyzer_Functions() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_TreeAnalyzer_NameNumber() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_TreeAnalyzer_NodesDepth() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_TreeAnalyzer_Operators() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_TreeAnalyzer_SummaryString() - Method in interface com.singularsys.jep.GWTJepMessages
- walkers_TreeAnalyzer_Variables() - Method in interface com.singularsys.jep.GWTJepMessages
- walkSubEquations(Node) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
-
If a
PostfixTreeWalker.suppressExaminingChildren(Node)
returns true, then the children of the node will not be visited by default. - WhiteSpaceCommentFilter - Class in com.singularsys.jep.configurableparser
- WhiteSpaceCommentFilter() - Constructor for class com.singularsys.jep.configurableparser.WhiteSpaceCommentFilter
- WhiteSpaceToken - Class in com.singularsys.jep.configurableparser.tokens
-
Tokens representing sequence of white space characters.
- WhiteSpaceToken(String) - Constructor for class com.singularsys.jep.configurableparser.tokens.WhiteSpaceToken
- WhiteSpaceTokenMatcher - Class in com.singularsys.jep.configurableparser.matchers
-
Matches whitespace.
- WhiteSpaceTokenMatcher(Pattern) - Constructor for class com.singularsys.jep.configurableparser.matchers.WhiteSpaceTokenMatcher
- WhiteSpaceTokenMatcher(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.WhiteSpaceTokenMatcher
- WrongArgument_X_Expected_Y_() - Method in interface com.singularsys.jep.GWTJepMessages
X
- XOREQUAL - Enum constant in enum com.singularsys.jep.misc.javaops.JavaOperatorTable.JavaOperators
Z
- ZERO - Static variable in class com.singularsys.jep.standard.Complex
-
Constant 0+0 i
- ZERO - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form