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

A

Abs - Class in com.singularsys.jep.functions
 
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).
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) - Method in class com.singularsys.jep.functions.Add
 
add(Complex, Complex) - Method in class com.singularsys.jep.functions.Add
 
add(Vector, Vector) - Method in class com.singularsys.jep.functions.Add
 
add(Complex, Number) - Method in class com.singularsys.jep.functions.Add
 
add(Complex) - Method in class com.singularsys.jep.standard.Complex
Adds the complex number with another complex value.
add_escapes(String) - Method in exception com.singularsys.jep.parser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addComplex() - Method in class org.nfunk.jep.JEP
Deprecated. Call this function if you want to parse expressions which involve complex numbers.
addEscapes(String) - Static method in error com.singularsys.jep.parser.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
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.
AdditiveExpression() - Method in class com.singularsys.jep.parser.JccParser
 
addOperator(int, Operator) - Method in class com.singularsys.jep.OperatorTable
 
addOperator(int, Operator, Operator) - Method in class com.singularsys.jep.OperatorTable
Add operator with the same precedence level as an existing operator.
addSpecialRule(Operator, PrintVisitor.PrintRulesI) - Method in class com.singularsys.jep.PrintVisitor
Adds a special print rule to be added for a given operator.
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.
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, Object, VariableFactory) - 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.
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
allowUndeclared - Variable in class com.singularsys.jep.Jep
Allow Undeclared Variables option
alltests() - Method in class com.singularsys.jeptests.bigdecimal.functions.BigDecRelationalTest
 
analyze(Node) - Method in class com.singularsys.jep.walkers.TreeAnalyzer
 
AND - Static variable in class com.singularsys.jep.functions.Logical
 
AND - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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.
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
ArcCosine - Class in com.singularsys.jep.functions
The acos function.
ArcCosine() - Constructor for class com.singularsys.jep.functions.ArcCosine
 
ArcCosineH - Class in com.singularsys.jep.functions
Implements the arcCosH function.
ArcCosineH() - Constructor for class com.singularsys.jep.functions.ArcCosineH
 
ArcSine - Class in com.singularsys.jep.functions
 
ArcSine() - Constructor for class com.singularsys.jep.functions.ArcSine
 
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
 
Arg - Class in com.singularsys.jep.functions
Argument of a complex number
Arg() - Constructor for class com.singularsys.jep.functions.Arg
 
arg(Object) - Method in 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 u[3].
ArrayAccessGrammarMatcher(SymbolToken, SymbolToken) - Constructor for class com.singularsys.jep.configurableparser.matchers.ArrayAccessGrammarMatcher
Construct a matcher for array access.
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
 
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
 
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 .
ASTConstant - Class in com.singularsys.jep.parser
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
 

B

backup(int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
baseNumOps - Static variable in class com.singularsys.jep.OperatorTable
Number o
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.
beginColumn - Variable in class com.singularsys.jep.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class com.singularsys.jep.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in class com.singularsys.jep.parser.JavaCharStream
 
BigDecAdd - Class in com.singularsys.jep.bigdecimal.functions
 
BigDecAdd(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecAdd
 
BigDecComponents - Class in com.singularsys.jep.bigdecimal
 
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
Contructs the class with the specific math context.
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
 
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
Tests the BigDecComponents through a set of test expressions that are evaluated
BigDecimalTest() - Constructor for class com.singularsys.jeptests.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
 
BigDecOperatorTable(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.BigDecOperatorTable
 
BigDecPow - Class in com.singularsys.jep.bigdecimal.functions
 
BigDecPow(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecPow
 
BigDecRelational - Class in com.singularsys.jep.bigdecimal.functions
Implements the relational operations <, >, <=, >=, !
BigDecRelational(int) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecRelational
Constructor.
BigDecRelationalTest - Class in com.singularsys.jeptests.bigdecimal.functions
 
BigDecRelationalTest() - Constructor for class com.singularsys.jeptests.bigdecimal.functions.BigDecRelationalTest
 
BigDecSub - Class in com.singularsys.jep.bigdecimal.functions
 
BigDecSub(MathContext) - Constructor for class com.singularsys.jep.bigdecimal.functions.BigDecSub
 
BINARY - Static variable in class com.singularsys.jep.Operator
Binary operators, such as x+y, x>y
binom(int, int) - Static method in class com.singularsys.jep.functions.Binomial
Returns the binomial coefficients.
Binomial - Class in com.singularsys.jep.functions
Binomial coeficients: binom(n,i).
Binomial() - Constructor for class com.singularsys.jep.functions.Binomial
 
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
 
BugsTest - Class in com.singularsys.jeptests
This class is intended to contain all tests related to reported bugs.
BugsTest(String) - Constructor for class com.singularsys.jeptests.BugsTest
Creates a new BugsTest instance
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(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[]) - 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.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.NodeFactory
An unfinished node.
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, Object) - Method in class com.singularsys.jep.NodeFactory
Builds a variable node for a variable with a given name and value.
buildVariableNodeCheckUndeclared(String) - Method in class com.singularsys.jep.NodeFactory
Build a variable node checking for the undeclared status.

C

calcValue(Node) - Method in class com.singularsys.jeptests.JepTest
Calculate the value of an expression.
calcValue(String) - Method in class com.singularsys.jeptests.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.
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
 
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
 
ceil(Object) - Method in class com.singularsys.jep.functions.Ceil
 
check(List<Token>, List<Token>) - Method in class com.singularsys.jeptests.TokenizerTest
 
check(List<Token>, Object[]) - Method in class com.singularsys.jeptests.TokenizerTest
 
check(String, String[]) - Method in class com.singularsys.jeptests.TokenizerTest
 
checkBigDec() - Method in class com.singularsys.jeptests.JEPPrintTest
 
checkComment(Token, Token) - Method in class com.singularsys.jeptests.TokenizerTest
 
checkIdentifier(Token, Token) - Method in class com.singularsys.jeptests.TokenizerTest
 
checkNumber(Token, Token) - Method in class com.singularsys.jeptests.TokenizerTest
 
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.PostfixMathCommand
Checks the number of parameters of the function.
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.TokenizerTest
 
checkOutput() - Method in class com.singularsys.jeptests.JEPPrintTest
 
checkStack(Stack) - 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.TokenizerTest
 
checkWhiteSpace(Token, Token) - Method in class com.singularsys.jeptests.TokenizerTest
 
children - Variable in class com.singularsys.jep.parser.SimpleNode
 
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.
COLON - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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.misc - package com.singularsys.jep.misc
Miscellaneous components.
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, postfix evaluator, expression serializer, and tree dumpers
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 diagonistic tools.
com.singularsys.jeptests - package com.singularsys.jeptests
Unit tests using JUnit.
com.singularsys.jeptests.bigdecimal.functions - package com.singularsys.jeptests.bigdecimal.functions
Tests for the BigDecimal functions
com.singularsys.jeptests.functions - package com.singularsys.jeptests.functions
Tests for individual function classes
COMMA - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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.
Comparative - Class in com.singularsys.jep.functions
Implements the comparative operations <, >, <=, >=, !
Comparative(int) - Constructor for class com.singularsys.jep.functions.Comparative
Constructor.
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
Print Complex 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
 
ComplexTest(String) - Constructor for class com.singularsys.jeptests.ComplexTest
 
complexValueTest(String, Complex, double) - Method in class com.singularsys.jeptests.JepTest
Test parse-evaluate with complex number and given tollerence.
ComponentSet - Class in com.singularsys.jep
 
ComponentSet() - Constructor for class com.singularsys.jep.ComponentSet
 
COMPOSITE - Static variable in class com.singularsys.jep.Operator
composite operators, like a-b which is a+(-b)
ConfigurableParser - Class in com.singularsys.jep.configurableparser
A configurable parser.
ConfigurableParser() - Constructor for class com.singularsys.jep.configurableparser.ConfigurableParser
Create the standard configurable parser.
ConfigurableParser(boolean) - Constructor for class com.singularsys.jep.configurableparser.ConfigurableParser
Create a configurable parser with an empty lists of matchers.
ConfigurableParser(List<TokenMatcher>, List<TokenFilter>, List<GrammarMatcher>) - Constructor for class com.singularsys.jep.configurableparser.ConfigurableParser
Create a parser with the specified set of matchers.
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
 
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
 
containsValue(PostfixMathCommandI) - Method in class com.singularsys.jep.FunctionTable
 
continueParse() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
Parse the next equation from existing stream.
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-initilising stream.
continueParse() - Method in class com.singularsys.jep.parser.StandardParser
 
copyChildren(Node, Node[]) - Method in class com.singularsys.jep.NodeFactory
Sets the children of node to be those specified in array.
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.
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
 
CPConsole - Class in com.singularsys.jepexamples.consoles
 
CPConsole() - Constructor for class com.singularsys.jepexamples.consoles.CPConsole
 
CPTest - Class in com.singularsys.jeptests
 
CPTest(String) - Constructor for class com.singularsys.jeptests.CPTest
 
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
 
Cross() - Constructor for class com.singularsys.jep.functions.Cross
 
cross(Object, Object) - Method in class com.singularsys.jep.functions.Cross
 
cross(Vector<Object>, Vector<Object>) - Method in class com.singularsys.jep.functions.Cross
 
CROSS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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.
currentToken - Variable in exception com.singularsys.jep.parser.ParseException
This is the last token that has been consumed successfully.

D

debugStream - Variable in class com.singularsys.jep.parser.JccParserTokenManager
 
DECIMAL_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
DEFAULT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
defaultNumberTokenMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.NumberTokenMatcher
Factory to create a matcher for decimal number without exponents
defaultValue - Variable in class com.singularsys.jep.VariableFactory
The default value to use when variable is created with no value
defaultWhiteSpaceTokenMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.WhiteSpaceTokenMatcher
Matches
deserialize(ObjectInputStream) - Method in class com.singularsys.jep.walkers.ExpressionSerializer
Deserialize the expression.
DIGIT1 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
DIGIT2 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
disable_tracing() - Method in class com.singularsys.jep.parser.JccParser
 
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<Number>, Number) - Method in class com.singularsys.jep.functions.Divide
 
div(Number, Vector<Number>) - Method in class com.singularsys.jep.functions.Divide
 
div(Vector<Number>, Complex) - Method in class com.singularsys.jep.functions.Divide
 
div(Complex, Vector<Number>) - Method in class com.singularsys.jep.functions.Divide
 
DIV - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
div(Complex) - Method in class com.singularsys.jep.standard.Complex
Returns the result of dividing this complex number by the parameter.
Divide - Class in com.singularsys.jep.functions
 
Divide() - Constructor for class com.singularsys.jep.functions.Divide
 
doAll(String, String[]) - Static method in class com.singularsys.jepexamples.diagnostics.TokSpeed
Run speed comparison between jep and rpe.
Done() - Method in class com.singularsys.jep.parser.JavaCharStream
 
Dot - Class in com.singularsys.jep.functions
 
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
 
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.
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
 
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
 
EleTest - Class in com.singularsys.jeptests.functions
 
EleTest() - Constructor for class com.singularsys.jeptests.functions.EleTest
 
enable_tracing() - Method in class com.singularsys.jep.parser.JccParser
 
endColumn - Variable in class com.singularsys.jep.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class com.singularsys.jep.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
entrySet() - Method in class com.singularsys.jep.FunctionTable
 
EOF - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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
 
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.
EQUIVILENCE - 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
eval(Node) - Method in interface com.singularsys.jep.Evaluator
Evaluates a sub expression.
eval(Node) - Method in class com.singularsys.jep.reals.RealEvaluator
 
eval(Node) - Method in class com.singularsys.jep.standard.StandardEvaluator
 
eval(Node) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
 
eval(String) - Method in class com.singularsys.jeptests.BigDecimalTest
 
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 righthand side.
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.Cosine
 
evaluate(double, double) - Method in class com.singularsys.jep.functions.Divide
 
evaluate(double) - Method in class com.singularsys.jep.functions.Floor
 
evaluate(Node, Evaluator) - Method in class com.singularsys.jep.functions.If
 
evaluate(double, double) - Method in class com.singularsys.jep.functions.Multiply
 
evaluate(double, double) - Method in class com.singularsys.jep.functions.Power
 
evaluate(double) - Method in class com.singularsys.jep.functions.Sine
 
evaluate(double, double) - Method in class com.singularsys.jep.functions.Subtract
 
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(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.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
 
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
 
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
 
exponentNumberTokenMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.NumberTokenMatcher
Factory to create a matcher for decimal number with or without exponents
Expression() - Method in class com.singularsys.jep.parser.JccParser
 
ExpressionEvalTest - Class in com.singularsys.jeptests
This class is designed for testing the validity of JEP evaluations.
ExpressionEvalTest() - Constructor for class com.singularsys.jeptests.ExpressionEvalTest
Creates a new ExpressionEvalTest instance
ExpressionSerializer - Class in com.singularsys.jep.walkers
Serialize an expression in a compact form.
ExpressionSerializer(Jep) - Constructor for class com.singularsys.jep.walkers.ExpressionSerializer
 
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.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
 

F

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
 
flags - Variable in class com.singularsys.jep.Operator
flags for type of operator
FLOATING_POINT_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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 formated 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.
fromObject(Object) - Method in class com.singularsys.jep.reals.RealEvaluator
 
FULL_BRACKET - Static variable in class com.singularsys.jep.PrintVisitor
All brackets are printed.
Function() - Method in class com.singularsys.jep.parser.JccParser
 
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
 
FunctionTable - Class in com.singularsys.jep
A table holding details of the functions know 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

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
 
generateParseException() - Method in class com.singularsys.jep.parser.JccParser
 
getAdd() - Method in class com.singularsys.jep.OperatorTable
 
getAllowAssignment() - Method in class com.singularsys.jep.Jep
Whether assignment equation y=x+1 equations are 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.
getAnd() - Method in class com.singularsys.jep.OperatorTable
 
getAppletInfo() - Method in class com.singularsys.jepexamples.consoles.Console
 
getAssign() - Method in class com.singularsys.jep.OperatorTable
 
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. 
getColumn() - Method in class com.singularsys.jep.parser.JavaCharStream
Deprecated.  
getCommand() - Method in class com.singularsys.jepexamples.consoles.Console
Get a command from the input.
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
 
getCross() - Method in class com.singularsys.jep.OperatorTable
 
getDefaultValue() - Method in class com.singularsys.jep.VariableFactory
 
getDivide() - Method in class com.singularsys.jep.OperatorTable
 
getDot() - Method in class com.singularsys.jep.OperatorTable
 
getEle() - Method in class com.singularsys.jep.OperatorTable
 
getEndColumn() - Method in class com.singularsys.jep.parser.JavaCharStream
 
getEndLine() - Method in class com.singularsys.jep.parser.JavaCharStream
 
getEQ() - Method in class com.singularsys.jep.OperatorTable
 
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
getFunction(String) - Method in class com.singularsys.jep.FunctionTable
 
getFunction(String) - Method in class com.singularsys.jep.misc.CaseInsensitiveFunctionTable
 
getFunctionTable() - Method in class com.singularsys.jep.ComponentSet
 
getFunctionTable() - Method in class com.singularsys.jep.Jep
Returns the function table
getFunctionTable() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the function table (the list of all functions that the parser recognizes).
getGE() - Method in class com.singularsys.jep.OperatorTable
 
getGrammarMatchers() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
 
getGT() - Method in class com.singularsys.jep.OperatorTable
 
getHook(String) - Method in class com.singularsys.jep.parser.SimpleNode
 
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
 
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
getLE() - Method in class com.singularsys.jep.OperatorTable
 
getLength() - Method in class com.singularsys.jep.configurableparser.tokens.Token
Gets the length of the source text matched by this token
getLine() - Method in class com.singularsys.jep.parser.JavaCharStream
Deprecated.  
getList() - Method in class com.singularsys.jep.OperatorTable
 
getLT() - Method in class com.singularsys.jep.OperatorTable
 
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
 
getMaxLen() - Method in class com.singularsys.jep.PrintVisitor
 
getMessage() - Method in exception com.singularsys.jep.parser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error com.singularsys.jep.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
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.OperatorTable
 
getMode() - Method in class com.singularsys.jep.PrintVisitor
Return the current print mode.
getMode(int) - Method in class com.singularsys.jep.PrintVisitor
 
getMultiply() - Method in class com.singularsys.jep.OperatorTable
 
getName() - Method in class com.singularsys.jep.Operator
returns a unique name defining this operator.
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.ASTVarNode
Returns the name of the variable.
getName() - Method in class com.singularsys.jep.Variable
 
getNE() - Method in class com.singularsys.jep.OperatorTable
 
getNextToken() - Method in class com.singularsys.jep.parser.JccParser
 
getNextToken() - Method in class com.singularsys.jep.parser.JccParserTokenManager
 
getNodeFactory() - Method in class com.singularsys.jep.ComponentSet
 
getNodeFactory() - Method in class com.singularsys.jep.Jep
Returns the node factory
getNop() - Method in class com.singularsys.jep.OperatorTable
 
getNot() - Method in class com.singularsys.jep.OperatorTable
 
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.
getNumOps() - Method in class com.singularsys.jep.OperatorTable
 
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(int) - Method in class com.singularsys.jep.OperatorTable
Get operator by its key code.
getOperator() - Method in class com.singularsys.jep.parser.ASTOpNode
Returns the id number of the operator if the node is an operator.
getOperators() - Method in class com.singularsys.jep.OperatorTable
 
getOperatorsByName(String) - Method in class com.singularsys.jep.OperatorTable
Get the operator with a given name
getOperatorsBySymbol(String) - Method in class com.singularsys.jep.OperatorTable
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
getOr() - Method in class com.singularsys.jep.OperatorTable
 
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 class com.singularsys.jep.Operator
 
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.
getPower() - Method in class com.singularsys.jep.OperatorTable
 
getPrecedence() - Method in class com.singularsys.jep.Operator
Get the precedence of the operator.
getPrefixOp() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
 
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.OperatorTable
 
getRhsSymbol() - Method in class com.singularsys.jep.configurableparser.TernaryOperator
 
getRootOp() - Method in class com.singularsys.jep.Operator
 
getSource() - Method in class com.singularsys.jep.configurableparser.tokens.Token
Gets the source text matched by this token
getSubtract() - Method in class com.singularsys.jep.OperatorTable
 
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).
getTabSize(int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
getTernaryOp() - Method in class com.singularsys.jep.configurableparser.tokens.OperatorToken
 
getToken(int) - Method in class com.singularsys.jep.parser.JccParser
 
getTokenFilters() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
 
getTokenMatchers() - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
 
getTolerance() - Method in class com.singularsys.jep.functions.Comparative
Returns the tolerance used for comparing complex numbers
getTraverse() - Method in class org.nfunk.jep.JEP
Deprecated. Returns the value of the traverse option.
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.OperatorTable
unary division i.e. 1/x or x^(-1) *
getUMinus() - Method in class com.singularsys.jep.OperatorTable
 
getUnquotedString() - Method in class com.singularsys.jep.configurableparser.tokens.StringToken
Gets the string without quote marks.
getUPlus() - Method in class com.singularsys.jep.OperatorTable
 
getValue() - Method in class com.singularsys.jep.configurableparser.tokens.NumberToken
Gets the value of the object.
getValue() - Method in class com.singularsys.jep.parser.ASTConstant
 
getValue() - Method in class com.singularsys.jep.Variable
 
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() - Method in class com.singularsys.jep.parser.ASTVarNode
 
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
getVariableTable() - Method in class com.singularsys.jep.ComponentSet
 
getVariableTable() - Method in class com.singularsys.jep.Jep
Returns the variable table
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.
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
 
go(int, int) - Method in class com.singularsys.jepexamples.diagnostics.ParseSpeed
 
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
GraphCanvas - Class in com.singularsys.jepexamples.applets
This class plots a graph using the JEP API.
GraphCanvas(String, TextField) - Constructor for class com.singularsys.jepexamples.applets.GraphCanvas
Constructor
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
 

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?
hookKeys() - Method in class com.singularsys.jep.parser.SimpleNode
 
hooks - Variable in class com.singularsys.jep.parser.SimpleNode
 

I

id - Variable in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
id - Variable in class com.singularsys.jep.functions.Comparative
 
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.
If - Class in com.singularsys.jep.functions
The if(condExpr,posExpr,negExpr) function.
If() - Constructor for class com.singularsys.jep.functions.If
 
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 - 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
 
INDENTIFIER2 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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 initialization, this methods is called whenever components of the jep instance are changed.
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(OperatorTable) - Method in class com.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
 
init(Jep) - Method in class com.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
 
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.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.FunctionTable
 
init(Jep) - Method in interface com.singularsys.jep.JepComponent
Initialize the component.
init(Jep) - Method in class com.singularsys.jep.NodeFactory
 
init(Jep) - Method in class com.singularsys.jep.OperatorTable
 
init(Jep) - Method in interface com.singularsys.jep.Parser
 
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.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.PostfixEvaluator
 
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.consoles.Console
Applet initialization
initFunTab() - Method in class org.nfunk.jep.JEP
Deprecated. Creates a new FunctionTable object as funTab.
initialise() - Method in class com.singularsys.jep.walkers.PostfixDumperConsole
 
initialise() - Method in class com.singularsys.jep.walkers.PostfixEvaluationConsole
 
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.VectorConsole
 
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(int, 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
 
intValue() - Method in class com.singularsys.jep.standard.Complex
Returns real part.
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
 
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
 
isEquivilence() - 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() - 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() - 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
 
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
 
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
 
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
 
isTrapNullValues() - Method in class com.singularsys.jep.standard.StandardEvaluator
Whether null values for variables are trapped.
isUnary() - Method in class com.singularsys.jep.Operator
 
isWhiteSpace() - Method in class com.singularsys.jep.configurableparser.tokens.Token
 
isWhiteSpace() - Method in class com.singularsys.jep.configurableparser.tokens.WhiteSpaceToken
 

J

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
 
JavaCharStream(Reader, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
 
JavaCharStream(Reader) - Constructor for class com.singularsys.jep.parser.JavaCharStream
 
JavaCharStream(InputStream, String, int, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
 
JavaCharStream(InputStream, int, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
 
JavaCharStream(InputStream, String, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
 
JavaCharStream(InputStream, int, int) - Constructor for class com.singularsys.jep.parser.JavaCharStream
 
JavaCharStream(InputStream, String) - Constructor for class com.singularsys.jep.parser.JavaCharStream
 
JavaCharStream(InputStream) - Constructor for class com.singularsys.jep.parser.JavaCharStream
 
JccParser - Class in com.singularsys.jep.parser
 
JccParser(InputStream) - Constructor for class com.singularsys.jep.parser.JccParser
 
JccParser(InputStream, String) - Constructor for class com.singularsys.jep.parser.JccParser
 
JccParser(Reader) - Constructor for class com.singularsys.jep.parser.JccParser
 
JccParser(JccParserTokenManager) - Constructor for class com.singularsys.jep.parser.JccParser
 
JccParserConstants - Interface in com.singularsys.jep.parser
 
JccParserTokenManager - Class in com.singularsys.jep.parser
 
JccParserTokenManager(JavaCharStream) - Constructor for class com.singularsys.jep.parser.JccParserTokenManager
 
JccParserTokenManager(JavaCharStream, int) - Constructor for class com.singularsys.jep.parser.JccParserTokenManager
 
JccParserTreeConstants - Interface in com.singularsys.jep.parser
 
Jep - Class in com.singularsys.jep
The Jep class is the main interface with which the user should interact.
Jep() - Constructor for class com.singularsys.jep.Jep
Creates a new Jep instance using the standard components with default settings.
Jep(ComponentSet) - Constructor for class com.singularsys.jep.Jep
Creates a new Jep instance with a specific component set.
Jep(JepComponent[]) - Constructor for class com.singularsys.jep.Jep
Creates a new Jep instance with a set of componentents specified by an array of components.
jep - Variable in class com.singularsys.jep.NodeFactory
 
jep - Variable in class com.singularsys.jep.VariableTable
 
jep - Variable in class com.singularsys.jepexamples.consoles.Console
Main JEP object
jep - Variable in class com.singularsys.jeptests.JepTest
The parser
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).
JEPPrintTest - Class in com.singularsys.jeptests
Tests the print routines of the Jep class
JEPPrintTest() - Constructor for class com.singularsys.jeptests.JEPPrintTest
 
JepTest - Class in com.singularsys.jeptests
 
JepTest(String) - Constructor for class com.singularsys.jeptests.JepTest
 
jj_nt - Variable in class com.singularsys.jep.parser.JccParser
 
jjFillToken() - Method in class com.singularsys.jep.parser.JccParserTokenManager
 
jjnewLexState - Static variable in class com.singularsys.jep.parser.JccParserTokenManager
 
jjstrLiteralImages - Static variable in class com.singularsys.jep.parser.JccParserTokenManager
 
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
 
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.consoles.Console
 
keyReleased(KeyEvent) - Method in class com.singularsys.jepexamples.consoles.Console
Handles keyRelease events
keySet() - Method in class com.singularsys.jep.FunctionTable
 
keySet() - Method in class com.singularsys.jep.VariableTable
 
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

lastRootNode - Variable in class com.singularsys.jep.Jep
Root node of the last parsed expression
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
 
LEFT - Static variable in class com.singularsys.jep.Operator
Left binding like +: 1+2+3 -> (1+2)+3
LETTER1 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
LETTER2 - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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
 
limitedPrecisionTest() - Method in class com.singularsys.jeptests.BigDecimalTest
 
line - Variable in class com.singularsys.jep.parser.JavaCharStream
 
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
 
log(Object) - Method in class com.singularsys.jep.functions.Logarithm
 
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() - Constructor for class com.singularsys.jep.functions.Logarithm
 
LogarithmTest - Class in com.singularsys.jeptests.functions
 
LogarithmTest(String) - Constructor for class com.singularsys.jeptests.functions.LogarithmTest
 
LogBase2 - Class in com.singularsys.jep.functions
Log base 2.
LogBase2() - Constructor for class com.singularsys.jep.functions.LogBase2
 
logbase2(Object) - Method in class com.singularsys.jep.functions.LogBase2
 
Logical - Class in com.singularsys.jep.functions
 
Logical(int) - Constructor for class com.singularsys.jep.functions.Logical
 
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
 
lookingAhead - Variable in class com.singularsys.jep.parser.JccParser
 
LRND - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
LSQ - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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
 
LValue() - Method in class com.singularsys.jep.parser.JccParser
 
LValueI - Interface in com.singularsys.jep.functions
 

M

main(String[]) - Static method in class com.singularsys.jep.walkers.PostfixDumperConsole
 
main(String[]) - Static method in class com.singularsys.jep.walkers.PostfixEvaluationConsole
 
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.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.ParseSpeed
 
main(String[]) - Static method in class com.singularsys.jepexamples.diagnostics.TokSpeed
Main method, executes all speed tests.
main(String[]) - Static method in class com.singularsys.jepexamples.SimpleExample
 
main(String[]) - Static method in class com.singularsys.jeptests.ExpressionEvalTest
The main method checks the arguments and creates an instance and runs a test
match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.ArrayAccessGrammarMatcher
 
match(Lookahead2Iterator<Token>, GrammarParser) - Method in class com.singularsys.jep.configurableparser.matchers.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
 
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.SymbolTokenMatcher
 
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.tokens.MultiLineToken
Matches the end of the token.
maxDepth - Variable in class com.singularsys.jep.walkers.TreeAnalyzer.TreeCounts
 
maxNextCharInd - Variable in class com.singularsys.jep.parser.JavaCharStream
 
MINUS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
MINUSONE - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
 
MOD - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
mode - Variable in class com.singularsys.jep.PrintVisitor
The current mode for printing.
Modulus - Class in com.singularsys.jep.functions
 
Modulus() - Constructor for class com.singularsys.jep.functions.Modulus
 
mul(Object, Object) - Method in class com.singularsys.jep.functions.Multiply
 
mul(Number, Number) - Method in class com.singularsys.jep.functions.Multiply
 
mul(Complex, Complex) - Method in class com.singularsys.jep.functions.Multiply
 
mul(Complex, Number) - Method in class com.singularsys.jep.functions.Multiply
 
mul(Vector, Number) - Method in class com.singularsys.jep.functions.Multiply
 
mul(Vector, Complex) - Method in class com.singularsys.jep.functions.Multiply
 
MUL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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
 
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.JepTest
 
myAssertNaN(String, Object) - Method in class com.singularsys.jeptests.JepTest
 
myFalse - Variable in class com.singularsys.jeptests.JepTest
 
myTrue - Variable in class com.singularsys.jeptests.JepTest
 

N

name - Variable in class com.singularsys.jep.Variable
 
NARY - Static variable in class com.singularsys.jep.Operator
Trinary ops such as ?
NaturalLogarithm - Class in com.singularsys.jep.functions
Natural logarithm.
NaturalLogarithm() - Constructor for class com.singularsys.jep.functions.NaturalLogarithm
 
NaturalLogarithmTest - Class in com.singularsys.jeptests.functions
 
NaturalLogarithmTest(String) - Constructor for class com.singularsys.jeptests.functions.NaturalLogarithmTest
 
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
 
neg() - Method in class com.singularsys.jep.standard.Complex
Returns the negative value of this complex number.
newToken(int) - Static method in class com.singularsys.jep.parser.Token
Returns a new Token object, by default.
next - Variable in class com.singularsys.jep.parser.Token
A reference to the next regular (non-special) token from the input stream.
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
 
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
 
Node - Interface in com.singularsys.jep.parser
 
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
 
nodeTest(Node, Operator) - Method in class com.singularsys.jeptests.JepTest
 
nodeTest(Node, String) - Method in class com.singularsys.jeptests.JepTest
 
nodeTest(Node, Variable) - Method in class com.singularsys.jeptests.JepTest
 
nodeTest(Node, Object) - Method in class com.singularsys.jeptests.JepTest
 
Not - Class in com.singularsys.jep.functions
Implementation of the not function.
Not() - Constructor for class com.singularsys.jep.functions.Not
 
NOT - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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
 
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
 
numConst - Variable in class com.singularsys.jep.walkers.TreeAnalyzer.TreeCounts
 
numFac - Variable in class com.singularsys.jep.ComponentSet
 
numFac - Variable in class com.singularsys.jep.Jep
Number Factory
numFuns - Variable in class com.singularsys.jep.walkers.TreeAnalyzer.TreeCounts
 
numNodes - Variable in class com.singularsys.jep.walkers.TreeAnalyzer.TreeCounts
 
numOps - Variable in class com.singularsys.jep.OperatorTable
 
numVars - Variable in class com.singularsys.jep.walkers.TreeAnalyzer.TreeCounts
 

O

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_FACT - Static variable in class com.singularsys.jep.misc.ExtendedOperatorSet
 
OP_GE - Static variable in class com.singularsys.jep.OperatorTable
 
OP_GT - Static variable in class com.singularsys.jep.OperatorTable
 
OP_IF - Static variable in class com.singularsys.jep.misc.ExtendedOperatorSet
 
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_PERCENT - Static variable in class com.singularsys.jep.misc.ExtendedOperatorSet
 
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
 
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.
Operator(String, PostfixMathCommandI, int, int) - Constructor for class com.singularsys.jep.Operator
Allows a given precedent to be set.
Operator(String, String, PostfixMathCommandI, int) - Constructor for class com.singularsys.jep.Operator
construct a new operator, with a different name and symbol
Operator(String, String, PostfixMathCommandI, int, int) - Constructor for class com.singularsys.jep.Operator
Allows a given precedent to be set.
OperatorTable - Class in com.singularsys.jep
 
OperatorTable() - Constructor for class com.singularsys.jep.OperatorTable
 
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.OperatorTable
 
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.Logical
 
OR - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
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
output(Node, Object) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 

P

paint(Graphics) - Method in class com.singularsys.jepexamples.applets.FractalCanvas
 
paint(Graphics) - Method in class com.singularsys.jepexamples.applets.GraphCanvas
Draws the graph to the Graphics object.
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 class com.singularsys.jep.configurableparser.ShuntingYard
 
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 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
 
ParseException() - Constructor for exception com.singularsys.jep.ParseException
 
ParseException(String) - 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
 
parseExpression(String) - Method in class org.nfunk.jep.JEP
Deprecated. Parses the expression.
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
 
parser - Variable in class com.singularsys.jep.parser.SimpleNode
 
ParserVisitor - Interface in com.singularsys.jep
 
ParseSpeed - Class in com.singularsys.jepexamples.diagnostics
 
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
peekNext() - Method in class com.singularsys.jep.configurableparser.Lookahead2Iterator
 
PLUS - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
Polar - Class in com.singularsys.jep.functions
Converts an [r,theta] pair to a complex number r * e^(i theta).
Polar() - Constructor for class com.singularsys.jep.functions.Polar
 
polarValueOf(Number, Number) - Static method in class com.singularsys.jep.standard.Complex
Converts an [r,theta] pair to a complex number r * e^(i theta).
PostfixDumperConsole - Class in com.singularsys.jep.walkers
 
PostfixDumperConsole() - Constructor for class com.singularsys.jep.walkers.PostfixDumperConsole
 
PostfixEvalTest - Class in com.singularsys.jeptests
 
PostfixEvalTest(String) - Constructor for class com.singularsys.jeptests.PostfixEvalTest
 
PostfixEvaluationConsole - Class in com.singularsys.jep.walkers
 
PostfixEvaluationConsole() - Constructor for class com.singularsys.jep.walkers.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.
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
 
Power - Class in com.singularsys.jep.functions
Computes the power of an number.
Power() - Constructor for class com.singularsys.jep.functions.Power
 
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) - Method in class com.singularsys.jep.functions.Power
 
power(Complex, Number) - Method in class com.singularsys.jep.functions.Power
 
power(Number, Complex) - Method in class com.singularsys.jep.functions.Power
 
power(double, int) - 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
 
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
 
PREFIX - Static variable in class com.singularsys.jep.Operator
prefix operators -x
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
 
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.JepTest
 
PrintConsole - Class in com.singularsys.jepexamples.consoles
 
PrintConsole() - Constructor for class com.singularsys.jepexamples.consoles.PrintConsole
 
printFuns() - Method in class com.singularsys.jepexamples.consoles.Console
Prints a list of defined functions.
printHelp() - Method in class com.singularsys.jepexamples.consoles.BigDecimalConsole
 
printHelp() - Method in class com.singularsys.jepexamples.consoles.Console
Print help message.
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.
printOps() - Method in class com.singularsys.jepexamples.consoles.Console
Prints a list of defined operators.
printStdHelp() - Method in class com.singularsys.jepexamples.consoles.Console
Prints a standard help message.
printVars() - Method in class com.singularsys.jepexamples.consoles.Console
Prints a list of variable.
PrintVisitor - Class in com.singularsys.jep
Prints an expression.
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.
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.jep.walkers.PostfixDumperConsole
 
processEquation(Node) - Method in class com.singularsys.jep.walkers.PostfixEvaluationConsole
 
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.PrintConsole
 
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
 
readObject(ObjectInputStream) - Method in class com.singularsys.jep.Jep
 
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
 
RealEvalTest(String) - Constructor for class com.singularsys.jeptests.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
 
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
 
ReInit(Reader, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
ReInit(Reader) - Method in class com.singularsys.jep.parser.JavaCharStream
 
ReInit(InputStream, String, int, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
ReInit(InputStream, int, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
ReInit(InputStream, String, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
ReInit(InputStream, int, int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
ReInit(InputStream, String) - Method in class com.singularsys.jep.parser.JavaCharStream
 
ReInit(InputStream) - Method in class com.singularsys.jep.parser.JavaCharStream
 
ReInit(InputStream) - Method in class com.singularsys.jep.parser.JccParser
 
ReInit(InputStream, String) - Method in class com.singularsys.jep.parser.JccParser
 
ReInit(Reader) - Method in class com.singularsys.jep.parser.JccParser
 
ReInit(JccParserTokenManager) - Method in class com.singularsys.jep.parser.JccParser
 
ReInit(JavaCharStream) - Method in class com.singularsys.jep.parser.JccParserTokenManager
 
ReInit(JavaCharStream, int) - Method in class com.singularsys.jep.parser.JccParserTokenManager
 
reinitializeComponents() - Method in class com.singularsys.jep.Jep
 
RelationalExpression() - Method in class com.singularsys.jep.parser.JccParser
 
remove(String) - Method in class com.singularsys.jep.FunctionTable
 
removeOperator(Operator) - Method in class com.singularsys.jep.OperatorTable
Remove an operator from the table.
restart(Reader) - Method in class com.singularsys.jep.configurableparser.ConfigurableParser
Load a new stream to read from.
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 - 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
 
rootNodeToString() - Method in class com.singularsys.jep.Jep
Returns a string representation of the last expression parsed.
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
 
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
RRND - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
RSQ - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
run(Stack<Object>) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecAdd
 
run(Stack<Object>) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecDiv
 
run(Stack<Object>) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMod
 
run(Stack<Object>) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecMul
 
run(Stack<Object>) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecNegate
 
run(Stack<Object>) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecPow
 
run(Stack<Object>) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecRelational
 
run(Stack<Object>) - Method in class com.singularsys.jep.bigdecimal.functions.BigDecSub
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Abs
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Add
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack<Object>) - Method in class com.singularsys.jep.functions.ArcCosine
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.ArcCosineH
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.ArcSine
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.ArcSineH
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.ArcTangent
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.ArcTangent2
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.ArcTanH
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Arg
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Assign
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Binomial
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Ceil
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Comparative
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.ComplexPFMC
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Conjugate
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Cosine
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.CosineH
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Cross
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Divide
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Dot
 
run(Stack) - Method in class com.singularsys.jep.functions.Ele
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Exp
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Floor
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.If
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Imaginary
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.List
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Logarithm
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.LogBase2
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Logical
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Modulus
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Multiply
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.NaturalLogarithm
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Not
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Polar
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Power
 
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.Sine
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.SineH
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.SquareRoot
Applies the function to the parameters on the stack.
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Str
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Subtract
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Sum
Calculates the result of summing up all parameters, which are assumed to be of the Double type.
run(Stack<Object>) - Method in class com.singularsys.jep.functions.Tangent
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.TanH
 
run(Stack<Object>) - Method in class com.singularsys.jep.functions.UMinus
 
run(Stack<Object>) - Method in class com.singularsys.jep.misc.ExtendedOperatorSet.Factorial
 
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

S

sb - Variable in class com.singularsys.jep.PrintVisitor
 
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
 
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
 
SemiColonTerminalMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.TerminatorTokenMatcher
Factory creating a TerminalTokenMatcher which matches a semi-colon.
serialize(ObjectOutputStream, Node) - Method in class com.singularsys.jep.walkers.ExpressionSerializer
Serialize the expression.
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.
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.
setBinaryInverseOp(Operator) - Method in class com.singularsys.jep.Operator
 
setBinaryInverseOp(int, int) - Method in class com.singularsys.jep.OperatorTable
 
setComponent(JepComponent) - Method in class com.singularsys.jep.Jep
Sets a single component.
setComponents(JepComponent[]) - Method in class com.singularsys.jep.Jep
Sets one or more components for this Jep instance.
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().
setDebugStream(PrintStream) - Method in class com.singularsys.jep.parser.JccParserTokenManager
 
setDefaultValue(Object) - Method in class com.singularsys.jep.VariableFactory
Sets the default value used whenever a new variable is created.
setDistributiveOver(Operator) - Method in class com.singularsys.jep.Operator
 
setDistributiveOver(int, int) - Method in class com.singularsys.jep.OperatorTable
 
setExpressionString(String) - Method in class com.singularsys.jepexamples.applets.FractalCanvas
Parses a new expression
setExpressionString(String) - Method in class com.singularsys.jepexamples.applets.GraphCanvas
Sets a new string to be used as function
setFunction(String, PostfixMathCommandI) - Method in class com.singularsys.jep.parser.ASTFunNode
Sets the function for a node.
setHook(String, 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.
setInitialTokenManagerState(int) - Method in class com.singularsys.jep.parser.JccParser
Sets the initial state that the token manager is in.
setInverseOp(Operator) - Method in class com.singularsys.jep.Operator
 
setInverseOp(int, int) - Method in class com.singularsys.jep.OperatorTable
Creates the operator set from a given set.
setIsConstant(boolean) - Method in class com.singularsys.jep.Variable
 
setIterations(int) - Method in class com.singularsys.jepexamples.applets.FractalCanvas
 
setKey(int) - Method in class com.singularsys.jep.Operator
Key code used to identify the operator in the operator table.
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.
setNumberFormat(NumberFormat) - Method in class com.singularsys.jep.PrintVisitor
 
setNumOps(int) - Method in class com.singularsys.jep.OperatorTable
 
setOperator(Operator) - Method in class com.singularsys.jep.parser.ASTOpNode
Sets the opID, name and pfmc for this node by looking up the values in the Operators class
setPFMC(PostfixMathCommandI) - Method in class com.singularsys.jep.Operator
 
setPrecedence(int) - Method in class com.singularsys.jep.Operator
Set the precedence of the operator.
setPrecedenceTable(int[][]) - Method in class com.singularsys.jep.OperatorTable
Sets the precedence of all operators at one time.
setRe(double) - Method in class com.singularsys.jep.standard.Complex
Sets the real component of the object
setRootOp(Operator) - Method in class com.singularsys.jep.Operator
 
setRootOp(int, int) - Method in class com.singularsys.jep.OperatorTable
 
setStandardOperatorRelations() - Method in class com.singularsys.jep.OperatorTable
Sets up the standard relations between +,-,*,/
setTabSize(int) - Method in class com.singularsys.jep.parser.JavaCharStream
 
setTolerance(double) - Method in class com.singularsys.jep.functions.Comparative
Sets the tolerance used for comparing complex numbers
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.bigdecimal.functions.BigDecRelationalTest
 
setUp() - Method in class com.singularsys.jeptests.BigDecimalTest
 
setUp() - Method in class com.singularsys.jeptests.BugsTest
 
setUp() - Method in class com.singularsys.jeptests.CPTest
 
setUp() - Method in class com.singularsys.jeptests.JEPPrintTest
 
setUp() - Method in class com.singularsys.jeptests.JepTest
Sets up the parser.
setUp() - Method in class com.singularsys.jeptests.PostfixEvalTest
 
setUp() - Method in class com.singularsys.jeptests.RealEvalTest
 
setUp() - Method in class com.singularsys.jeptests.TokenizerTest
 
setUpBeforeClass() - Static method in class com.singularsys.jeptests.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.
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.
ShuntingYard - Class in com.singularsys.jep.configurableparser
An operator precedence parser based on the shunting yard algorithm.
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
 
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.
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
 
slashStarCommentMatcher() - Static method in class com.singularsys.jep.configurableparser.matchers.CommentTokenMatcher
 
specialConstructor - Variable in exception com.singularsys.jep.parser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
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.
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
 
SquareRoot() - Constructor for class com.singularsys.jep.functions.SquareRoot
 
StandardComponents - Class in com.singularsys.jep.standard
 
StandardComponents() - Constructor for class com.singularsys.jep.standard.StandardComponents
 
StandardEvaluator - Class in com.singularsys.jep.standard
 
StandardEvaluator() - Constructor for class com.singularsys.jep.standard.StandardEvaluator
 
StandardFunctionTable - Class in com.singularsys.jep.standard
 
StandardFunctionTable() - Constructor for class com.singularsys.jep.standard.StandardFunctionTable
 
StandardOperatorTable - Class in com.singularsys.jep.standard
 
StandardOperatorTable() - Constructor for class com.singularsys.jep.standard.StandardOperatorTable
Create the standard set of operators.
StandardParser - Class in com.singularsys.jep.parser
 
StandardParser() - Constructor for class com.singularsys.jep.parser.StandardParser
 
StandardVariableTable - Class in com.singularsys.jep.standard
 
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
 
Str - Class in com.singularsys.jep.functions
Converts an object into its string representation.
Str() - Constructor for class com.singularsys.jep.functions.Str
 
STRING_LITERAL - Static variable in interface com.singularsys.jep.parser.JccParserConstants
 
StringToken - Class in com.singularsys.jep.configurableparser.tokens
Single or double quoted strings.
StringToken(String, String, char) - 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
 
StringTokenMatcher(String) - Constructor for class com.singularsys.jep.configurableparser.matchers.StringTokenMatcher
 
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) - Method in class com.singularsys.jep.functions.Subtract
 
sub(Complex, Complex) - Method in class com.singularsys.jep.functions.Subtract
 
sub(Complex, Number) - Method in class com.singularsys.jep.functions.Subtract
 
sub(Number, Complex) - 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.
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
This class serves mainly as an example of a function that accepts any number of parameters.
Sum() - Constructor for class com.singularsys.jep.functions.Sum
Constructor.
supressExaminingChildren(Node) - Method in class com.singularsys.jep.walkers.PostfixEvaluator
 
supressExaminingChildren(Node) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
 
SwitchTo(int) - Method in class com.singularsys.jep.parser.JccParserTokenManager
 
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

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
 
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
 
Tangent() - Constructor for class com.singularsys.jep.functions.Tangent
 
TanH - Class in com.singularsys.jep.functions
 
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.TokenizerTest
 
tearDownAfterClass() - Static method in class com.singularsys.jeptests.TokenizerTest
 
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?
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
 
test(String, boolean) - Method in class com.singularsys.jeptests.BigDecimalTest
Test expression against boolean
test(String, String) - Method in class com.singularsys.jeptests.BigDecimalTest
 
testAddOp() - Method in class com.singularsys.jeptests.CPTest
 
testAssign() - Method in class com.singularsys.jeptests.JepTest
 
testBinom() - Method in class com.singularsys.jeptests.JepTest
 
testChangeVariable() - Method in class com.singularsys.jeptests.JepTest
Test changing variables value after parsing
testChangeVariable() - Method in class com.singularsys.jeptests.RealEvalTest
 
testComplex() - Method in class com.singularsys.jeptests.JepTest
 
testComplex() - Method in class com.singularsys.jeptests.RealEvalTest
 
testEle() - Method in class com.singularsys.jeptests.functions.EleTest
 
testEvaluate() - Method in class com.singularsys.jeptests.JepTest
Tests the evaluate() method.
testEvaluate() - Method in class com.singularsys.jeptests.RealEvalTest
 
testExtended() - Method in class com.singularsys.jeptests.TokenizerTest
 
testFormat() - Method in class com.singularsys.jeptests.JepTest
 
testFractalBug() - Method in class com.singularsys.jeptests.BugsTest
Tests a bug that lead the FractalCanvas example to fail
testFunction() - Method in class com.singularsys.jeptests.JepTest
 
testIf() - Method in class com.singularsys.jeptests.JepTest
 
testImplicitMul() - Method in class com.singularsys.jeptests.JepTest
 
testIt() - Method in class com.singularsys.jeptests.TokenizerTest
 
testJepInstance(Jep, String) - Method in class com.singularsys.jeptests.ExpressionEvalTest
Loads the file specified in fileName.
testListAccess() - Method in class com.singularsys.jeptests.JepTest
 
testListAccess() - Method in class com.singularsys.jeptests.RealEvalTest
 
testLogarithm() - Method in class com.singularsys.jeptests.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.JepTest
 
testMul() - Method in class com.singularsys.jeptests.ComplexTest
Tests the mul method
testMultiLineComments() - Method in class com.singularsys.jeptests.TokenizerTest
 
testMultiLineWhiteSpace() - Method in class com.singularsys.jeptests.TokenizerTest
 
testNaN() - Method in class com.singularsys.jeptests.JepTest
 
testNaturalLogarithm() - Method in class com.singularsys.jeptests.functions.NaturalLogarithmTest
Test method for 'org.nfunk.jep.function.Logarithm.run(Stack)' Tests the return value of log(NaN).
testNumbers() - Method in class com.singularsys.jeptests.JepTest
 
testNumParam() - Method in class com.singularsys.jeptests.JepTest
 
testPlusPlus() - Method in class com.singularsys.jeptests.JepTest
 
testPostfixEvaluator() - Method in class com.singularsys.jeptests.ExpressionEvalTest
 
testPower() - Method in class com.singularsys.jeptests.ComplexTest
Tests the power method
testReals() - Method in class com.singularsys.jeptests.ExpressionEvalTest
 
testRemoveWhitespace() - Method in class com.singularsys.jeptests.TokenizerTest
 
testScan() - Method in class com.singularsys.jeptests.TokenizerTest
 
testScanOps() - Method in class com.singularsys.jeptests.TokenizerTest
 
testSemiColon() - Method in class com.singularsys.jeptests.TokenizerTest
 
testSemiColon2() - Method in class com.singularsys.jeptests.TokenizerTest
 
testSetAllowUndeclared() - Method in class com.singularsys.jeptests.BugsTest
Tests bug [ 1585128 ] setAllowUndeclared does not work!!!
testSetAllowUndeclared() - Method in class com.singularsys.jeptests.JepTest
Tests whether allowUndeclared is working properly.
testSimpleSum() - Method in class com.singularsys.jeptests.JepTest
 
testSpecialCommands(String) - Method in class com.singularsys.jepexamples.consoles.BigDecimalConsole
 
testSpecialCommands(String) - Method in class com.singularsys.jepexamples.consoles.Console
Checks for special commands.
testStandard() - Method in class com.singularsys.jeptests.ExpressionEvalTest
 
testStrings() - Method in class com.singularsys.jeptests.JepTest
 
testStrings() - Method in class com.singularsys.jeptests.RealEvalTest
 
testTokens() - Method in class com.singularsys.jeptests.TokenizerTest
Tests individual tokens
testUminusPower() - Method in class com.singularsys.jeptests.JepTest
 
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
 
Token - Class in com.singularsys.jep.parser
Describes the input token stream.
Token() - Constructor for class com.singularsys.jep.parser.Token
 
token_source - Variable in class com.singularsys.jep.parser.JccParser
 
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
 
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, List<TokenMatcher>) - Constructor for class com.singularsys.jep.configurableparser.Tokenizer
Construct a tokenizer for a given input.
TokenizerTest - Class in com.singularsys.jeptests
 
TokenizerTest() - Constructor for class com.singularsys.jeptests.TokenizerTest
 
TokenMatcher - Interface in com.singularsys.jep.configurableparser.matchers
Interface defining classes which match tokens
TokenMgrError - Error in com.singularsys.jep.parser
 
TokenMgrError() - Constructor for error com.singularsys.jep.parser.TokenMgrError
 
TokenMgrError(String, int) - Constructor for error com.singularsys.jep.parser.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error com.singularsys.jep.parser.TokenMgrError
 
TokSpeed - Class in com.singularsys.jepexamples.diagnostics
Compares the speed of evaluation between standard evaluator and real evaluator and occasionally java.
TokSpeed() - Constructor for class com.singularsys.jepexamples.diagnostics.TokSpeed
 
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.Token
 
toString(Node) - Method in class com.singularsys.jep.Jep
Returns a string representation of an expression.
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.TreeAnalyzer.TreeCounts
 
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
 
TreeAnalyzer() - Constructor for class com.singularsys.jep.walkers.TreeAnalyzer
 
TreeAnalyzer.TreeCounts - Class in com.singularsys.jep.walkers
 
TreeAnalyzer.TreeCounts() - Constructor for class com.singularsys.jep.walkers.TreeAnalyzer.TreeCounts
 
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
 
unlimitedPrecisionTest() - Method in class com.singularsys.jeptests.BigDecimalTest
 
UpdateLineColumn(char) - Method in class com.singularsys.jep.parser.JavaCharStream
 
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
 

V

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() - Method in class com.singularsys.jep.FunctionTable
 
values() - Method in class com.singularsys.jep.VariableTable
A collection of all the variables
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're declared.
valueTest(String, Object) - Method in class com.singularsys.jeptests.JepTest
Test result j.evaluate(j.parse(expr))
valueTest(String, double, double) - Method in class com.singularsys.jeptests.JepTest
Test values to within a given precision
valueTest(String, Object) - Method in class com.singularsys.jeptests.RealEvalTest
 
valueTestNaN(String) - Method in class com.singularsys.jeptests.JepTest
Test whether an expression evaluates to NaN
valueTestString(String, String) - Method in class com.singularsys.jeptests.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.
VariableFactory - Class in com.singularsys.jep
A factory class which is used to create variables.
VariableFactory() - Constructor for class com.singularsys.jep.VariableFactory
 
VariableTable - Class in com.singularsys.jep
 
VariableTable() - Constructor for class com.singularsys.jep.VariableTable
 
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
 
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.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, int, int) - Method in class com.singularsys.jep.walkers.ExpressionSerializer
 
visit(ASTFunNode, int, int) - Method in class com.singularsys.jep.walkers.ExpressionSerializer
 
visit(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.ExpressionSerializer
 
visit(ASTFunNode, 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(ASTVarNode, int, int) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
 
visit(ASTConstant, int, int) - Method in class com.singularsys.jep.walkers.PostfixTreeWalker
 
visit(ASTConstant, Object) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 
visit(ASTOpNode, Object) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 
visit(ASTFunNode, Object) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 
visit(ASTVarNode, Object) - Method in class com.singularsys.jep.walkers.PrefixTreeDumper
 
visit(ASTFunNode, 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
 
visitConstant(ASTConstant) - Method in class com.singularsys.jep.reals.RealEvaluator
 
visitFun(ASTFunNode) - Method in class com.singularsys.jep.standard.StandardEvaluator
Visits a function/operator node.
visitFunction(ASTFunNode) - Method in class com.singularsys.jep.reals.RealEvaluator
 
visitVariable(ASTVarNode) - Method in class com.singularsys.jep.reals.RealEvaluator
 

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
 
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
 

Z

ZERO - Static variable in class com.singularsys.jep.standard.DoubleNumberFactory
 

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

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