A B C D E F G H I J K L M N O P R S T U V W X Y Z

A

Abs - Class in com.singularsys.jep.functions
Absolute value function for Numbers it returns the absolute value of same type for Complex it returns the Modulus.
Abs() - Constructor for class com.singularsys.jep.functions.Abs
 
abs(Object) - Method in class com.singularsys.jep.functions.Abs
 
abs() - Method in class com.singularsys.jep.standard.Complex
Returns the absolute value of the complex number.
abs2() - Method in class com.singularsys.jep.standard.Complex
Returns the square of the absolute value (re*re+im*im).
AbstractCanvas - Class in com.singularsys.jepexamples.applets
An abstract base class providing scaling and double buffering support for Canvas components.
AbstractCanvas() - Constructor for class com.singularsys.jepexamples.applets.AbstractCanvas
Constructor using 1 for scaling and 0 for offset.
AbstractCanvas(double, double, int, int) - Constructor for class com.singularsys.jepexamples.applets.AbstractCanvas
Constructor specifying the default values for scaling and offset.
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(Object) - Method in class com.singularsys.jep.functions.ArcCosine
 
acos() - Method in class com.singularsys.jep.standard.Complex
 
acosh(Object) - Method in class com.singularsys.jep.functions.ArcCosineH
 
acosh() - Method in class com.singularsys.jep.standard.Complex
 
actionPerformed(ActionEvent) - Method in class com.singularsys.jepexamples.applets.Fractal
 
add(SymbolToken) - Method in class com.singularsys.jep.configurableparser.matchers.SymbolTokenMatcher
Adds a new SymbolToken to be matched.
Add - Class in com.singularsys.jep.functions
Addition function.
Add() - Constructor for class com.singularsys.jep.functions.Add
 
add(Object, Object) - Method in class com.singularsys.jep.functions.Add
Adds two numbers together.
add(Number, Number) - Static method in class com.singularsys.jep.functions.Add
 
add(Complex, Complex) - Static method in class com.singularsys.jep.functions.Add
 
add(Vector<?>, Vector<?>) - Method in class com.singularsys.jep.functions.Add
 
add(Complex, Number) - Static method in class com.singularsys.jep.functions.Add
 
add - Static 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(Complex) - Method in class com.singularsys.jep.standard.Complex
Adds the complex number with another complex value.
add(Operator) - Method in class com.singularsys.jep.walkers.ExpressionConsolidator
Adds an addition operator to be consolidated.
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).
addComplex() - Method in class org.nfunk.jep.JEP
Deprecated. Call this function if you want to parse expressions which involve complex numbers.
addConfig(SpeedTest.EvaluationConfig) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest
Adds a new EvaluationConfig to be be run for comparison.
addConstant(String, Object) - Method in class com.singularsys.jep.Jep
Add a constant: a variable who's value cannot be changed.
addConstant(String, Object) - Method in class com.singularsys.jep.VariableTable
Adds a new variable which is marked as a constant.
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 error 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.
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 org.nfunk.jep.JEP
Deprecated. Adds a new function to the parser.
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 out side the standard set
AdditiveExpression() - Method in class com.singularsys.jep.parser.JccParser
 
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.
addObserver(Observable) - Method in class com.singularsys.jep.misc.VariableTableObserver
 
addObservers(VariableTable) - Method in class com.singularsys.jep.misc.VariableTableObserver
 
addOp(Operator) - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
 
addOperator(EmptyOperatorTable.OperatorKey, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
Add a 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(int, Operator) - Method in class com.singularsys.jep.OperatorTable
Add a operator with a given key.
addOperator(Operator) - Method in class com.singularsys.jep.OperatorTable
Add a operator with no key specified.
addOperator(int, Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
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 semi-colon 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 //...
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.
addStandardConstants() - Method in class org.nfunk.jep.JEP
Deprecated. Adds the constants pi and e to the parser.
addStandardFunctions() - Method in class org.nfunk.jep.JEP
Deprecated. Adds the standard functions to the parser.
addSymbols(String...) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
Recognize given symbols.
addTest(PerfTest) - Method in class com.singularsys.jeptests.system.perf.PerfRunner
 
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, Object) - Method in class com.singularsys.jep.Jep
Adds or sets a variable with a given name and value.
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) - Method in class com.singularsys.jep.misc.CaseInsensitiveVariableTable
Adds a new variable with no value specified.
addVariable(String, Object) - Method in class com.singularsys.jep.misc.CaseInsensitiveVariableTable
Adds a new variable with specified value.
addVariable(String) - Method in class com.singularsys.jep.VariableTable
Adds a new variable with no value specified.
addVariable(String, Object) - Method in class com.singularsys.jep.VariableTable
Adds a new variable with specified value.
addVariable(String, double, double) - Method in class org.nfunk.jep.JEP
Deprecated. Adds a new complex variable to the parser, or updates the value of an existing variable.
addVariable(String, Object) - Method in class org.nfunk.jep.JEP
Deprecated. Adds a new variable to the parser as an object, or updates the value of an existing variable.
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.
adjustBeginLineColumn(int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
Method to adjust line and column numbers for the start of a token.
AdjustBuffSize() - Method in class com.singularsys.jep.parser.JavaCharStream
 
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
 
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
analyze(Node) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
Analyze a node, results will be added to the current total.
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.NullLazyLogical
 
AND - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
AndExpression() - Method in class com.singularsys.jep.parser.JccParser
 
AnyConstant() - Method in class com.singularsys.jep.parser.JccParser
 
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.
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
 
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(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(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 - Class in com.singularsys.jep.functions
Argument of a complex number
Arg() - Constructor for class com.singularsys.jep.functions.Arg
 
arg() - Method in class com.singularsys.jep.standard.Complex
Returns the argument of this complex number (Math.atan2(re,im))
ArgumentList(int, String) - Method in class com.singularsys.jep.parser.JccParser
 
ArrayAccess() - Method in class com.singularsys.jep.parser.JccParser
 
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(Object) - Method in class com.singularsys.jep.functions.ArcSine
 
asin() - Method in class com.singularsys.jep.standard.Complex
 
asinh(Object) - Method in class com.singularsys.jep.functions.ArcSineH
 
asinh() - Method in class com.singularsys.jep.standard.Complex
 
asInt(int, Object) - Method in class com.singularsys.jep.functions.PostfixMathCommand
Converts an argument to a 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 - 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 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
assign - Variable in class com.singularsys.jep.walkers.SubstitutionVisitor
 
AssignExpression() - Method in class com.singularsys.jep.parser.JccParser
 
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 a 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
 
ASTConstant(Parser, 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
ASTFunNode(Parser, 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
ASTOpNode(Parser, 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
 
ASTStart(Parser, 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
 
ASTVarNode(Parser, int) - Constructor for class com.singularsys.jep.parser.ASTVarNode
 
atan(Object) - Method in class com.singularsys.jep.functions.ArcTangent
 
atan() - Method in class com.singularsys.jep.standard.Complex
 
atanh(Object) - Method in class com.singularsys.jep.functions.ArcTanH
 
atanh() - Method in class com.singularsys.jep.standard.Complex
 
auxComps - Variable in class com.singularsys.jep.ComponentSet
 
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(List<Object>) - Method in class com.singularsys.jep.functions.Average
Returns the average of a set of values.
axisColor - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Color for axis

B

backup(int) - Method in class com.singularsys.jep.parser.JavaCharStream
Retreat.
baseNumOps - Static variable in class com.singularsys.jep.OperatorTable
Number operators in this table.
basicIndetifierMatcher() - 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.
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.
BeginToken() - Method in class com.singularsys.jep.parser.JavaCharStream
 
bgColor - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Color for background
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
 
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(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.BigDecOperatorTable
 
BigDecOperatorTable(OperatorTable2, 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
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 <, >, <=, >=, !
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
 
BigDecSub - Class in com.singularsys.jep.bigdecimal.functions
 
BigDecSub(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecSub
 
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
 
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
 
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
 
BitwiseOperatorTable - Class in com.singularsys.jep.misc.bitwise
 
BitwiseOperatorTable(String, String) - Constructor for class com.singularsys.jep.misc.bitwise.BitwiseOperatorTable
 
BitwiseOperatorTable(OperatorTable2, String, String) - 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
 
br - Variable in class com.singularsys.jep.configurableparser.Tokenizer
 
bufcolumn - Variable in class com.singularsys.jep.parser.JavaCharStream
 
buffer - Variable in class com.singularsys.jep.parser.JavaCharStream
 
bufline - Variable in class com.singularsys.jep.parser.JavaCharStream
 
bufpos - Variable in class com.singularsys.jep.parser.JavaCharStream
Position in buffer.
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
 
buildConstantNode(ASTConstant) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildConstantNode(Object) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildConstantNode(Operator, Node, Node) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildConstantNode(Operator, Node) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildConstantNode(Operator, Node[]) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildConstantNode(PostfixMathCommandI, Node[]) - 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.
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.NodeFactory
Creates a constant node whose result is the given function applied to the children.
buildConstantNode(Operator, Node[]) - Method in class com.singularsys.jep.NodeFactory
Creates a ASTConstant whose value of applying the operator to its arguments.
buildConstantNode(Operator, Node, Node) - Method in class com.singularsys.jep.NodeFactory
Creates a ASTConstant whose value of applying binary operator to its arguments.
buildConstantNode(Operator, Node) - Method in class com.singularsys.jep.NodeFactory
Creates a ASTConstant whose value of applying a unary operator to its arguments.
buildFunctionNode(ASTFunNode, Node[]) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
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 This method should be sub-classed
buildFunctionNode(ASTFunNode, Node[]) - Method in class com.singularsys.jep.NodeFactory
Builds a function with n arguments and same fun as specified in arguments.
buildOperatorNode(Operator, Node, Node) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildOperatorNode(Operator, Node) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildOperatorNode(Operator, Node[]) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildOperatorNode(Operator, Node[]) - Method in class com.singularsys.jep.NodeFactory
Builds a operator node with n arguments This method should be sub-classed
buildOperatorNode(Operator, Node) - Method in class com.singularsys.jep.NodeFactory
creates a unary function.
buildOperatorNode(Operator, Node, Node) - Method in class com.singularsys.jep.NodeFactory
creates a binary function.
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(String) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
buildVariableNode(Variable) - 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.NodeFactory
creates a new ASTVarNode with a given variable.
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.

C

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
 
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.
CallbackEvaluationI.Runnable - Interface in com.singularsys.jep.functions
Callback functions which have a working run(stack) method.
Case - Class in com.singularsys.jep.misc.functions
A case statement.
Case() - Constructor for class com.singularsys.jep.misc.functions.Case
 
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
 
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
 
center() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
cenX - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
 
cenY - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
 
check(List<Token>, List<Token>) - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
check(List<Token>, Object[]) - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
check(String, String[]) - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
checkComment(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
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
 
checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.functions.RoundSF
 
checkNumberOfParameters(int) - Method in class com.singularsys.jep.misc.functions.ToBase
 
checkNumberOfParameters(int) - Method in interface com.singularsys.jep.PostfixMathCommandI
Checks the number of parameters of the function.
checkOperator(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
checkStack(Stack<Object>) - Method in class com.singularsys.jep.functions.PostfixMathCommand
Check whether the stack is not null, throw a EvaluationException if it is.
checkString(Token, Token) - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
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() - Method in interface com.singularsys.jep.parser.Node
Returns an Iterable object which can be used in a for/in loop.
children - Variable in class com.singularsys.jep.parser.SimpleNode
 
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.
clear() - Method in class com.singularsys.jep.FunctionTable
 
clear() - Method in class com.singularsys.jep.VariableTable
Clears all variables from the table.
clearNodeScope(Node) - Method in class com.singularsys.jep.parser.JJTJccParserState
 
clearValues() - Method in class com.singularsys.jep.VariableTable
Clears the values of all non constant variables.
clipX(int) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Clip screen X values to lie within screen
clipY(int) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Clip screen Y values to lie within screen
cloneToken() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
 
cloneToken() - Method in class com.singularsys.jep.configurableparser.tokens.SymbolToken
 
closeNodeScope(Node, int) - Method in class com.singularsys.jep.parser.JJTJccParserState
 
closeNodeScope(Node, boolean) - Method in class com.singularsys.jep.parser.JJTJccParserState
 
COLON - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
column - Variable in class com.singularsys.jep.parser.JavaCharStream
 
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, ?
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 be null for any operator.
com.singularsys.jep.misc.nullwrapper.functions - package com.singularsys.jep.misc.nullwrapper.functions
 
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.
com.singularsys.jepexamples.applets - package com.singularsys.jepexamples.applets
Example applets that use Jep to perform parsing and evaluation.
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.system - package com.singularsys.jeptests.system
System tests.
com.singularsys.jeptests.system.perf - package com.singularsys.jeptests.system.perf
 
com.singularsys.jeptests.system.perf.tests - package com.singularsys.jeptests.system.perf.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
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(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
 
CommentTokenMatcher(Pattern) - 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.
Comparative - Class in com.singularsys.jep.functions
Implements the comparative operations <, >, <=, >=, !
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.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
 
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.
Complex(double) - Constructor for class com.singularsys.jep.standard.Complex
Constructor from a single double value.
Complex(Number) - Constructor for class com.singularsys.jep.standard.Complex
Construct from a Number.
Complex(Complex) - Constructor for class com.singularsys.jep.standard.Complex
Copy constructor
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_I - Static variable in class com.singularsys.jep.PrintVisitor
Enable this mode to print complex numbers as 3+2 i
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.
componentHidden(ComponentEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
componentMoved(ComponentEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
componentResized(ComponentEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
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.
componentShown(ComponentEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
COMPOSITE - Static variable in class com.singularsys.jep.Operator
composite operators, like a-b which is a+(-b)
Concat - Class in com.singularsys.jep.functions.strings
Concatenates string arguments.
Concat() - Constructor for class com.singularsys.jep.functions.strings.Concat
 
concat(Object, Object) - Method in class com.singularsys.jep.functions.strings.Concat
 
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.
conj(Object) - Method in class com.singularsys.jep.functions.Conjugate
 
conj() - Method in class com.singularsys.jep.standard.Complex
Returns the complex 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.SPEC_ACTION - Enum in com.singularsys.jepexamples.consoles
 
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.
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
 
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.JccParser
Continue parsing without re-initializing 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.
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 for it 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
cos(Object) - Method in class com.singularsys.jep.functions.Cosine
 
cos() - Method in class com.singularsys.jep.standard.Complex
Returns the cosine of this complex number.
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(Object) - Method in class com.singularsys.jep.functions.CosineH
 
cosh() - Method in class com.singularsys.jep.standard.Complex
 
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
 
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.standard.StandardComponents
 
createDefaultFunctionTable() - Static method in class com.singularsys.jep.standard.StandardComponents
 
createDefaultNodeFactory() - Static method in class com.singularsys.jep.standard.StandardComponents
 
createDefaultNumberFactory() - Static method in class com.singularsys.jep.standard.StandardComponents
 
createDefaultOperatorTable() - Static method in class com.singularsys.jep.standard.StandardComponents
 
createDefaultParser() - Static method in class com.singularsys.jep.standard.StandardComponents
 
createDefaultPrintVisitor() - Static method in class com.singularsys.jep.standard.StandardComponents
 
createDefaultVariableFactory() - Static method in class com.singularsys.jep.standard.StandardComponents
 
createDefaultVariableTable(VariableFactory) - Static method in class com.singularsys.jep.standard.StandardComponents
 
createGraphCanvas(Jep) - Method in class com.singularsys.jepexamples.applets.FunctionPlotter
 
createGraphCanvas(Jep) - Method in class com.singularsys.jepexamples.applets.ParametrisedPlotter
 
createGraphCanvas(Jep) - Method in class com.singularsys.jepexamples.applets.PolarPlotter
 
createNumber(String) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
createNumber(double) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
createNumber(int) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
createNumber(short) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
createNumber(long) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
createNumber(float) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
createNumber(boolean) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
createNumber(Number) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
createNumber(Complex) - 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(double) - Method in interface com.singularsys.jep.NumberFactory
Creates a number object with given double value.
createNumber(int) - Method in interface com.singularsys.jep.NumberFactory
Create a number object with given int value
createNumber(short) - Method in interface com.singularsys.jep.NumberFactory
Create a number object with given short value
createNumber(long) - Method in interface com.singularsys.jep.NumberFactory
Create a number object with given long value
createNumber(float) - Method in interface com.singularsys.jep.NumberFactory
Create a number object with given float value
createNumber(boolean) - Method in interface com.singularsys.jep.NumberFactory
Create a number object with given boolean value
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(Complex) - Method in interface com.singularsys.jep.NumberFactory
Creates a number from a given complex value.
createNumber(String) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
Creates a Double object initialized to the value of the parameter.
createNumber(double) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
 
createNumber(Number) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
 
createNumber(boolean) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
 
createNumber(float) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
 
createNumber(int) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
 
createNumber(short) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
 
createNumber(long) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
 
createNumber(Complex) - Method in class com.singularsys.jep.standard.DoubleNumberFactory
 
createVariable(String, Object) - Method in class com.singularsys.jep.VariableFactory
Create a variable with a name and value
createVariable(String) - Method in class com.singularsys.jep.VariableFactory
Create a variable with a name but not value
Cross - Class in com.singularsys.jep.functions
The cross product of two 3D vectors.
Cross() - Constructor for class com.singularsys.jep.functions.Cross
 
cross(Object, Object) - Method in class com.singularsys.jep.functions.Cross
 
cross(Vector<?>, Vector<?>) - Method in class com.singularsys.jep.functions.Cross
 
CROSS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
curChar - Variable in class com.singularsys.jep.parser.JccParserTokenManager
 
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 com.singularsys.jep.parser.ParseException
This is the last token that has been consumed successfully.
CurVerRunner - Class in com.singularsys.jeptests.system.perf.tests
 
CurVerRunner() - Constructor for class com.singularsys.jeptests.system.perf.tests.CurVerRunner
 

D

dcv - Variable in class com.singularsys.jep.walkers.SubstitutionVisitor
 
debugStream - Variable in class com.singularsys.jep.parser.JccParserTokenManager
Debug output.
DECIMAL_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
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(Jep) - Constructor for class com.singularsys.jep.walkers.DeepCopyVisitor
Constructor to use in a standalone context.
DeepCopyVisitor() - Constructor for class com.singularsys.jep.walkers.DeepCopyVisitor
Constructor to use as a JepComponent.
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
defaultOffX - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
 
defaultOffY - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
 
defaultScaleX - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Default scale values, set in constructor used in reset
defaultScaleY - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Default scale values, set in constructor used in reset
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
deleteObserver(Observable) - Method in class com.singularsys.jep.misc.VariableTableObserver
 
deleteObservers() - Method in class com.singularsys.jep.misc.VariableTableObserver
Stop observing all variables.
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.OldConfig
 
description() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.RealConfig
 
DIGIT1 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
DIGIT2 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
dimensions - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Dimensions of the canvas
disable_tracing() - Method in class com.singularsys.jep.parser.JccParser
Disable tracing.
div - Static variable in class com.singularsys.jep.functions.Average
Function used to divide sum of elements by the number of elements
div(Object, Object) - Method in class com.singularsys.jep.functions.Divide
 
div(Number, Number) - Method in class com.singularsys.jep.functions.Divide
 
div(Complex, Complex) - Method in class com.singularsys.jep.functions.Divide
 
div(Number, Complex) - Method in class com.singularsys.jep.functions.Divide
 
div(Complex, Number) - Method in class com.singularsys.jep.functions.Divide
 
div(Vector<?>, Object) - Method in class com.singularsys.jep.functions.Divide
 
DIV - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
div(Complex) - Method in class com.singularsys.jep.standard.Complex
Returns the result of dividing this complex number by the parameter.
div - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
Factor to reduce the number of iterations for this evaluator.
Divide - Class in com.singularsys.jep.functions
 
Divide() - Constructor for class com.singularsys.jep.functions.Divide
 
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.SpeedTest
Run speed comparison for a set of equations.
doEval(String, String[], double[][]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
 
doEval(String[], String[], double[][]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
 
Done() - Method in class com.singularsys.jep.parser.JavaCharStream
Set buffers back to null when finished.
DoNothingVisitor - Class in com.singularsys.jep.walkers
A Visitor which visits each node of a expression tree and does nothing.
DoNothingVisitor() - Constructor for class com.singularsys.jep.walkers.DoNothingVisitor
 
DoNothingVisitor(Jep) - Constructor for class com.singularsys.jep.walkers.DoNothingVisitor
 
Dot - Class in com.singularsys.jep.functions
The dot product of two vectors.
Dot() - Constructor for class com.singularsys.jep.functions.Dot
 
dot(Object, Object) - Method in class com.singularsys.jep.functions.Dot
 
dot(Vector<?>, Vector<?>) - Method in class com.singularsys.jep.functions.Dot
 
DOT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
dottedIndetifierMatcher() - 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 . characters.
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 - Static variable in class com.singularsys.jep.configurableparser.ShuntingYard
 
dump(String) - Method in class com.singularsys.jep.parser.SimpleNode
 
dump(Node) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 
dump() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Dump textual representation to System.out
dump() - Method in class com.singularsys.jepexamples.applets.FunctionCanvas
Dump the coordinates on the standard output
dump() - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
Dump the coordinates on the standard output
dumpState(String) - Method in class com.singularsys.jep.configurableparser.ShuntingYard
 

E

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 index 1
Ele(boolean) - Constructor for class com.singularsys.jep.functions.Ele
Element access, either java convention (first element has index 0) or mathematical convention (first element has index 1) can be specified.
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, Object) - Method in class com.singularsys.jep.functions.Ele
Find the element of a matrix
ele(Object, Object[]) - Method in class com.singularsys.jep.functions.Ele
Find element of a multi-dimensional array
EleTest - Class in com.singularsys.jeptests.unit.functions
 
EleTest() - Constructor for class com.singularsys.jeptests.unit.functions.EleTest
 
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
 
EmptyOperatorTable.OperatorKey - Interface in com.singularsys.jep
All operators enums must implement this interface.
enable_tracing() - Method in class com.singularsys.jep.parser.JccParser
Enable tracing.
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 com.singularsys.jep.parser.ParseException
The end of line string for this machine.
EQ - Static variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
EQ - Static variable in class com.singularsys.jep.functions.Comparative
 
eq(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
 
EQ - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
EqualExpression() - Method in class com.singularsys.jep.parser.JccParser
 
equals(Object) - Method in class com.singularsys.jep.configurableparser.tokens.Token
 
equals(Complex, double) - Method in class com.singularsys.jep.standard.Complex
Compares this object with the Complex number given as parameter b.
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.
errorList - Variable in class org.nfunk.jep.JEP
Deprecated. Error List
ev - Variable in class com.singularsys.jep.NodeFactory
 
eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecAdd
 
eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecDiv
 
eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMod
 
eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMul
 
eval(Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecNegate
 
eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecPow
 
eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
eval(Object, Object) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecSub
 
eval(Node) - Method in interface com.singularsys.jep.Evaluator
Evaluates a sub expression.
eval(Object) - Method in class com.singularsys.jep.functions.Abs
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.Add
 
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, Object) - Method in class com.singularsys.jep.functions.ArcTangent2
 
eval(Object) - Method in class com.singularsys.jep.functions.ArcTanH
 
eval(Object) - Method in class com.singularsys.jep.functions.Arg
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.BinaryFunction
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.Binomial
 
eval(Object) - Method in class com.singularsys.jep.functions.Ceil
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.ComplexPFMC
 
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, 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[]) - Method in class com.singularsys.jep.functions.Ele
 
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, 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[]) - Method in class com.singularsys.jep.functions.NaryBinaryFunction
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.NaryBinaryFunction
 
eval(Object[]) - Method in class com.singularsys.jep.functions.NaryFunction
Evaluate the function
eval(Object) - Method in class com.singularsys.jep.functions.NaturalLogarithm
 
eval(Object) - Method in class com.singularsys.jep.functions.Not
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.Polar
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.Power
 
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.StrictNaturalLogarithm
 
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) - 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.Mid
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.strings.Right
 
eval(Object[]) - Method in class com.singularsys.jep.functions.strings.Substring
 
eval(Object) - Method in class com.singularsys.jep.functions.strings.Trim
 
eval(Object) - Method in class com.singularsys.jep.functions.strings.UpperCase
 
eval(Object, Object) - Method in class com.singularsys.jep.functions.Subtract
 
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
 
eval(Object[]) - Method in class com.singularsys.jep.misc.functions.Case
 
eval(Object[]) - Method in class com.singularsys.jep.misc.functions.ConstantFunction
 
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.functions.IsType
 
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[]) - Method in class com.singularsys.jep.misc.functions.RoundSF
 
eval(Object[]) - Method in class com.singularsys.jep.misc.functions.Switch
 
eval(Object[]) - Method in class com.singularsys.jep.misc.functions.SwitchDefault
 
eval(Object, Object) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullSafeEquals
 
eval(Object, Object) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrapperBinary
 
eval(Object[]) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrapperNary
 
eval(Object[]) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrapperNaryBinary
 
eval(Object) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrapperUnary
 
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.walkers.PostfixEvaluator
 
eval(String) - Method in class com.singularsys.jeptests.system.BigDecimalTest
 
evalExceptionTest(String) - Method in class com.singularsys.jeptests.system.BigDecimalTest
 
EvalPerfTest - Class in com.singularsys.jeptests.system.perf.tests
Evaluates an expression nIterations times.
EvalPerfTest(String, String, int, boolean) - Constructor for class com.singularsys.jeptests.system.perf.tests.EvalPerfTest
 
evaluate(Node) - Method in interface com.singularsys.jep.Evaluator
Evaluates a node and returns and object with the value of the node.
evaluate(double) - Method in class com.singularsys.jep.functions.Abs
 
evaluate(double, double) - Method in class com.singularsys.jep.functions.Add
 
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, double) - Method in class com.singularsys.jep.functions.ArcTangent2
 
evaluate(double) - Method in class com.singularsys.jep.functions.ArcTanH
 
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(double) - Method in class com.singularsys.jep.functions.Average
Just returns its argument.
evaluate(Node, Evaluator) - Method in interface com.singularsys.jep.functions.CallbackEvaluationI
Performs some special evaluation on the node.
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, double) - Method in class com.singularsys.jep.functions.Divide
 
evaluate(double) - Method in class com.singularsys.jep.functions.Exp
 
evaluate(double) - Method in class com.singularsys.jep.functions.Floor
 
evaluate(Node, Evaluator) - Method in class com.singularsys.jep.functions.If
 
evaluate(Node, Evaluator) - Method in class com.singularsys.jep.functions.LazyLogical
 
evaluate(double) - Method in class com.singularsys.jep.functions.Logarithm
 
evaluate(double) - Method in class com.singularsys.jep.functions.LogBase2
 
evaluate(double, double) - Method in class com.singularsys.jep.functions.Modulus
 
evaluate(double, double) - Method in class com.singularsys.jep.functions.Multiply
 
evaluate(double) - Method in class com.singularsys.jep.functions.NaturalLogarithm
 
evaluate(double, double) - Method in class com.singularsys.jep.functions.Power
 
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, double) - Method in class com.singularsys.jep.functions.Subtract
 
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() - Method in class com.singularsys.jep.Jep
Evaluates the most recently parsed expression.
evaluate(Node) - Method in class com.singularsys.jep.Jep
Evaluates the expression tree pointed to by the node parameter.
evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.functions.Case
 
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(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.nullwrapper.functions.NullLazyLogical
 
evaluate(Node, Evaluator) - Method in class com.singularsys.jep.misc.nullwrapper.functions.NullWrappedIf
 
evaluate(double, double) - Method in interface com.singularsys.jep.reals.RealBinaryFunction
 
evaluate(Node) - Method in class com.singularsys.jep.reals.RealEvaluator
 
evaluate(double[]) - Method in interface com.singularsys.jep.reals.RealNaryFunction
 
evaluate() - Method in interface com.singularsys.jep.reals.RealNullaryFunction
 
evaluate(double) - Method in interface com.singularsys.jep.reals.RealUnaryFunction
 
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.walkers.PostfixEvaluator
 
evaluateD() - Method in class com.singularsys.jep.Jep
Evaluates the most recently parsed expression and returns the result as a double.
EvaluationException - Exception in com.singularsys.jep
Exceptions thrown during evaluation.
EvaluationException() - Constructor for exception com.singularsys.jep.EvaluationException
 
EvaluationException(String) - Constructor for exception com.singularsys.jep.EvaluationException
 
EvaluationException(String, Throwable) - Constructor for exception com.singularsys.jep.EvaluationException
 
EvaluationException(Throwable) - Constructor for exception com.singularsys.jep.EvaluationException
 
evaluator - Variable in class com.singularsys.jep.ComponentSet
 
Evaluator - Interface in com.singularsys.jep
Defines a method which can be used to evaluate a part of a node-tree.
evaluator - Variable in class com.singularsys.jep.Jep
Evaluator instance used for evaluating parse trees
Evaluator - Class in com.singularsys.jepexamples.applets
This applet is an simple example for how Jep can be used to evaluate expressions.
Evaluator() - Constructor for class com.singularsys.jepexamples.applets.Evaluator
 
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.ShortTypeCreator() - Constructor for class com.singularsys.jepexamples.diagnostics.ExamineResultTypes.ShortTypeCreator
 
ExamineSizes - Class in com.singularsys.jepexamples.diagnostics
Used to examine the memory used to initialise a Jep instance.
ExamineSizes() - Constructor for class com.singularsys.jepexamples.diagnostics.ExamineSizes
 
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
Exp - Class in com.singularsys.jep.functions
The exp function.
Exp() - Constructor for class com.singularsys.jep.functions.Exp
 
exp(Object) - Method in class com.singularsys.jep.functions.Exp
 
ExpandBuff(boolean) - Method in class com.singularsys.jep.parser.JavaCharStream
 
expectedTokenSequences - Variable in exception 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() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
Match prefixSuffix() optionally followed by a binary or ternary operator or an implicit multiplication.
Expression() - Method in class com.singularsys.jep.parser.JccParser
 
expression - Variable in class com.singularsys.jepexamples.applets.FunctionCanvas
Expression to evaluate
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
A example of an OperatorSet which demonstrates some features.
ExtendedOperatorSet() - Constructor for class com.singularsys.jep.misc.ExtendedOperatorSet
 
ExtendedOperatorSet(OperatorTable2) - Constructor for class com.singularsys.jep.misc.ExtendedOperatorSet
 
ExtendedOperatorSet.ExtendedOperators - Enum in com.singularsys.jep.misc
 
ExtendedOperatorSet.Factorial - Class in com.singularsys.jep.misc
Simple implementation of factorial, good up to 20!
ExtendedOperatorSet.Factorial() - Constructor for class com.singularsys.jep.misc.ExtendedOperatorSet.Factorial
 
ExtendedParserTest - Class in com.singularsys.jeptests.system
Tests for the configurable parser.
ExtendedParserTest() - Constructor for class com.singularsys.jeptests.system.ExtendedParserTest
 
extract(Stack<Node>, Jep) - Method in class com.singularsys.jep.walkers.SerializableExpression.Constant
 
extract(Stack<Node>, Jep) - Method in interface com.singularsys.jep.walkers.SerializableExpression.Element
 
extract(Stack<Node>, Jep) - Method in class com.singularsys.jep.walkers.SerializableExpression.Function
 
extract(Stack<Node>, Jep) - Method in class com.singularsys.jep.walkers.SerializableExpression.Operator
 
extract(Stack<Node>, Jep) - Method in class com.singularsys.jep.walkers.SerializableExpression.Variable
 

F

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
 
FillBuff() - Method in class com.singularsys.jep.parser.JavaCharStream
 
filter(List<Token>) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
Filters the tokens to remove whitespace etc.
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
 
filters - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
 
fini() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest
 
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 - 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(Object) - Method in class com.singularsys.jep.functions.Floor
 
format - Variable in class com.singularsys.jep.PrintVisitor
The NumberFormat object used to print numbers.
formatValue(Object, StringBuffer) - Method in class com.singularsys.jep.PrintVisitor
Appends a formatted versions of val to the string buffer.
formatValue(Object) - Method in class com.singularsys.jep.PrintVisitor
Returns a formatted version of the value.
Fractal - Class in com.singularsys.jepexamples.applets
 
Fractal() - Constructor for class com.singularsys.jepexamples.applets.Fractal
 
FractalCanvas - Class in com.singularsys.jepexamples.applets
This class performs the drawing of the fractal.
FractalCanvas(String, TextField) - Constructor for class com.singularsys.jepexamples.applets.FractalCanvas
Constructor.
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
 
fromBase(String, int) - Method in class com.singularsys.jep.misc.functions.FromBase
 
ft - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
 
FULL_BRACKET - Static variable in class com.singularsys.jep.PrintVisitor
Enable this mode to print all brackets.
Function() - Method in class com.singularsys.jep.parser.JccParser
 
FunctionCanvas - Class in com.singularsys.jepexamples.applets
This class plots a graph using the Jep API.
FunctionCanvas(Jep, Variable) - Constructor for class com.singularsys.jepexamples.applets.FunctionCanvas
Constructor
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
FunctionPlotter - Class in com.singularsys.jepexamples.applets
This applet is a demonstration of the possible applications of the Jep mathematical expression parser.
FunctionPlotter() - Constructor for class com.singularsys.jepexamples.applets.FunctionPlotter
 
functions - Variable in class com.singularsys.jep.misc.FunctionSet
 
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
 
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
 
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 - Static variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
GE - Static variable in class com.singularsys.jep.functions.Comparative
 
ge(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
 
GE - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
generateParseException() - Method in class com.singularsys.jep.parser.JccParser
Generate ParseException.
get(Object) - Method in class com.singularsys.jep.misc.FunctionSet
 
getActual() - Method in exception com.singularsys.jep.configurableparser.matchers.GrammarException
 
getActualClass() - Method in exception com.singularsys.jep.functions.IllegalParameterException
 
getActualObject() - Method in exception 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
 
getAdditionalComponent(Class<?>) - Method in class com.singularsys.jep.Jep
Return an additional component which is an instance of a particular class.
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.
getAllowUndeclared() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the value of the allowUndeclared option.
getAltSymbols() - Method in class com.singularsys.jep.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
 
getAndEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
 
getAppletInfo() - Method in class com.singularsys.jepexamples.applets.FunctionPlotter
 
getAppletInfo() - Method in class com.singularsys.jepexamples.consoles.Console
 
getArgumentNumber() - Method in exception com.singularsys.jep.functions.IllegalParameterException
 
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
 
getAuxComponents() - Method in class com.singularsys.jep.ComponentSet
 
getAuxComps() - Method in class com.singularsys.jep.ComponentSet
 
getBaseComponents() - Method in class com.singularsys.jep.ComponentSet
 
getBeginColumn() - Method in class com.singularsys.jep.parser.JavaCharStream
 
getBeginLine() - Method in class com.singularsys.jep.parser.JavaCharStream
 
getBinaryInverseOp() - Method in class com.singularsys.jep.Operator
 
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
 
getColumn(Node) - Static method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
Convenience method to get the column number of a node.
getColumn() - Method in class com.singularsys.jep.parser.JavaCharStream
Deprecated. 
getColumnNumber() - Method in class com.singularsys.jep.configurableparser.tokens.Token
 
getColumnNumber() - Method in exception 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.
getComplexValue() - Method in class org.nfunk.jep.JEP
Deprecated. Evaluates and returns the value of the expression as a complex number.
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
 
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.
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
 
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
 
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
 
getEndColumn() - Method in class com.singularsys.jep.parser.JavaCharStream
Get end column.
getEndLine() - Method in class com.singularsys.jep.parser.JavaCharStream
Get end line.
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
 
getErrorInfo() - Method in class org.nfunk.jep.JEP
Deprecated. Reports information on the errors that occurred during the most recent action.
getEvaluator() - Method in class com.singularsys.jep.ComponentSet
 
getEvaluator() - Method in class com.singularsys.jep.Jep
Returns the evaluator
getExpected() - Method in exception com.singularsys.jep.configurableparser.matchers.GrammarException
 
getExpectedClass() - Method in exception com.singularsys.jep.functions.IllegalParameterException
 
getExpression() - Method in class com.singularsys.jepexamples.applets.FunctionCanvas
 
getExpression(int) - Method in class com.singularsys.jepexamples.diagnostics.ExamineSizes
 
getExpression(int) - Method in class com.singularsys.jepexamples.diagnostics.ThreadTest
 
getExpression() - Method in class com.singularsys.jeptests.system.perf.PerfTest
 
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
 
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 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
 
getFunctionTable() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the function table (the list of all functions that the parser recognizes).
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
 
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
 
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
 
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
 
getId() - Method in class com.singularsys.jep.parser.SimpleNode
Returns the id of the node (for simpler identification).
GetImage() - Method in class com.singularsys.jep.parser.JavaCharStream
 
getImplicitMul() - Method in class com.singularsys.jep.Jep
Returns the value of the implicit multiplication option.
getImplicitMul() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the value of the implicit multiplication option.
getInverseOp() - Method in class com.singularsys.jep.Operator
 
getIterations() - Method in class com.singularsys.jeptests.system.perf.PerfTest
 
getIterator() - Method in class com.singularsys.jep.configurableparser.ShuntingYard
 
getJep() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
The Jep instance used by the parser
getKey(Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
Gets the key associated with a specific operator
getKey() - Method in class com.singularsys.jep.Operator
Get the key code used to identify the operator in the operator table.
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
 
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
 
getLightWeightInstance() - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
getLightWeightInstance() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
Returns a light weight instance, suitable for use in multiple evaluation threads.
getLightWeightInstance() - Method in class com.singularsys.jep.EmptyOperatorTable
 
getLightWeightInstance() - Method in class com.singularsys.jep.FunctionTable
 
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.MacroFunction
 
getLightWeightInstance() - Method in class com.singularsys.jep.misc.NullParser
 
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.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.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
getLine() - Method in class com.singularsys.jep.parser.JavaCharStream
Deprecated. 
getLineNumber() - Method in class com.singularsys.jep.configurableparser.tokens.Token
 
getLineNumber(Node) - Static method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
Convenience method to get the line number of a node.
getLineNumber() - Method in exception com.singularsys.jep.ParseException
Return the line number where the error occurred, or -1 if not available.
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
 
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
 
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 com.singularsys.jep.functions.IllegalParameterException
 
getMessage() - Method in exception com.singularsys.jep.ParseException
 
getMessage() - Method in error 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
 
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
 
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
 
getName() - Method in class com.singularsys.jep.Variable
Returns the variable name.
getName() - Method in class com.singularsys.jep.walkers.SerializableExpression.Function
 
getName() - Method in class com.singularsys.jep.walkers.SerializableExpression.Operator
 
getName() - Method in class com.singularsys.jep.walkers.SerializableExpression.Variable
 
getName() - Method in class com.singularsys.jeptests.system.perf.PerfTest
 
getNargs() - Method in class com.singularsys.jep.walkers.SerializableExpression.Function
 
getNargs() - Method in class com.singularsys.jep.walkers.SerializableExpression.Operator
 
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
 
getNextToken() - Method in class com.singularsys.jep.parser.JccParser
Get the next Token.
getNextToken() - Method in class com.singularsys.jep.parser.JccParserTokenManager
Get the next Token.
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
 
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
 
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
 
getNumberFactory() - Method in class com.singularsys.jep.ComponentSet
 
getNumberFactory() - Method in class com.singularsys.jep.Jep
Returns the number factory
getNumberFactory() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the number factory.
getNumberOfParameters() - Method in class com.singularsys.jep.functions.PostfixMathCommand
Return the required number of parameters.
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
 
getOffX() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
getOffY() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
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(EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
Get operator by its key code.
getOperator(int) - Method in class com.singularsys.jep.OperatorTable
Get operator by its key code.
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)
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
getOperatorSet() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the operator set.
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.
getOps() - Method in class com.singularsys.jep.walkers.ExpressionConsolidator
The list of operators which are consolidated
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
 
getOrEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
 
getParameterInfo() - Method in class com.singularsys.jepexamples.applets.FunctionPlotter
 
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
getParser() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the parse object.
getPfmc() - Method in class com.singularsys.jep.configurableparser.tokens.FunctionToken
 
getPfmc() - Method in exception 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.ASTOpNode
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
 
getPopup() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
A pop-up menu which subclasses can add items to.
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
 
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
 
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.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
 
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
 
getRoot() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
 
getRootOp() - Method in class com.singularsys.jep.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
 
getScaleX() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
getScaleY() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
getSource() - Method in class com.singularsys.jep.configurableparser.tokens.Token
Gets the source text matched by this token
getSpecialFunction(String, PostfixMathCommandI) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrapperFunctionTable
Handles special functions, subclasses can override this method to add treatment of special functions.
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
 
GetSuffix(int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
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.
getSymbolTable() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the symbol table (the list of all variables that the parser recognizes).
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.
getT() - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
getTabSize(int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
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
 
getTMax() - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
getTMin() - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
getToken(int) - Method in class com.singularsys.jep.parser.JccParser
Get the specific Token.
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
 
getTraverse() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the value of the traverse option.
getTSteps() - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
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
 
getUDivide() - Method in class com.singularsys.jep.EmptyOperatorTable
 
getUDivide() - Method in class com.singularsys.jep.OperatorTable
unary division i.e. 1/x or x^(-1) *
getUDivide() - Method in class com.singularsys.jep.OperatorTable2
unary division i.e. 1/x or x^(-1) *
getUDivide() - Method in interface com.singularsys.jep.OperatorTableI
unary division i.e. 1/x or x^(-1) *
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
 
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
 
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() - Method in class com.singularsys.jep.walkers.SerializableExpression.Constant
 
getValue(double) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.BDConfig
 
getValue(double) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
 
getValue() - Method in class org.nfunk.jep.JEP
Deprecated. Evaluates and returns the value of the expression as a double number.
getValueAsObject() - Method in class org.nfunk.jep.JEP
Deprecated. Evaluates and returns the value of the expression as an object.
getVar(Node) - Method in class com.singularsys.jep.misc.javaops.AbstractInc
 
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)
getVariable(String) - Method in class com.singularsys.jep.Jep
Returns the Variable instance of the variable name.
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.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 all the variable 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.jep.Jep
Returns the value of the variable name.
getVarValue(String) - Method in class org.nfunk.jep.JEP
Deprecated. Returns the value of the variable with given name.
getWrappedFunction(PostfixMathCommandI) - Static method in class com.singularsys.jep.misc.nullwrapper.NullWrapperFunctionFactory
Gets a wrapped function.
getXExpression() - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
getXOrEquals() - Method in class com.singularsys.jep.misc.javaops.JavaOperatorTable
 
getXValue(double) - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
getYExpression() - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
getYValue(double) - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
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
 
go(String, int, int, double, double) - Method in class com.singularsys.jepexamples.diagnostics.ThreadTest
 
gpf - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
 
GrammarException - Exception in com.singularsys.jep.configurableparser.matchers
Signals grammatical errors.
GrammarException(String, Token, Token) - Constructor for exception com.singularsys.jep.configurableparser.matchers.GrammarException
 
GrammarException(String, Token) - Constructor for exception com.singularsys.jep.configurableparser.matchers.GrammarException
 
GrammarException(String, int, int) - Constructor for exception 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
gridColor - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Color for grid
GT - Static variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
GT - Static variable in class com.singularsys.jep.functions.Comparative
 
gt(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
 
GT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.

H

handleError(Exception) - Method in class com.singularsys.jepexamples.consoles.Console
Handle an error in the parse and evaluate routines.
hasError() - Method in class org.nfunk.jep.JEP
Deprecated. Returns true if an error occurred during the most recent action (parsing or evaluation).
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
 
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
 
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
 
hornerExpression(String, int) - Static method in class com.singularsys.jepexamples.diagnostics.SpeedTest
Generate a string giving an approximation to log using Horner form "x*(1/1-x*(1/2-x*(1/3-x*(1/4 ...))))"

I

id - Variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
id - Variable in class com.singularsys.jep.functions.Comparative
Used to represent which operator the class represents.
id - Variable in class com.singularsys.jep.functions.LazyLogical
Represents which logical operator this is.
id - Variable in class com.singularsys.jep.parser.SimpleNode
 
Identifier() - Method in class com.singularsys.jep.parser.JccParser
 
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.
IllegalParameterException - Exception in com.singularsys.jep.functions
Represents an illegal parameter
IllegalParameterException(PostfixMathCommandI, int, Class<?>, Object) - Constructor for exception com.singularsys.jep.functions.IllegalParameterException
Exception where the target type is known.
IllegalParameterException(PostfixMathCommand, int, Object) - Constructor for exception com.singularsys.jep.functions.IllegalParameterException
An exception where the expected type is not known.
IllegalParameterException(PostfixMathCommand, Object, Object) - Constructor for exception com.singularsys.jep.functions.IllegalParameterException
An exception where two arguments are incompatible.
im(Object) - Method in class com.singularsys.jep.functions.Imaginary
 
im() - Method in class com.singularsys.jep.standard.Complex
Returns the imaginary component of this object
image - Variable in class com.singularsys.jep.parser.Token
The string image of the token.
Imaginary - Class in com.singularsys.jep.functions
 
Imaginary() - Constructor for class com.singularsys.jep.functions.Imaginary
 
implicitMul - Static variable in class com.singularsys.jep.configurableparser.ShuntingYard
 
implicitMul - Variable in class com.singularsys.jep.Jep
Implicit Multiplication option
inBuf - Variable in class com.singularsys.jep.parser.JavaCharStream
 
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(Jep) - Method in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
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.CommentTokenMatcher
 
init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.FunctionGrammarMatcher
 
init(Jep) - Method in interface com.singularsys.jep.configurableparser.matchers.GrammarMatcher
Delayed initialisation, this methods 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 and tokens member from the list of operators in the operator table of the Jep instance.
init(OperatorTableI) - Method in class com.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
Initializes the map and tokens member from the list of operators in the operator table.
init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.RoundBracketGrammarMatcher
 
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 interface com.singularsys.jep.configurableparser.TokenFilter
 
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.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.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.reals.RealEvaluator
 
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.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() - Method in class com.singularsys.jepexamples.applets.Evaluator
The initialization function of the applet.
init() - Method in class com.singularsys.jepexamples.applets.Fractal
Initializes the applet Fractal
init() - Method in class com.singularsys.jepexamples.applets.FunctionPlotter
Initializes the applet FunctionPlotter
init() - Method in class com.singularsys.jepexamples.applets.ParametrisedPlotter
Initializes the applet FunctionPlotter
init() - Method in class com.singularsys.jepexamples.applets.PolarPlotter
Initializes the applet FunctionPlotter
init() - Method in class com.singularsys.jepexamples.consoles.Console
Applet initialization
init() - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest
 
initFunTab() - Method in class org.nfunk.jep.JEP
Deprecated. Creates a new FunctionTable object as funTab.
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
 
initJep() - Method in class com.singularsys.jepexamples.applets.FunctionPlotter
Initialize the jep instance
initJep() - Method in class com.singularsys.jepexamples.applets.ParametrisedPlotter
Initialize the jep instance
initJep() - Method in class com.singularsys.jepexamples.applets.PolarPlotter
Initialize the jep instance
initMultiParse(String) - Method in class com.singularsys.jep.Jep
Initialises the parser for parsing a string with multiple expressions.
initMultiParse(Reader) - Method in class com.singularsys.jep.Jep
Initialises the parser with a Reader for parsing with multiple expressions.
initSymTab() - Method in class org.nfunk.jep.JEP
Deprecated. Creates a new SymbolTable object as symTab.
input_stream - Variable in class com.singularsys.jep.parser.JccParserTokenManager
 
inputLoop() - Method in class com.singularsys.jepexamples.consoles.Console
The main input loop for interactive operation.
inputStream - Variable in class com.singularsys.jep.parser.JavaCharStream
 
insertOperator(EmptyOperatorTable.OperatorKey, Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
Add operator with the same precedence level as an existing operator.
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(Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
Add an operator which a new precedence level which is lower than the existing op
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
 
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 - Class in com.singularsys.jep.misc.functions
Tests if a double value is infinite.
IsInfinite() - Constructor for class com.singularsys.jep.misc.functions.IsInfinite
 
isInfinite() - Method in class com.singularsys.jep.standard.Complex
Returns true if either the real or imaginary component of this Complex is an infinite value.
isLeftBinding() - Method in class com.singularsys.jep.Operator
 
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
 
isNaN() - Method in class com.singularsys.jep.standard.Complex
Returns true if either the real or imaginary component of this Complex is a Not-a-Number (NaN) value.
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
 
isTrapNaN() - Method in class com.singularsys.jep.standard.FastEvaluator
 
isTrapNaN() - Method in class com.singularsys.jep.standard.StandardEvaluator
 
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.
IsType - Class in com.singularsys.jep.misc.functions
Tests if a value is an instance of a specified type.
IsType(Class<?>) - Constructor for class com.singularsys.jep.misc.functions.IsType
 
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
 
itemStateChanged(ItemEvent) - Method in class com.singularsys.jepexamples.applets.FunctionPlotter
 
itemStateChanged(ItemEvent) - Method in class com.singularsys.jepexamples.applets.ParametrisedPlotter
 
itemStateChanged(ItemEvent) - Method in class com.singularsys.jepexamples.applets.PolarPlotter
 
iterator() - Method in class com.singularsys.jep.misc.VariableTableObserver
Returns a list of items this class is observing.
iterator() - Method in class com.singularsys.jep.walkers.SerializableExpression
Returns an iterator for the reverse polish representation of the expression.

J

j - Variable in class com.singularsys.jep.NodeFactory
 
JavaCharStream - Class in com.singularsys.jep.parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
JavaCharStream(Reader, int, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
JavaCharStream(Reader, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
JavaCharStream(Reader) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream, String, int, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream, int, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream, String, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream, String) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream) - Constructor for class com.singularsys.jep.parser.JavaCharStream
Constructor.
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(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(OperatorTable2, String, String) - Constructor for class com.singularsys.jep.misc.javaops.JavaOperatorTable
 
JavaOperatorTable.JavaOperators - Enum in com.singularsys.jep.misc.javaops
 
JccParser - Class in com.singularsys.jep.parser
 
JccParser(InputStream) - Constructor for class com.singularsys.jep.parser.JccParser
Constructor with InputStream.
JccParser(InputStream, String) - Constructor for class com.singularsys.jep.parser.JccParser
Constructor with InputStream and supplied encoding
JccParser(Reader) - Constructor for class com.singularsys.jep.parser.JccParser
Constructor.
JccParser(JccParserTokenManager) - Constructor for class com.singularsys.jep.parser.JccParser
Constructor with generated Token Manager.
JccParserConstants - Interface in com.singularsys.jep.parser
Token literal values and constants.
JccParserTokenManager - Class in com.singularsys.jep.parser
Token Manager.
JccParserTokenManager(JavaCharStream) - Constructor for class com.singularsys.jep.parser.JccParserTokenManager
Constructor.
JccParserTokenManager(JavaCharStream, int) - Constructor for class com.singularsys.jep.parser.JccParserTokenManager
Constructor.
JccParserTreeConstants - Interface in com.singularsys.jep.parser
 
jccpe - Variable in exception com.singularsys.jep.ParseException
 
jep - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
 
jep - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
 
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 - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
 
jep - Variable in class com.singularsys.jepexamples.applets.FunctionCanvas
Math parser
jep - Variable in class com.singularsys.jepexamples.applets.FunctionPlotter
 
jep - Variable in class com.singularsys.jepexamples.applets.ParametrisedCanvas
Math parser
jep - Variable in class com.singularsys.jepexamples.applets.ParametrisedPlotter
 
jep - Variable in class com.singularsys.jepexamples.applets.PolarPlotter
 
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.jeptests.system.JepTest
The parser
jep - Variable in class com.singularsys.jeptests.system.NullWrapTest
 
JEP - Class in org.nfunk.jep
Deprecated. As of 3.0 release, replaced by com.singularsys.jep.Jep
JEP() - Constructor for class org.nfunk.jep.JEP
Deprecated. Creates a new JEP instance with the default settings.
JEP(boolean, boolean, boolean, NumberFactory) - Constructor for class org.nfunk.jep.JEP
Deprecated. Creates a new JEP instance with custom settings.
JepComponent - Interface in com.singularsys.jep
Base interface for all Jep components (parsers, evaluators etc).
JepException - Exception in com.singularsys.jep
Super class of all Jep specific exceptions.
JepException() - Constructor for exception com.singularsys.jep.JepException
 
JepException(String) - Constructor for exception com.singularsys.jep.JepException
 
JepException(String, Throwable) - Constructor for exception com.singularsys.jep.JepException
 
JepException(Throwable) - Constructor for exception com.singularsys.jep.JepException
 
JepTest - Class in com.singularsys.jeptests.system
 
JepTest() - Constructor for class com.singularsys.jeptests.system.JepTest
 
jj_nt - Variable in class com.singularsys.jep.parser.JccParser
Next token.
jjFillToken() - Method in class com.singularsys.jep.parser.JccParserTokenManager
 
jjnewLexState - Static variable in class com.singularsys.jep.parser.JccParserTokenManager
Lex State array.
jjstrLiteralImages - Static variable in class com.singularsys.jep.parser.JccParserTokenManager
Token literal values.
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
 
jjtGetParent() - Method in class com.singularsys.jep.parser.SimpleNode
 
JJTJccParserState - Class in com.singularsys.jep.parser
 
JJTJccParserState() - Constructor for class com.singularsys.jep.parser.JJTJccParserState
 
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
 
jjtree - Variable in class com.singularsys.jep.parser.JccParser
 
jjtSetParent(Node) - Method in interface com.singularsys.jep.parser.Node
This pair of methods are used to inform the node of its parent.
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

keyPressed(KeyEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
keyPressed(KeyEvent) - Method in class com.singularsys.jepexamples.consoles.Console
 
keyReleased(KeyEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
keyReleased(KeyEvent) - Method in class com.singularsys.jepexamples.consoles.Console
Handles keyRelease events
keys - Variable in class com.singularsys.jep.parser.SimpleNode
 
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.
keyTyped(KeyEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
keyTyped(KeyEvent) - Method in class com.singularsys.jepexamples.consoles.Console
 
kind - Variable in class com.singularsys.jep.parser.Token
An integer that describes the kind of this token.

L

labelColor - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Color for labels
labelFont - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
 
lastpos - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
 
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.
LE - Static variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
LE - Static variable in class com.singularsys.jep.functions.Comparative
 
le(Object, Object) - Method 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.
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 error 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.
lexStateNames - Static variable in class com.singularsys.jep.parser.JccParserTokenManager
Lexer state names.
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
 
line - Variable in class com.singularsys.jep.parser.JavaCharStream
 
lineCount - Variable in class com.singularsys.jeptests.system.ExpressionEvalTest
Current line position
LineNumberingNodeFactory - Class in com.singularsys.jep.misc.lineNumbering
A NodeFactory which adds line numbering information to nodes.
LineNumberingNodeFactory(NodeFactory) - Constructor for class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
Decorating constructor
LineNumberingNodeFactory() - Constructor for class com.singularsys.jep.misc.lineNumbering.LineNumberingNodeFactory
Default constructor which decorates a NodeFactory.
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.LineNumberGrammarParserFactory - Class in com.singularsys.jep.misc.lineNumbering
 
LineNumberingShuntingYard.LineNumberGrammarParserFactory() - Constructor for class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard.LineNumberGrammarParserFactory
 
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
 
ListExpression() - Method in class com.singularsys.jep.parser.JccParser
 
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.SpeedTest
Generate string giving approximation to log
log(Object) - Method in class com.singularsys.jep.functions.Logarithm
 
log(Object, Object) - Method in class com.singularsys.jep.misc.functions.LogTwoArg
 
log() - Method in class com.singularsys.jep.standard.Complex
Returns the logarithm of this complex number.
Logarithm - Class in com.singularsys.jep.functions
Log base 10.
Logarithm(boolean) - Constructor for class com.singularsys.jep.functions.Logarithm
Constructor with control for behaviour for complex results
Logarithm() - Constructor for class com.singularsys.jep.functions.Logarithm
Standard constructor, returns complex results for negative arguments
LogarithmTest - Class in com.singularsys.jeptests.unit.functions
 
LogarithmTest() - Constructor for class com.singularsys.jeptests.unit.functions.LogarithmTest
 
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.
logbase2(Object) - Method in class com.singularsys.jep.functions.LogBase2
 
Logical - Class in com.singularsys.jep.functions
Logical operators AND and OR.
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(boolean) - Constructor for class com.singularsys.jep.misc.functions.LogTwoArg
Constructor specifying treatment of negative real values
LogTwoArg() - Constructor for class com.singularsys.jep.misc.functions.LogTwoArg
Defaults constructor, negative real arguments result in complex results.
longValue() - Method in class com.singularsys.jep.standard.Complex
Returns real part.
Lookahead2Iterator<E> - Class in com.singularsys.jep.configurableparser
An iterator which stores the next two tokens.
Lookahead2Iterator(List<E>) - Constructor for class com.singularsys.jep.configurableparser.Lookahead2Iterator
 
Lookahead2Iterator(Iterator<E>) - Constructor for class com.singularsys.jep.configurableparser.Lookahead2Iterator
 
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
 
LSQ - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
LT - Static variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
LT - Static variable in class com.singularsys.jep.functions.Comparative
 
lt(Object, Object) - Method in class com.singularsys.jep.functions.Comparative
 
LT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
LValue() - Method in class com.singularsys.jep.parser.JccParser
 
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.
main(String[]) - Static method in class com.singularsys.jepexamples.applets.Evaluator
This method is called if the applet is run as an standalone program.
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.ExamineResultTypes
 
main(String[]) - Static method in class com.singularsys.jepexamples.diagnostics.ExamineSizes
 
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.ThreadTest
 
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
main(String[]) - Static method in class com.singularsys.jeptests.system.perf.tests.CurVerRunner
 
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.FunctionGrammarMatcher
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(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(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.RoundBracketGrammarMatcher
 
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.
matchers - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
 
matchers - Variable in class com.singularsys.jep.configurableparser.Tokenizer
 
maxNextCharInd - Variable in class com.singularsys.jep.parser.JavaCharStream
 
mc - Variable in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
merge(TreeAnalyzer) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
Merge the result with the argument, producing total for all trees.
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 Third argument is number of characters to return.
Mid() - Constructor for class com.singularsys.jep.functions.strings.Mid
 
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(List<Object>) - Method in class com.singularsys.jep.functions.MinMax
 
MINUS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
MINUSONE - Static variable in class com.singularsys.jep.bigdecimal.BigDecNumberFactory
 
MINUSONE - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
 
mod(Object, Object) - Method in class com.singularsys.jep.functions.Modulus
 
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.
Modulus - Class in com.singularsys.jep.functions
Calculates the modulus x % y of the arguments.
Modulus() - Constructor for class com.singularsys.jep.functions.Modulus
 
mouseClicked(MouseEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
mouseClicked(MouseEvent) - Method in class com.singularsys.jepexamples.applets.RepeatButton
 
mouseDragged(MouseEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
mouseEntered(MouseEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
mouseEntered(MouseEvent) - Method in class com.singularsys.jepexamples.applets.RepeatButton
 
mouseExited(MouseEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
mouseExited(MouseEvent) - Method in class com.singularsys.jepexamples.applets.RepeatButton
 
mouseMoved(MouseEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
mousePressed(MouseEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
mousePressed(MouseEvent) - Method in class com.singularsys.jepexamples.applets.RepeatButton
 
mouseReleased(MouseEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
mouseReleased(MouseEvent) - Method in class com.singularsys.jepexamples.applets.RepeatButton
 
mouseWheelMoved(MouseWheelEvent) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
mul - Variable in class com.singularsys.jep.functions.Cross
 
mul - Variable in class com.singularsys.jep.functions.Dot
 
mul(Object, Object) - Method in class com.singularsys.jep.functions.Multiply
 
mul(Number, Number) - Static method in class com.singularsys.jep.functions.Multiply
 
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(Vector<?>, Object) - Method in class com.singularsys.jep.functions.Multiply
 
mul(Object, Vector<?>) - Method in class com.singularsys.jep.functions.Multiply
 
MUL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
mul(double) - Method in class com.singularsys.jep.standard.Complex
Multiply the complex number with a double value.
mul(Complex) - Method in class com.singularsys.jep.standard.Complex
Multiply the complex number with another complex value.
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
Recognize comments of the form /* ...
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
 
MultiplicativeExpression() - Method in class com.singularsys.jep.parser.JccParser
 
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
 
myFalse - Variable in class com.singularsys.jeptests.system.JepTest
 
myTrue - Variable in class com.singularsys.jeptests.system.JepTest
 

N

name - Variable in class com.singularsys.jep.functions.PostfixMathCommand
 
name - Variable in class com.singularsys.jep.Variable
 
NaN - Static variable in class com.singularsys.jep.functions.PostfixMathCommand
Double.valueOf(Double.NaN)
NARY - Static variable in class com.singularsys.jep.Operator
Trinary ops such as ?
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
 
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
 
NE - Static variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
NE - Static variable in class com.singularsys.jep.functions.Comparative
 
ne(Object, Object) - Method 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.
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, BufferedReader) - Method in class com.singularsys.jep.configurableparser.Tokenizer.StandardTokenizerFactory
 
newInstance(ConfigurableParser, BufferedReader) - Method in interface com.singularsys.jep.configurableparser.TokenizerFactory
 
newInstance(ConfigurableParser) - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard.LineNumberGrammarParserFactory
 
newToken(int, String) - Static method in class com.singularsys.jep.parser.Token
Returns a new Token object, by default.
newToken(int) - Static method in class com.singularsys.jep.parser.Token
 
next - Variable in class com.singularsys.jep.parser.Token
A reference to the next regular (non-special) token from the input stream.
nextCharBuf - Variable in class com.singularsys.jep.parser.JavaCharStream
 
nextCharInd - Variable in class com.singularsys.jep.parser.JavaCharStream
 
nextnext() - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
 
nf - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
 
nf - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
 
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
 
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
 
nodeArity() - Method in class com.singularsys.jep.parser.JJTJccParserState
 
nodeCreated() - Method in class com.singularsys.jep.parser.JJTJccParserState
 
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
 
nodes - Variable in class com.singularsys.jep.configurableparser.ShuntingYard
 
nodeTest(Node, Operator) - Static method in class com.singularsys.jeptests.system.JepTest
 
nodeTest(Node, String) - 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
 
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 - 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.
notInParser() - Method in class com.singularsys.jep.Operator
 
NullLazyLogical - Class in com.singularsys.jep.misc.nullwrapper.functions
Null wrapped versions of the LazyLogical functions.
NullLazyLogical(int) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullLazyLogical
Standard constructor, non zero Numbers will be treated as true and zero Numbers as false.
NullLazyLogical(int, boolean) - Constructor for class com.singularsys.jep.misc.nullwrapper.functions.NullLazyLogical
Constructor which restricts type of arguments.
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
 
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
 
NullWrapperBinary - Class in com.singularsys.jep.misc.nullwrapper
Null wrapped version of a binary function.
NullWrapperBinary(BinaryFunction) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrapperBinary
 
NullWrapperFunctionFactory - Class in com.singularsys.jep.misc.nullwrapper
A static factory to create the appropriate type of wrapped function.
NullWrapperFunctionFactory() - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrapperFunctionFactory
 
NullWrapperFunctionTable - Class in com.singularsys.jep.misc.nullwrapper
A function table which wraps all the functions in an existing table.
NullWrapperFunctionTable(FunctionTable) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrapperFunctionTable
Create a new function table which wraps all the functions in the original table.
NullWrapperNary - Class in com.singularsys.jep.misc.nullwrapper
Wrap an NaryFunction with a new function so that if any argument is null null is returned.
NullWrapperNary(NaryFunction) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrapperNary
 
NullWrapperNaryBinary - Class in com.singularsys.jep.misc.nullwrapper
Wrap a NaryBinaryFunction so that if any argument is null then null is returned.
NullWrapperNaryBinary(NaryBinaryFunction) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrapperNaryBinary
 
NullWrapperPfmc - Class in com.singularsys.jep.misc.nullwrapper
Wrap a general PostfixMathCommand so that if any argument is null the function will return null.
NullWrapperPfmc(PostfixMathCommand) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrapperPfmc
 
NullWrapperUnary - Class in com.singularsys.jep.misc.nullwrapper
Null wrapped version of a unary function.
NullWrapperUnary(UnaryFunction) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrapperUnary
 
NullWrappingOperatorTable - Class in com.singularsys.jep.misc.nullwrapper
An operator table where the operators generally return null if either argument is null.
NullWrappingOperatorTable(OperatorTable2, boolean) - Constructor for class com.singularsys.jep.misc.nullwrapper.NullWrappingOperatorTable
Create a new operator table which wraps all the existing operators in the original table.
NullWrappingOperatorTable.NullWrapperOperators - Enum in com.singularsys.jep.misc.nullwrapper
 
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_vals - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
 
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.
numberOfParameters - Variable in class com.singularsys.jep.functions.PostfixMathCommand
Number of parameters a the 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

ObservingTest - Class in com.singularsys.jeptests.unit
 
ObservingTest() - Constructor for class com.singularsys.jeptests.unit.ObservingTest
 
offX - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Offset of the graph in absolute coords
offY - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Offset of the graph in absolute coords
ONE - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
 
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. 1/x or x^(-1) *
OP_SUBTRACT - Static variable in class com.singularsys.jep.OperatorTable
 
OP_UPLUS - Static variable in class com.singularsys.jep.OperatorTable
 
openNodeScope(Node) - Method in class com.singularsys.jep.parser.JJTJccParserState
 
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.
OperatorTable - Class in com.singularsys.jep
 
OperatorTable() - Constructor for class com.singularsys.jep.OperatorTable
 
OperatorTable2 - Class in com.singularsys.jep
An operator table where operators are identified by enums.
OperatorTable2() - Constructor for class com.singularsys.jep.OperatorTable2
 
OperatorTable2(OperatorTable2) - Constructor for class com.singularsys.jep.OperatorTable2
Decorator constructor.
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
 
OperatorToken - Class in com.singularsys.jep.configurableparser.tokens
A token representing an operator.
OperatorToken(List<Operator>) - Constructor for class com.singularsys.jep.configurableparser.tokens.OperatorToken
 
OperatorToken(Operator[]) - Constructor for class com.singularsys.jep.configurableparser.tokens.OperatorToken
 
OperatorToken(Operator) - Constructor for class com.singularsys.jep.configurableparser.tokens.OperatorToken
 
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 - 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.NullLazyLogical
 
OR - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
OrExpression() - Method in class com.singularsys.jep.parser.JccParser
 
org.nfunk.jep - package org.nfunk.jep
Contains the JEP class for supporting backwards compatibility to JEP 2.x
ot - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
 
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
 

P

paint(Graphics) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Provides double buffering support and calls paintCanvas.
paint(Graphics) - Method in class com.singularsys.jepexamples.applets.FractalCanvas
 
paintAxes(Graphics) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Paints the axes for the graph.
paintCanvas(Graphics) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Paint the canvas.
paintCurve(Graphics) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Paint the curve
paintCurve(Graphics) - Method in class com.singularsys.jepexamples.applets.FunctionCanvas
Paints the graph of the function.
paintCurve(Graphics) - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
Paints the graph of the function.
paintGrid(Graphics) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
paintScale(Graphics) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
paintTime(Graphics, long, long) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Paints the elapse time
paintWhite(Graphics) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Fills the background with white.
ParametrisedCanvas - Class in com.singularsys.jepexamples.applets
This class plots parametrised curves specified by two Jep expressions.
ParametrisedCanvas(Jep, Variable, double, double, int) - Constructor for class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
ParametrisedPlotter - Class in com.singularsys.jepexamples.applets
This applet is a demonstration of the possible applications of the Jep mathematical expression parser.
ParametrisedPlotter() - Constructor for class com.singularsys.jepexamples.applets.ParametrisedPlotter
 
parent - Variable in class com.singularsys.jep.parser.SimpleNode
 
parse(Reader) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
Parse a single equation.
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.
parse(Reader) - Method in class com.singularsys.jep.Jep
Parses the input from a Reader.
parse(String) - Method in class com.singularsys.jep.Jep
Parses a string.
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.
ParseException - Exception in com.singularsys.jep
Exception thrown at parse time.
ParseException() - Constructor for exception com.singularsys.jep.ParseException
 
ParseException(String) - Constructor for exception com.singularsys.jep.ParseException
 
ParseException(String, int, int) - Constructor for exception com.singularsys.jep.ParseException
 
ParseException(String, Throwable) - Constructor for exception com.singularsys.jep.ParseException
 
ParseException(Throwable) - Constructor for exception com.singularsys.jep.ParseException
 
ParseException - Exception in com.singularsys.jep.parser
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception com.singularsys.jep.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception com.singularsys.jep.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception com.singularsys.jep.parser.ParseException
Constructor with message.
parseExpression(String) - Method in class org.nfunk.jep.JEP
Deprecated. Parses the expression.
ParsePerfTest - Class in com.singularsys.jeptests.system.perf.tests
Parses an expression nIterations times.
ParsePerfTest(String, String, int, boolean) - Constructor for class com.singularsys.jeptests.system.perf.tests.ParsePerfTest
 
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 - Variable in class com.singularsys.jep.parser.SimpleNode
 
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
 
parseStream(Reader, Jep, ArrayList<String>) - Method in class com.singularsys.jep.parser.JccParser
 
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 GrammerMatchers
parseSubExpression() - Method in class com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard
 
peekNext() - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
 
peekNode() - Method in class com.singularsys.jep.parser.JJTJccParserState
 
PerfResult - Class in com.singularsys.jeptests.system.perf
Stores a single performance test result and contains logic to write this to a DB.
PerfResult(PerfTest, double, double) - Constructor for class com.singularsys.jeptests.system.perf.PerfResult
 
PerfRunner - Class in com.singularsys.jeptests.system.perf
Runs a set of performance tests and stores the results in a database.
PerfRunner() - Constructor for class com.singularsys.jeptests.system.perf.PerfRunner
 
PerfTest - Class in com.singularsys.jeptests.system.perf
Base class for a single performance test.
PerfTest(String, String, int) - Constructor for class com.singularsys.jeptests.system.perf.PerfTest
Sets up the name and number of iterations.
PLUS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
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
 
PolarPlotter - Class in com.singularsys.jepexamples.applets
This applet is a demonstration of the possible applications of the Jep mathematical expression parser.
PolarPlotter() - Constructor for class com.singularsys.jepexamples.applets.PolarPlotter
 
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).
popNode() - Method in class com.singularsys.jep.parser.JJTJccParserState
 
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
 
popup - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
A popup menu
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
 
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
 
Power - Class in com.singularsys.jep.functions
Computes the power of an 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(Object, Object) - Method in class com.singularsys.jep.functions.Power
 
power(Number, Number) - Method in class com.singularsys.jep.functions.Power
 
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(double, int) - Static method in class com.singularsys.jep.functions.Power
A fast routine for computing integer powers.
POWER - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
power(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).
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
PowerExpression() - Method in class com.singularsys.jep.parser.JccParser
 
PreDec - Class in com.singularsys.jep.misc.javaops
Java style --x operator.
PreDec() - Constructor for class com.singularsys.jep.misc.javaops.PreDec
 
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 - Static variable in class com.singularsys.jep.Operator
prefix operators -x
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.
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
 
PreInc - Class in com.singularsys.jep.misc.javaops
Java style ++x operator.
PreInc() - Constructor for class com.singularsys.jep.misc.javaops.PreInc
 
prevCharIsCR - Variable in class com.singularsys.jep.parser.JavaCharStream
 
prevCharIsLF - Variable in class com.singularsys.jep.parser.JavaCharStream
 
print(Node, PrintStream) - Method in class com.singularsys.jep.Jep
Print an expression to a given stream.
print(Node) - Method in class com.singularsys.jep.Jep
Print an expression to System.out.
print() - Method in class com.singularsys.jep.Jep
Print the last parsed expression to System.out.
print(Node, PrintStream) - Method in class com.singularsys.jep.PrintVisitor
Prints the tree descending from node with lots of brackets or specified stream.
print(Node) - Method in class com.singularsys.jep.PrintVisitor
Prints on System.out.
print(Object) - Method in class com.singularsys.jepexamples.consoles.Console
Prints a line of text no newline.
PRINT_RESULTS - Static variable in class com.singularsys.jeptests.system.JepTest
 
PRINT_RESULTS - Static variable in class com.singularsys.jeptests.system.NullWrapTest
 
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(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
 
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.
println(Node, PrintStream) - Method in class com.singularsys.jep.Jep
Print an expression to a given stream with a newline.
println(Node) - Method in class com.singularsys.jep.Jep
Print an expression to System.out with a new line.
println() - Method in class com.singularsys.jep.Jep
Print the last parsed expression to System.out with a new line.
println(Node, PrintStream) - Method in class com.singularsys.jep.PrintVisitor
Prints the tree descending from node with a newline at end.
println(Node) - Method in class com.singularsys.jep.PrintVisitor
Prints on System.out.
println(Object) - Method in class com.singularsys.jepexamples.consoles.Console
Prints a line of text no newline.
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.
printOutput(SpeedTest, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
 
printOutput(SpeedTest, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
 
printOutput(SpeedTest, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.RatioOutputter
 
printOutput(SpeedTest, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.RatioOutputter
 
printOutput(SpeedTest, String, String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.TabOutputter
 
printOutput(SpeedTest, String[], String[], long[]) - Method in class com.singularsys.jepexamples.diagnostics.SpeedTest.TabOutputter
 
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.
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.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 an list access in form a[3] or for multidimensional access use the list syntax.
PrintVisitor.StdElePrintRule() - Constructor for class com.singularsys.jep.PrintVisitor.StdElePrintRule
 
PrintVisitor.StdListPrintRule - Class in com.singularsys.jep
Prints a list of elements using '[' and ']' as delimiters and ',' as a separators.
PrintVisitor.StdListPrintRule() - Constructor for class com.singularsys.jep.PrintVisitor.StdListPrintRule
 
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
 
pushNode(Node) - Method in class com.singularsys.jep.parser.JJTJccParserState
 
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
 
re(Object) - Method in class com.singularsys.jep.functions.Real
 
re() - Method in class com.singularsys.jep.standard.Complex
Returns the real component of this object
ReadByte() - Method in class com.singularsys.jep.parser.JavaCharStream
 
readChar() - Method in class com.singularsys.jep.parser.JavaCharStream
Read a character.
readExternal(ObjectInput) - Method in class com.singularsys.jep.walkers.SerializableExpression
 
Real - Class in com.singularsys.jep.functions
 
Real() - Constructor for class com.singularsys.jep.functions.Real
 
RealBinaryFunction - Interface in com.singularsys.jep.reals
 
RealConstant() - Method in class com.singularsys.jep.parser.JccParser
 
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
 
RealNaryFunction - Interface in com.singularsys.jep.reals
 
RealNullaryFunction - Interface in com.singularsys.jep.reals
 
RealUnaryFunction - Interface in com.singularsys.jep.reals
 
reciprocal() - Method in class com.singularsys.jep.standard.Complex
Returns the reciprocal of a complex number 1/z.
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.
ReInit(Reader, int, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(Reader) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(InputStream) - Method in class com.singularsys.jep.parser.JavaCharStream
Reinitialise.
ReInit(InputStream) - Method in class com.singularsys.jep.parser.JccParser
Reinitialise.
ReInit(InputStream, String) - Method in class com.singularsys.jep.parser.JccParser
Reinitialise.
ReInit(Reader) - Method in class com.singularsys.jep.parser.JccParser
Reinitialise.
ReInit(JccParserTokenManager) - Method in class com.singularsys.jep.parser.JccParser
Reinitialise.
ReInit(JavaCharStream) - Method in class com.singularsys.jep.parser.JccParserTokenManager
Reinitialise parser.
ReInit(JavaCharStream, int) - Method in class com.singularsys.jep.parser.JccParserTokenManager
Reinitialise parser.
reinitializeComponents() - Method in class com.singularsys.jep.Jep
Calls the init method of all components.
RelationalExpression() - Method in class com.singularsys.jep.parser.JccParser
 
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(String) - Method in class com.singularsys.jep.FunctionTable
 
remove(Object) - Method in class com.singularsys.jep.misc.FunctionSet
 
remove(String) - Method in class com.singularsys.jep.VariableTable
Remove a variable with a given name from the table.
remove(Variable) - Method in class com.singularsys.jep.VariableTable
Remove a variable 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
 
removeOperator(Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
Remove a give operator from the table
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.OperatorTable
Remove an operator from the table.
RepeatButton - Class in com.singularsys.jepexamples.applets
 
RepeatButton(String) - Constructor for class com.singularsys.jepexamples.applets.RepeatButton
 
replaceOperator(Operator, Operator) - Method in class com.singularsys.jep.EmptyOperatorTable
Replace a give operator with a new one.
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.OperatorTable
replace an existing operator by a new one.
rescaled() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Called when scale, or offset changed Default action is to call repaint
rescaled() - Method in class com.singularsys.jepexamples.applets.FunctionCanvas
 
rescaled() - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
reset() - Method in class com.singularsys.jep.parser.JJTJccParserState
 
reset() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
resetCanvas() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
resized() - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Called when canvas sized changes Default action is to call repaint
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, Jep, ArrayList<String>) - Method in class com.singularsys.jep.parser.JccParser
Restart the parse with the given stream.
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
 
Right - Class in com.singularsys.jep.functions.strings
Extract the left 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)
RightExpression() - Method in class com.singularsys.jep.parser.JccParser
 
RInt - Class in com.singularsys.jep.functions
A PostfixMathCommandI which rounds a number to the closest integer.
RInt() - Constructor for class com.singularsys.jep.functions.RInt
 
RIntTest - Class in com.singularsys.jeptests.unit.functions
 
RIntTest() - Constructor for class com.singularsys.jeptests.unit.functions.RIntTest
 
rootNode() - Method in class com.singularsys.jep.parser.JJTJccParserState
 
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.RInt
 
Round - Class in com.singularsys.jep.functions
A PostfixMathCommandI which rounds a number.
Round() - Constructor for class com.singularsys.jep.functions.Round
 
round(Object) - Method in class com.singularsys.jep.functions.Round
 
round(double) - Method in class com.singularsys.jep.functions.Round
The rounding method which implements the core rounding operation used in this class.
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
 
RoundTest - Class in com.singularsys.jeptests.unit.functions
 
RoundTest() - Constructor for class com.singularsys.jeptests.unit.functions.RoundTest
 
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
 
RSQ - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
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.Assign
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.BinaryFunction
Calls BinaryFunction.eval(Object, Object)
run(Stack<Object>) - Method in interface com.singularsys.jep.functions.CallbackEvaluationI.Runnable
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.If
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.LazyLogical
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.List
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.NaryBinaryFunction
Calls NaryBinaryFunction.eval(Object, Object)
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.Random
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Real
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Round
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Str
 
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
Calls UnaryFunction.eval(Object)
run(Stack<Object>) - Method in class com.singularsys.jep.misc.bitwise.BitAnd
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.bitwise.BitComp
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.bitwise.BitOr
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.bitwise.BitXor
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.bitwise.LShift
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.bitwise.RShift
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.bitwise.URShift
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.ExtendedOperatorSet.Factorial
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.functions.FromBase
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.functions.ToBase
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.javaops.AbstractInc
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.javaops.OpEquals
 
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.NullLazyLogical
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrapperPfmc
 
run(Stack<Object>) - Method in interface com.singularsys.jep.PostfixMathCommandI
Run the function on the stack.
run(String[]) - Method in class com.singularsys.jepexamples.consoles.Console
The main entry point with command line arguments
run() - Method in class com.singularsys.jeptests.system.perf.PerfRunner
Runs the set of tests defined
run() - Method in class com.singularsys.jeptests.system.perf.PerfTest
Runs the test which is timed by the PerfRunner class
run() - Method in class com.singularsys.jeptests.system.perf.tests.EvalPerfTest
Evaluate the expression nIterations times.
run() - Method in class com.singularsys.jeptests.system.perf.tests.ParsePerfTest
Parse the expression nIterations times.
runTests(SpeedTest) - Static method in class com.singularsys.jepexamples.diagnostics.SpeedTest
A standard set of tests.

S

sb - Variable in class com.singularsys.jep.PrintVisitor
 
scaleFont - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
 
scaleX - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Scaling of the graph in x and y directions
scaleY - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Scaling of the graph in x and y directions
scan(Reader) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
Scan the input.
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.
sec(Object) - Method in class com.singularsys.jep.functions.Secant
 
Secant - Class in com.singularsys.jep.functions
The secant function. sec(x)=1/cos(x).
Secant() - Constructor for class com.singularsys.jep.functions.Secant
 
SELF_INVERSE - Static variable in class com.singularsys.jep.Operator
self inverse operators like -(-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 semi-colon.
sentinel - Static variable in class com.singularsys.jep.configurableparser.ShuntingYard
 
SerializableExpression - Class in com.singularsys.jep.walkers
A serializable representation of an expression.
SerializableExpression(Node) - Constructor for class com.singularsys.jep.walkers.SerializableExpression
Construct a SerializableExpression from a given node
SerializableExpression() - Constructor for class com.singularsys.jep.walkers.SerializableExpression
Constructor used by the serializable mechanism.
SerializableExpression.Constant - Class in com.singularsys.jep.walkers
 
SerializableExpression.Element - Interface in com.singularsys.jep.walkers
interface used in internal representation of expression
SerializableExpression.Function - Class in com.singularsys.jep.walkers
 
SerializableExpression.Operator - Class in com.singularsys.jep.walkers
 
SerializableExpression.Variable - Class in com.singularsys.jep.walkers
 
SerializationTest - Class in com.singularsys.jeptests.system
 
SerializationTest() - Constructor for class com.singularsys.jeptests.system.SerializationTest
 
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
Copies the values from the parameter object to this object
set(double, double) - Method in class com.singularsys.jep.standard.Complex
Sets the real and imaginary values of the object.
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.
setAllowUndeclared(boolean) - Method in class org.nfunk.jep.JEP
Deprecated. Sets the value for the undeclared variables option.
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.standard.StandardOperatorTable2
Sets the standard set of pfmc's for basic operators.
setBDPfmcs() - Method in class com.singularsys.jep.bigdecimal.BigDecOperatorTable
 
setBinaryInverseOp(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
 
setBinaryInverseOp(Operator) - Method in class com.singularsys.jep.Operator
 
setBinaryInverseOp(int, int) - Method in class com.singularsys.jep.OperatorTable
 
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 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.
setDebugStream(PrintStream) - Method in class com.singularsys.jep.parser.JccParserTokenManager
Set debug output.
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(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
 
setDistributiveOver(Operator) - Method in class com.singularsys.jep.Operator
 
setDistributiveOver(int, int) - Method in class com.singularsys.jep.OperatorTable
 
setEvaluator(Evaluator) - Method in class com.singularsys.jep.ComponentSet
 
setExpression(Node) - Method in class com.singularsys.jepexamples.applets.FunctionCanvas
 
setExpressionString(String) - Method in class com.singularsys.jepexamples.applets.FractalCanvas
Parses a new expression
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.
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
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
 
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.
setImplicitMul(boolean) - Method in class org.nfunk.jep.JEP
Deprecated. 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.
setInitialTokenManagerState(int) - Method in class com.singularsys.jep.parser.JccParser
Sets the initial state that the token manager is in.
setInverseOp(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
 
setInverseOp(Operator) - Method in class com.singularsys.jep.Operator
 
setInverseOp(int, int) - Method in class com.singularsys.jep.OperatorTable
 
setIsConstant(boolean) - Method in class com.singularsys.jep.Variable
Setting this property to true ensures that the value will not be changed.
setIterations(int) - Method in class com.singularsys.jepexamples.applets.FractalCanvas
 
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
Key code used to identify the operator in the operator table.
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
 
setMaxLen(int) - Method in class com.singularsys.jep.PrintVisitor
Sets the maximum length printed per line.
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 interface com.singularsys.jep.PostfixMathCommandI
 
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
 
setNumOps(int) - Method in class com.singularsys.jep.OperatorTable
 
setOffset(int, int) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
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(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.
setPosition(int, int) - Method in exception com.singularsys.jep.ParseException
 
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(EmptyOperatorTable.OperatorKey[][]) - Method in class com.singularsys.jep.EmptyOperatorTable
Sets the precedence of all operators at one time.
setPrecedenceTable(int[][]) - Method in class com.singularsys.jep.OperatorTable
Sets the precedence of all operators at one time.
setPrintVisitor(PrintVisitor) - Method in class com.singularsys.jep.ComponentSet
 
setPsudoPfmcs() - Method in class com.singularsys.jep.standard.StandardOperatorTable2
 
setRange(double, double, int) - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
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
Sets the real component of the object
setRhsImpMul(boolean) - Method in class com.singularsys.jep.configurableparser.tokens.SymbolToken
 
setRootOp(EmptyOperatorTable.OperatorKey, EmptyOperatorTable.OperatorKey) - Method in class com.singularsys.jep.EmptyOperatorTable
 
setRootOp(Operator) - Method in class com.singularsys.jep.Operator
 
setRootOp(int, int) - Method in class com.singularsys.jep.OperatorTable
 
setScale(double, double) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
setSpecialPfmcs() - Method in class com.singularsys.jep.standard.StandardOperatorTable2
Sets the standard set of pfmc's for special operators '=', dot product, .
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.
setT(Variable) - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
setTabSize(int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
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
 
setTrapNaN(boolean) - Method in class com.singularsys.jep.standard.FastEvaluator
 
setTrapNaN(boolean) - Method in class com.singularsys.jep.standard.StandardEvaluator
 
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.
setTraverse(boolean) - Method in class org.nfunk.jep.JEP
Deprecated. Sets the value of the traverse option. setTraverse is useful for debugging purposes.
setUp() - Method in class com.singularsys.jeptests.system.BugsTest
 
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.perf.PerfTest
 
setup() - Method in class com.singularsys.jeptests.system.perf.tests.EvalPerfTest
Set up the parser and parse the expression
setup() - Method in class com.singularsys.jeptests.system.perf.tests.ParsePerfTest
Set 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.unit.bigdecimal.functions.BigDecAddTest
 
setUp() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
 
setUp() - Method in class com.singularsys.jeptests.unit.ObservingTest
 
setUp() - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
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.
setValue(Object, Observer) - 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
Sets the name of the variable.
setVariableFactory(VariableFactory) - Method in class com.singularsys.jep.ComponentSet
 
setVariableFactory(VariableFactory) - Method in class com.singularsys.jep.VariableTable
 
setVariableTable(VariableTable) - Method in class com.singularsys.jep.ComponentSet
 
setXExpression(Node) - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
setYExpression(Node) - Method in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
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.FunctionTable
Returns a new shallow copy of this function table.
shallowCopy() - Method in class com.singularsys.jep.misc.CaseInsensitiveFunctionTable
 
shallowCopy() - Method in class com.singularsys.jep.standard.StandardFunctionTable
 
shiftCanvas(int, int) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
 
showGrid - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Whether to show calculation times
showScale - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Whether to show scales
showTime - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
Whether to show calculation times
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
 
ShuntingYard.ShuntingYardGrammarParserFactory - Class in com.singularsys.jep.configurableparser
Factory creating new ShuntingYard instances.
ShuntingYard.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
 
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
 
SimpleNode(int) - Constructor for class com.singularsys.jep.parser.SimpleNode
 
SimpleNode(Parser, int) - Constructor for class com.singularsys.jep.parser.SimpleNode
 
sin(Object) - Method in class com.singularsys.jep.functions.Sine
 
sin() - Method in class com.singularsys.jep.standard.Complex
Returns the sine of this complex number.
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
 
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(Object) - Method in class com.singularsys.jep.functions.SineH
 
sinh() - Method in class com.singularsys.jep.standard.Complex
 
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
Recognize comments of the form /// ...
slashStarCommentMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
Recognize comments of the form /* ...
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.
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.BDConfig(String, MathContext) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.BDConfig
 
SpeedTest.EvaluationConfig - Class in com.singularsys.jepexamples.diagnostics
Basic class to set the evaluation context
SpeedTest.EvaluationConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
 
SpeedTest.JepConfig - Class in com.singularsys.jepexamples.diagnostics
Standard Jep configuration (with FastEvaluator)
SpeedTest.JepConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.JepConfig
 
SpeedTest.OldConfig - Class in com.singularsys.jepexamples.diagnostics
Configuration using the StandardEvaluator
SpeedTest.OldConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.OldConfig
 
SpeedTest.Outputter - Class in com.singularsys.jepexamples.diagnostics
Different output methods
SpeedTest.Outputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.Outputter
 
SpeedTest.RatioOutputter - Class in com.singularsys.jepexamples.diagnostics
Print detailed ratios for each run.
SpeedTest.RatioOutputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.RatioOutputter
 
SpeedTest.RealConfig - Class in com.singularsys.jepexamples.diagnostics
Configuration using the RealEvaluator
SpeedTest.RealConfig(String) - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.RealConfig
 
SpeedTest.TabOutputter - Class in com.singularsys.jepexamples.diagnostics
Print output tab separated.
SpeedTest.TabOutputter() - Constructor for class com.singularsys.jepexamples.diagnostics.SpeedTest.TabOutputter
 
split(String) - Method in class com.singularsys.jepexamples.consoles.Console
Splits a string on spaces.
sqrt(Object) - Method in class com.singularsys.jep.functions.SquareRoot
Calculates the square root of the parameter.
sqrt() - Method in class com.singularsys.jep.standard.Complex
Calculates the square root of this object.
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
If strict is true then returns NaN for negative real arguments.
st - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest.EvaluationConfig
 
stack - Variable in class com.singularsys.jep.standard.StandardEvaluator
 
stack - Variable in class com.singularsys.jep.walkers.PostfixEvaluator
 
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
 
StandardOperatorTable - Class in com.singularsys.jep.standard
The standard operator table used by Jep.
StandardOperatorTable() - Constructor for class com.singularsys.jep.standard.StandardOperatorTable
Create the standard set of operators.
StandardOperatorTable2 - Class in com.singularsys.jep.standard
The standard operator table 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
 
StandardParser - Class in com.singularsys.jep.parser
 
StandardParser() - Constructor for class com.singularsys.jep.parser.StandardParser
 
StandardVariableTable - Class in com.singularsys.jep.standard
A VariableTable which defines some constant values.
StandardVariableTable(VariableFactory) - Constructor for class com.singularsys.jep.standard.StandardVariableTable
 
Start() - Method in class com.singularsys.jep.parser.JccParser
GRAMMAR START
staticFlag - Static variable in class com.singularsys.jep.parser.JavaCharStream
Whether parser is static.
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
 
strategy - Variable in class com.singularsys.jepexamples.applets.AbstractCanvas
BufferStratergy to use
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(double) - Constructor for class com.singularsys.jep.functions.StrictNaturalLogarithm
Logarithm to any other base.
StrictNaturalLogarithm() - Constructor for class com.singularsys.jep.functions.StrictNaturalLogarithm
Standard base-e logarithm.
STRING_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
RegularExpression Id.
StringFunctionSet - Class in com.singularsys.jep.functions.strings
Adds string functions left, right, lower, upper, substring, len, mid, trim.
StringFunctionSet() - Constructor for class com.singularsys.jep.functions.strings.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(Object, Object) - Method in class com.singularsys.jep.functions.Subtract
 
sub(Vector<?>, Vector<?>) - Method in class com.singularsys.jep.functions.Subtract
 
sub(Number, Number) - Static method in class com.singularsys.jep.functions.Subtract
 
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(Complex) - Method in class com.singularsys.jep.standard.Complex
Adds the complex number with another complex value.
substitute(Node, String, Node) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
Substitutes all occurrences of variable var with replacement.
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(Node, String[], Node[]) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
Substitutes all occurrences of a set of variable var with a set of replacements.
substitute(Node, String[], Object[]) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
Substitute a set of names with a set of values.
substitute(Node, String, Object) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
Substitute a single variable with a given value.
substitute(Node, String[], String[]) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
Substitute a set of variable names with a new set of names.
SubstitutionVisitor - Class in com.singularsys.jep.walkers
Allows substitution of a given variable with an expression tree.
SubstitutionVisitor(Jep) - Constructor for class com.singularsys.jep.walkers.SubstitutionVisitor
 
SubstitutionVisitor() - Constructor for class com.singularsys.jep.walkers.SubstitutionVisitor
Constructor to uses as a JepComponent.
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 - 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.
sum(List<Object>) - Method in class com.singularsys.jep.functions.VSum
Returns the sum of a set of values.
summary() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
A short summary string
supressExaminingChildren(Node) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
 
supressExaminingChildren(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
 
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
 
SwitchTo(int) - Method in class com.singularsys.jep.parser.JccParserTokenManager
Switch to specified lex state.
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

t - Variable in class com.singularsys.jepexamples.applets.ParametrisedCanvas
"x" variable
ta - Variable in class com.singularsys.jepexamples.consoles.Console
Text area for user input in applets.
table - Variable in class com.singularsys.jep.FunctionTable
 
table - Variable in class com.singularsys.jep.VariableTable
 
tableCleared(VariableTable) - Method in class com.singularsys.jep.misc.VariableTableObserver
Called when the variable table has been cleared.
tabSize - Variable in class com.singularsys.jep.parser.JavaCharStream
 
tan(Object) - Method in class com.singularsys.jep.functions.Tangent
 
tan() - Method in class com.singularsys.jep.standard.Complex
Returns the tangent of this complex number.
Tangent - Class in com.singularsys.jep.functions
The tan function.
Tangent() - Constructor for class com.singularsys.jep.functions.Tangent
 
TanH - Class in com.singularsys.jep.functions
Hyperbolic tan.
TanH() - Constructor for class com.singularsys.jep.functions.TanH
 
tanh(Object) - Method in class com.singularsys.jep.functions.TanH
 
tanh() - Method in class com.singularsys.jep.standard.Complex
 
tearDown() - Method in class com.singularsys.jeptests.unit.ObservingTest
 
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?
TernaryConditional - Class in com.singularsys.jep.misc.javaops
 
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?
TernaryOperator(String, String, String, PostfixMathCommandI, int) - Constructor for class com.singularsys.jep.configurableparser.TernaryOperator
 
TernaryOperator(String, String, String, PostfixMathCommandI, int, int) - Constructor for class com.singularsys.jep.configurableparser.TernaryOperator
 
TernaryOperator.RhsTernaryOperator - Class in com.singularsys.jep.configurableparser
 
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
 
test2008_08_13() - Method in class com.singularsys.jeptests.system.BugsTest
Fails as the minus sign is actually unicode U+2013 TODO maybe should allow alternative symbols
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
 
test31Jan2010() - Method in class com.singularsys.jeptests.system.BugsTest
 
testAddOp() - Method in class com.singularsys.jeptests.system.CPTest
Tests the addOperator method
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.
testBinom() - Method in class com.singularsys.jeptests.system.JepTest
 
testBitwise() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
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.
testBug61() - Method in class com.singularsys.jeptests.system.CPTest
 
testBug72() - Method in class com.singularsys.jeptests.system.BugsTest
Test bug #72 Handling of Constants.
testBug84() - Method in class com.singularsys.jeptests.system.BugsTest
 
testCaseString() - Method in class com.singularsys.jeptests.system.JepTest
 
testCaseString() - Method in class com.singularsys.jeptests.system.RealEvalTest
 
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
 
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
 
testConfParser() - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
 
testConstantsLW() - Method in class com.singularsys.jeptests.system.SerializationTest
 
testConstantsSerialised() - Method in class com.singularsys.jeptests.system.SerializationTest
 
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
 
testDottedIdentifiers() - Method in class com.singularsys.jeptests.system.BugsTest
 
testEle() - Method in class com.singularsys.jeptests.unit.functions.EleTest
 
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
 
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
 
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
testExpr() - Method in class com.singularsys.jeptests.system.SerializationTest
Test simple serialization
testExpressionsSpanningLines() - Method in class com.singularsys.jeptests.system.LineNumberingTest
 
testExtended() - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
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
 
testIf() - Method in class com.singularsys.jeptests.system.JepTest
 
testImplicitMul() - Method in class com.singularsys.jeptests.system.JepTest
 
testImport() - Method in class com.singularsys.jeptests.system.SerializationTest
Test passing serialized objects between two jep instances
testIncrement() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
testIt() - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
testJepConfigParser() - Method in class com.singularsys.jeptests.system.SerializationTest
 
testJepInstance(Jep, String) - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
Loads the file specified in fileName.
testJepStdParser() - Method in class com.singularsys.jeptests.system.SerializationTest
 
testLazyLogical() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
testLazyLogical() - 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
testLineNumbers() - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
testListAccess() - Method in class com.singularsys.jeptests.system.JepTest
 
testListAccess() - 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.RealEvalTest
 
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
 
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
 
testMultiDimArrayPrint() - Method in class com.singularsys.jeptests.system.CPTest
 
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
 
testMultiLineWhiteSpace() - Method in class com.singularsys.jeptests.unit.TokenizerTest
 
testMultiplyBug() - Method in class com.singularsys.jeptests.system.JepTest
 
testNaN() - Method in class com.singularsys.jeptests.system.JepTest
 
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
 
testNull() - Method in class com.singularsys.jeptests.system.JepTest
 
testNull() - Method in class com.singularsys.jeptests.system.PostfixEvalTest
 
testNullMathContext() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecAddTest
 
testNullSafeEquals() - Method in class com.singularsys.jeptests.system.NullWrapTest
 
testNullWrap() - Method in class com.singularsys.jeptests.system.NullWrapTest
 
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
 
testNumParam() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
testNumParam() - Method in class com.singularsys.jeptests.system.JepTest
 
testObserving() - Method in class com.singularsys.jeptests.unit.ObservingTest
 
testOpEquals() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
testOverlappingNames() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
testParseException() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
testParseException() - Method in class com.singularsys.jeptests.system.JepTest
Tests whether a parse exceptions are thrown when they should be.
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
testRead() - Method in class com.singularsys.jeptests.system.SerializationTest
 
testReals() - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
 
testRecursiveMacroFunction() - Method in class com.singularsys.jeptests.system.JepTest
 
testRounding() - Method in class com.singularsys.jeptests.unit.functions.RIntTest
 
testRounding() - Method in class com.singularsys.jeptests.unit.functions.RoundTest
 
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
 
testSerializableExpression() - Method in class com.singularsys.jeptests.system.SerializationTest
Test passing serialized objects between two jep instances
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!!!
testSetAllowUndeclared() - Method in class com.singularsys.jeptests.system.JepTest
Tests whether allowUndeclared is working properly.
testSetAllowUndeclared() - Method in class com.singularsys.jeptests.system.PostfixEvalTest
 
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
 
testSizes() - Method in class com.singularsys.jeptests.system.SerializationTest
 
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
 
testStandard() - Method in class com.singularsys.jeptests.system.ExpressionEvalTest
 
testStringNumber() - Method in class com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
 
testStringRep() - Method in class com.singularsys.jeptests.system.SerializationTest
 
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
 
testSwitch() - Method in class com.singularsys.jeptests.system.JepTest
 
testTernary() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
testToBase() - Method in class com.singularsys.jeptests.system.BugsTest
 
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
 
testUnary(PostfixMathCommand, double, double) - Static method in class com.singularsys.jeptests.unit.functions.Utilities
Utility method for testing unary methods
testUpperCaseOperator() - Method in class com.singularsys.jeptests.system.ExtendedParserTest
 
testVariableTable() - Method in class com.singularsys.jeptests.system.SerializationTest
 
testWrite() - Method in class com.singularsys.jeptests.system.SerializationTest
 
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
 
ThreadTest - Class in com.singularsys.jepexamples.diagnostics
Testing thread safety, using Taylor approximation to ln(x).
ThreadTest() - Constructor for class com.singularsys.jepexamples.diagnostics.ThreadTest
 
throwAtLeastOneExcep() - Method in class com.singularsys.jep.functions.ArrayFunctionBase
 
tk - Variable in class com.singularsys.jep.configurableparser.ConfigurableParser
 
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.
toBase(long, int) - Method in class com.singularsys.jep.misc.functions.ToBase
Converts a number to a give base.
toBase(double, int, int) - Method in class com.singularsys.jep.misc.functions.ToBase
Converts a number to a give base.
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(String) - Constructor for class com.singularsys.jep.configurableparser.tokens.Token
 
token - Variable in class com.singularsys.jep.parser.JccParser
Current token.
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_source - Variable in class com.singularsys.jep.parser.JccParser
Generated Token Manager.
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 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.
Tokenizer.StandardTokenizerFactory() - Constructor for class com.singularsys.jep.configurableparser.Tokenizer.StandardTokenizerFactory
 
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 - Error in com.singularsys.jep.parser
Token Manager Error.
TokenMgrError() - Constructor for error com.singularsys.jep.parser.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error com.singularsys.jep.parser.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error com.singularsys.jep.parser.TokenMgrError
Full Constructor.
tokens - Variable in class com.singularsys.jep.configurableparser.Tokenizer
 
toNode(Jep) - Method in class com.singularsys.jep.walkers.SerializableExpression
Convert to a node in a given context.
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.matchers.OperatorTokenMatcher
 
toString(List<Token>) - Static method in class com.singularsys.jep.configurableparser.Tokenizer
 
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(Object...) - Method in class com.singularsys.jep.functions.PostfixMathCommand
Return a string representation of the function with its arguments.
toString() - Method in class com.singularsys.jep.FunctionTable
 
toString(Node) - Method in class com.singularsys.jep.Jep
Returns a string representation of an expression.
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(String) - Method in class com.singularsys.jep.parser.SimpleNode
 
toString() - Method in class com.singularsys.jep.parser.Token
Returns the image.
toString(Node) - Method in class com.singularsys.jep.PrintVisitor
Returns a String representation of the equation.
toString() - Method in class com.singularsys.jep.standard.Complex
Returns the value of this complex number as a string in the format: (real, imaginary).
toString(NumberFormat) - Method in class com.singularsys.jep.standard.Complex
 
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 flag is true or "2+3 i" if flag is false
toString() - Method in class com.singularsys.jep.Variable
Returns a string with the variable name followed by it's value.
toString() - Method in class com.singularsys.jep.VariableTable
 
toString() - Method in class com.singularsys.jep.walkers.SerializableExpression.Constant
 
toString() - Method in class com.singularsys.jep.walkers.SerializableExpression.Function
 
toString() - Method in class com.singularsys.jep.walkers.SerializableExpression.Operator
 
toString() - Method in class com.singularsys.jep.walkers.SerializableExpression
 
toString() - Method in class com.singularsys.jep.walkers.SerializableExpression.Variable
 
toString() - Method in class com.singularsys.jep.walkers.TreeAnalyzer
Reports statistics about the tree, number of nodes, depth, and the number of varibles, functions, operators and constants with the number of times each occurs.
totalTimes - Variable in class com.singularsys.jepexamples.diagnostics.SpeedTest
 
TRANSITIVE - Static variable in class com.singularsys.jep.Operator
Transitive relations x=y and y=z implies x=z
traverse - Variable in class org.nfunk.jep.JEP
Deprecated. Traverse the tree after parsing
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(Node) - Constructor for class com.singularsys.jep.walkers.TreeAnalyzer
Create a new instance and Analyze the node.
TreeAnalyzer() - Constructor for class com.singularsys.jep.walkers.TreeAnalyzer
Creates an empty tree analyser.
Trim - Class in com.singularsys.jep.functions.strings
Trims leading and trailing whitespace
Trim() - Constructor for class com.singularsys.jep.functions.strings.Trim
 
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
 

U

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 !
UnaryExpression() - Method in class com.singularsys.jep.parser.JccParser
 
UnaryExpressionNotPlusMinus() - Method in class com.singularsys.jep.parser.JccParser
 
UnaryFunction - Class in com.singularsys.jep.functions
Convenient base class for unary functions.
UnaryFunction() - Constructor for class com.singularsys.jep.functions.UnaryFunction
 
unlimitedPrecisionTest() - Method in class com.singularsys.jeptests.system.BigDecimalTest
 
update(Observable, Object) - Method in class com.singularsys.jep.misc.VariableTableObserver
Called when the Observable.notifyObservers() method is called.
update(Graphics) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Just calls paint.
UpdateLineColumn(char) - Method in class com.singularsys.jep.parser.JavaCharStream
 
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
 
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
 
useConfigParser - Variable in class com.singularsys.jeptests.system.perf.tests.ParsePerfTest
 
useRealEval - Variable in class com.singularsys.jeptests.system.perf.tests.EvalPerfTest
 
Utilities - Class in com.singularsys.jeptests.unit.functions
 
Utilities() - Constructor for class com.singularsys.jeptests.unit.functions.Utilities
 

V

vals - Variable in class com.singularsys.jep.parser.SimpleNode
 
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.Remainder.Type
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.NullWrappingOperatorTable.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.
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.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.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.NullWrappingOperatorTable.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.
valueTest(String, Object) - Method in class com.singularsys.jeptests.system.JepTest
Test result j.evaluate(j.parse(expr))
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.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() - Method in class com.singularsys.jep.parser.JccParser
 
Variable - Class in com.singularsys.jep
Information about a variable.
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(Variable) - Constructor for class com.singularsys.jep.Variable
Copy constructor
variableAdded(Variable) - Method in class com.singularsys.jep.misc.VariableTableObserver
Called when a variable is added to the table.
variableChanged(Variable) - Method in class com.singularsys.jep.misc.VariableTableObserver
Called when a variable value has changed.
VariableFactory - Class in com.singularsys.jep
A factory class which is used to create variables.
VariableFactory() - Constructor for class com.singularsys.jep.VariableFactory
 
variableRemoved(Variable) - Method in class com.singularsys.jep.misc.VariableTableObserver
Called when a variable is removed from the table.
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
 
VariableTableObserver - Class in com.singularsys.jep.misc
Base class for observing Variables and the VariableTable.
VariableTableObserver(VariableTable) - Constructor for class com.singularsys.jep.misc.VariableTableObserver
 
VariableTableObserver(Jep) - Constructor for class com.singularsys.jep.misc.VariableTableObserver
 
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. the tokenizer
VectorConsole() - Constructor for class com.singularsys.jepexamples.consoles.VectorConsole
 
vf - Variable in class com.singularsys.jep.VariableTable
 
visit(ASTConstant, Object) - Method in interface com.singularsys.jep.ParserVisitor
 
visit(ASTFunNode, Object) - Method in interface com.singularsys.jep.ParserVisitor
 
visit(ASTVarNode, Object) - Method in interface com.singularsys.jep.ParserVisitor
 
visit(ASTOpNode, 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(ASTOpNode, Object) - Method in class com.singularsys.jep.PrintVisitor
 
visit(ASTVarNode, Object) - Method in class com.singularsys.jep.PrintVisitor
 
visit(ASTConstant, Object) - Method in class com.singularsys.jep.PrintVisitor
 
visit(Node) - Method in class com.singularsys.jep.reals.RealEvaluator
 
visit(ASTConstant, Object) - Method in class com.singularsys.jep.standard.FastEvaluator
 
visit(ASTVarNode, Object) - Method in class com.singularsys.jep.standard.FastEvaluator
 
visit(ASTFunNode, Object) - Method in class com.singularsys.jep.standard.FastEvaluator
 
visit(ASTOpNode, Object) - Method in class com.singularsys.jep.standard.FastEvaluator
 
visit(ASTConstant, Object) - Method in class com.singularsys.jep.standard.StandardEvaluator
 
visit(ASTFunNode, Object) - Method in class com.singularsys.jep.standard.StandardEvaluator
 
visit(ASTVarNode, Object) - Method in class com.singularsys.jep.standard.StandardEvaluator
 
visit(ASTOpNode, Object) - Method in class com.singularsys.jep.standard.StandardEvaluator
 
visit(ASTConstant, Object) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
 
visit(ASTFunNode, Object) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
 
visit(ASTOpNode, Object) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
 
visit(ASTVarNode, Object) - Method in class com.singularsys.jep.walkers.DeepCopyVisitor
 
visit(Node) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
 
visit(ASTConstant, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
Visit a constant node.
visit(ASTVarNode, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
Visit a variable node.
visit(ASTFunNode, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
Visit a function node.
visit(ASTOpNode, Object) - Method in class com.singularsys.jep.walkers.DoNothingVisitor
Visit a operator node.
visit(ASTOpNode, Object) - Method in class com.singularsys.jep.walkers.ExpressionConsolidator
 
visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
 
visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
 
visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
 
visit(ASTConstant, 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(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
Visit an operator node
visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
Visit a variable node
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(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 
visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 
visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 
visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
 
visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
 
visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
 
visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.PrefixTreeWalker
 
visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.SerializableExpression
 
visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.SerializableExpression
 
visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.SerializableExpression
 
visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.SerializableExpression
 
visit(ASTVarNode, Object) - Method in class com.singularsys.jep.walkers.SubstitutionVisitor
 
visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
 
visit(ASTOpNode, int, int) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
 
visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
 
visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
 
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 a 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
 
visitFun(Node) - Method in class com.singularsys.jep.standard.FastEvaluator
Visits a function/operator node.
visitFun(Node) - Method in class com.singularsys.jep.standard.StandardEvaluator
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.
visitVar(Node) - Method in class com.singularsys.jep.standard.FastEvaluator
 
visitVar(Node) - Method in class com.singularsys.jep.standard.StandardEvaluator
 
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.NodeFactory
 
vt - Variable in class com.singularsys.jep.walkers.DoNothingVisitor
 

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'.
walkSubEquations(Node) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
If a supressExaminingChildren() 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(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.WhiteSpaceTokenMatcher
 
WhiteSpaceTokenMatcher(Pattern) - Constructor for class com.singularsys.jep.configurableparser.matchers.WhiteSpaceTokenMatcher
 
wrapSpecialOperators(EmptyOperatorTable.OperatorKey, Operator) - Method in class com.singularsys.jep.misc.nullwrapper.NullWrappingOperatorTable
Special handling for operators.
write(ObjectOutput) - Method in class com.singularsys.jep.walkers.SerializableExpression.Constant
 
write(ObjectOutput) - Method in interface com.singularsys.jep.walkers.SerializableExpression.Element
 
write(ObjectOutput) - Method in class com.singularsys.jep.walkers.SerializableExpression.Function
 
write(ObjectOutput) - Method in class com.singularsys.jep.walkers.SerializableExpression.Operator
 
write(ObjectOutput) - Method in class com.singularsys.jep.walkers.SerializableExpression.Variable
 
writeExternal(ObjectOutput) - Method in class com.singularsys.jep.walkers.SerializableExpression
Write a serialized version of the node to a stream.
writeToDB(String) - Method in class com.singularsys.jeptests.system.perf.PerfResult
 

X

x - Variable in class com.singularsys.jepexamples.applets.FunctionCanvas
"x" variable
xAbsolute(double) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Translates from scaled coordinates to screen coordinates.
xExpression - Variable in class com.singularsys.jepexamples.applets.ParametrisedCanvas
Expression to evaluate
xRelative(int) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Translates from screen coordinates to scaled coordinates.

Y

yAbsolute(double) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Translates from scaled coordinates to screen coordinates.
yExpression - Variable in class com.singularsys.jepexamples.applets.ParametrisedCanvas
 
yRelative(int) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Translates from screen coordinates to scaled coordinates.

Z

ZERO - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
 
zoomCanvas(double) - Method in class com.singularsys.jepexamples.applets.AbstractCanvas
Zoom the canvas.

A B C D E F G H I J K L M N O P R S T U V W X Y Z

Copyright © 2010 Singular Systems http://www.singularsys.com/jep