- column - Variable in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- ComplexConstant - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
A
ComplexConstant
is a
Constant
of
Type
ComplexType
.
- ComplexConstant(String, Complex, Type) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexConstant
-
Creates a new ComplexConstant
.
- ComplexDivideComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexDivideComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexDivideComplexEvaluator
-
Creates a new ComplexDivideComplexEvaluator
with the specified
operand Evaluators
.
- ComplexDivideRealEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexDivideRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexDivideRealEvaluator
-
Creates a new ComplexDivideRealEvaluator
with the specified
operand Evaluators
.
- ComplexEvaluator - Interface in de.jtem.mathExpr.evaluator.complexEvaluator
-
Every Evaluator
which evaluation result is a
Complex
value is implementing this interface.
- ComplexMinusComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexMinusComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexMinusComplexEvaluator
-
Creates a new ComplexMinusComplexEvaluator
with the specified
operand Evaluators
.
- ComplexMinusRealEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexMinusRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexMinusRealEvaluator
-
Creates a new ComplexMinusRealEvaluator
with the specified
operand Evaluators
.
- ComplexPlusComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexPlusComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexPlusComplexEvaluator
-
Creates a new ComplexPlusComplexEvaluator
with the specified
operand Evaluators
.
- ComplexPlusRealEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexPlusRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexPlusRealEvaluator
-
Creates a new RealPlusRealEvaluator
with the specified
operand Evaluators
.
- ComplexPowerComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexPowerComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexPowerComplexEvaluator
-
Creates a new ComplexPowerComplexEvaluator
with the specified
operand Evaluators
.
- ComplexPowerRealEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexPowerRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexPowerRealEvaluator
-
Creates a new ComplexPowerRealEvaluator
with the specified
operand Evaluators
.
- ComplexTimesComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexTimesComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexTimesComplexEvaluator
-
Creates a new ComplexTimesComplexEvaluator
with the specified
operand Evaluators
.
- ComplexTimesComplexVectorEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
The
Evaluator
evaluating a
BinaryOperation
of type '*',
which first operand is a
Complex
and second operand is a
ComplexVector
when evaluated.
- ComplexTimesComplexVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexTimesComplexVectorEvaluator
-
Creates a new ComplexTimesComplexVectorEvaluator
with the
specified operand Evaluators
.
- ComplexTimesRealEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- ComplexTimesRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexTimesRealEvaluator
-
Creates a new ComplexTimesRealEvaluator
with the specified
operand Evaluators
.
- ComplexTimesRealVectorEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
The
Evaluator
evaluating a
BinaryOperation
of type '*',
which first operand is a
Complex
and second operand is a
RealVector
when evaluated.
- ComplexTimesRealVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexTimesRealVectorEvaluator
-
Creates a new ComplexTimesRealVectorEvaluator
with the
specified operand Evaluators
.
- ComplexType - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
The evaluation
Type
when a certain part of an
Expression
is a
Complex
when evaluated.
- ComplexType() - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
Creates a new ComplexType
instance.
- ComplexVariable - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
A
ComplexVariable
is a
Variable
of
Type
ComplexType
.
- ComplexVariable(String, Complex, Type) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexVariable
-
Creates a new ComplexVariable
.
- ComplexVectorDivideComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
The
Evaluator
evaluating a
BinaryOperation
of type '/',
which first operand is a
ComplexVector
and second operand is a
Complex
when evaluated.
- ComplexVectorDivideComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorDivideComplexEvaluator
-
Creates a new ComplexVectorDivideComplexEvaluator
with the
specified operand Evaluators
.
- ComplexVectorEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
- ComplexVectorEvaluator(List, Evaluator[]) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorEvaluator
-
Creates a new ComplexVectorEvaluator
with the specified
entry Evaluators
and the List
representing
the ComplexVector
.
- ComplexVectorMinusComplexVectorEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
- ComplexVectorMinusComplexVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorMinusComplexVectorEvaluator
-
Creates a new ComplexVectorMinusComplexVectorEvaluator
with
the specified operand Evaluators
.
- ComplexVectorPlusComplexVectorEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
- ComplexVectorPlusComplexVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorPlusComplexVectorEvaluator
-
Creates a new ComplexVectorPlusComplexVectorEvaluator
with
the specified operand Evaluators
.
- ComplexVectorTimesComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
The
Evaluator
evaluating a
BinaryOperation
of type '*',
which first operand is a
ComplexVector
and second operand is a
Complex
when evaluated.
- ComplexVectorTimesComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorTimesComplexEvaluator
-
Creates a new ComplexVectorTimesComplexEvaluator
with the specified operand Evaluators
.
- ComplexVectorType - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
The evaluation
Type
when a certain part of an
Expression
is a
ComplexVector
when evaluated.
- ComplexVectorType() - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
Creates a new ComplexVectorType
instance.
- Constant - Class in de.jtem.mathExpr.evaluator
-
Represents a mathematical number, which value never changes.
- Constant(String, Object, Type) - Constructor for class de.jtem.mathExpr.evaluator.Constant
-
Creates a new Constant
with the name n
,
the value val
and the Type t
.
- CONSTANTS - Static variable in class de.jtem.mathExpr.evaluator.Constant
-
An array of all static final Constant
fields of this class.
- containsFunction(String) - Method in class de.jtem.mathExpr.DefinitionModel
-
Returns
true
if this
DefinitionModel
contains a
Function
with the specified
name
;
false
otherwise.
- containsVariable(String) - Method in class de.jtem.mathExpr.DefinitionModel
-
Returns
true
if this
DefinitionModel
contains a
Variable
with the specified
name
;
false
otherwise.
- Context - Interface in de.jtem.mathExpr.evaluator
-
- cos() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- COS - Static variable in class de.jtem.mathExpr.PredefinedFunction
-
This PredefinedFunction
instance represents the
cos
function.
- CosEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.CosEvaluator
-
Creates a new CosEvaluator
with the parameter
Evaluator e
.
- CosEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.CosEvaluator
-
Creates a new CosEvaluator
with the parameter
Evaluator e
.
- createBinaryOperation(int) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Creates and returns a new
BinaryOperation
with the type
i
and a default priority.
- createBinaryOperation(Expression, Expression, int) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Added for javacc generated parser.
- createFunctionCall(String) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Creates and returns a new
FunctionCall
with the specified
String
as the name of the
Function
which is calling
and a default priority.
- createFunctionCall(String, List) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Added for javacc generated parser.
- createImplicitMultOperation() - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Creates and returns a new
BinaryOperation
with the type '*' and a
default priority.
- createImplicitOperation(Expression) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
- createList() - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Added for javacc generated parser (and only because of consistency).
- createSymbol(String) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Creates and returns a new
Symbol
representing a
Variable
with the name
s
.
- createSymbol(double) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Creates and returns a new
Symbol
representing a constant number
with the value
d
.
- createUnaryOperation(int) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Creates and returns a new
UnaryOperation
with the type
i
and a default priority.
- createUnaryOperation(Expression, int) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Added for javacc generated parser.
- createVariable(String, Object) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
- createVariable(String, Object) - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
Not implemented yet.
- createVariable(String, Object) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
- createVariable(String, Object) - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
Not implemented yet.
- createVariable(String, Object) - Method in interface de.jtem.mathExpr.evaluator.Type
-
Create and return a new Variable
.
- curChar - Variable in class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- currentToken - Variable in exception de.jtem.mathExpr.parser.javacc.ParseException
-
This is the last token that has been consumed successfully.
- de.jtem.mathExpr - package de.jtem.mathExpr
-
The mathExpr
library provides classes to parse and evaluate
mathematical expressions.
- de.jtem.mathExpr.evaluator - package de.jtem.mathExpr.evaluator
-
Provides classes to evaluate an mathExpr.parser.Expression
which was parsed from a String
.
- de.jtem.mathExpr.evaluator.complexEvaluator - package de.jtem.mathExpr.evaluator.complexEvaluator
-
Contains all Evaluators
evaluating an
mathExpr.parser.Expression
to a mfc.field.Complex
result.
- de.jtem.mathExpr.evaluator.complexVectorEvaluator - package de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
Contains all Evaluators
evaluating an
mathExpr.parser.Expression
to a blas.ComplexVector
result.
- de.jtem.mathExpr.evaluator.realEvaluator - package de.jtem.mathExpr.evaluator.realEvaluator
-
Contains all Evaluators
evaluating an
mathExpr.parser.Expression
to a mathExpr.evaluator.realEvaluator.Real
result.
- de.jtem.mathExpr.evaluator.realVectorEvaluator - package de.jtem.mathExpr.evaluator.realVectorEvaluator
-
Contains all Evaluators
evaluating an
mathExpr.parser.Expression
to a blas.RealVector
result.
- de.jtem.mathExpr.example - package de.jtem.mathExpr.example
-
Contains example classes or even hole applications using the
mathExpr
library.
- de.jtem.mathExpr.parser - package de.jtem.mathExpr.parser
-
Contains all classes regarding to the parsing functionality of the
mathExpr
library.
- de.jtem.mathExpr.parser.javacc - package de.jtem.mathExpr.parser.javacc
-
- debugStream - Variable in class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- DEFAULT - Static variable in interface de.jtem.mathExpr.parser.javacc.ParserConstants
-
- defineFunction(String, String[], Expression) - Method in class de.jtem.mathExpr.DefinitionModel
-
Defines and returns a new UserDefinedFunction
with the
specified name
, parameters
and
definition
.
- defineFunction(String, String[], String) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- defineFunction(String, String[], Expression) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- defineVariable(String, Object, Type) - Method in class de.jtem.mathExpr.DefinitionModel
-
Defines and returns a new Variable
with the specified
name
, value
and type
.
- defineVariable(String, Object, Type) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- definition - Variable in class de.jtem.mathExpr.UserDefinedFunction
-
The function's definition.
- DefinitionModel - Class in de.jtem.mathExpr
-
- DefinitionModel() - Constructor for class de.jtem.mathExpr.DefinitionModel
-
Creates a new
DefinitionModel
which already holds all possible
PredefinedFunction
Objects.
- differentiate(String) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- differentiate(Symbol) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Returns the simplified derivative of the current set Expression with
respect to the Symbol s.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.Addition
-
Returns the derivative of this Addition with respect to s.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.Division
-
Returns the derivative of this Division with respect to s.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.Expression
-
Returns the derivative of this Expression with respect to the Symbol s.
- differentiate(String) - Method in class de.jtem.mathExpr.parser.Expression
-
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.FunctionCall
-
Returns the derivative of this function call.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.List
-
Returns a new List with this List entries differentiated.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.Multiplication
-
Returns the derivative of this Multiplication with respect to s.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.NegativeSign
-
Returns the derivative of this NegativeSign with respect to s.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.PositiveSign
-
Returns the derivative of this PositiveSign with respect to s.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.Power
-
Returns the derivative of this Power with respect to s.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.Subtraction
-
Returns the derivative of this Subtraction with respect to s.
- differentiate(Symbol) - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns a Symbol with constant value 1 if this Symbol equals
s.
- disable_tracing() - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- dissolveFunctionCalls() - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- dissolveFunctionCalls() - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
- dissolveFunctionCalls() - Method in class de.jtem.mathExpr.parser.Expression
-
Inserts the arguments of any FunctionCall in the expression-tree-hierarchy
into the appropriate function definitions and replaces the FunctionCalls
by that new Expressions.
- dissolveFunctionCalls() - Method in class de.jtem.mathExpr.parser.FunctionCall
-
Inserts all arguments of this FunctionCall into the function definition
and returns that new Expression.
- dissolveFunctionCalls() - Method in class de.jtem.mathExpr.parser.List
-
- dissolveFunctionCalls() - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns this.
- dissolveFunctionCalls() - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
- divide(Real) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- divide(double) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- Division - Class in de.jtem.mathExpr.parser
-
The BinaryOperation with the operator '/'.
- Division() - Constructor for class de.jtem.mathExpr.parser.Division
-
Creates a new Division object with no operands.
- Division(Expression, Expression) - Constructor for class de.jtem.mathExpr.parser.Division
-
Creates a new Division object with the specified operands.
- Done() - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- E - Static variable in class de.jtem.mathExpr.evaluator.Constant
-
Represents the mathematical constant e=2.7182....
- enable_tracing() - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- endColumn - Variable in class de.jtem.mathExpr.parser.javacc.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 de.jtem.mathExpr.parser.javacc.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.
- entryEval - Variable in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorEvaluator
-
The
Evaluators
for the entries of the
List
.
- entryEval - Variable in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorEvaluator
-
The
Evaluators
for the entries of the
List
.
- EOF - Static variable in interface de.jtem.mathExpr.parser.javacc.ParserConstants
-
- eol - Variable in exception de.jtem.mathExpr.parser.javacc.ParseException
-
The end of line string for this machine.
- equals(Object) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
- equals(Object) - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
- equals(Object) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- equals(Object) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
- equals(Object) - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
- equals(Object) - Method in class de.jtem.mathExpr.evaluator.Variable
-
- equals(Object) - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns true
if the specified Object
is a
BinaryOperation
of the same operation type and with equal
operands, false
otherwise.
- equals(Object) - Method in class de.jtem.mathExpr.parser.FunctionCall
-
Returns true
if the specified Object
is a
FunctionCall
to the same funtion and with equal parameters,
false
otherwise.
- equals(Object) - Method in class de.jtem.mathExpr.parser.List
-
Returns true
if the specified Object
is also a
List
, the number of entries is equal and all entries are equal to
this List
entries, false
otherwise.
- equals(Object) - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns true
if the specified Object
is a
Symbol
representing the same constant number respectively
the same variable name, false
otherwise.
- equals(Object) - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Returns true
if the specified Object
is a
UnaryOperation
of the same operation type and with an equal
operand, false
otherwise.
- eval(Complex) - Method in class de.jtem.mathExpr.example.GenericComplexFunction
-
Evaluates this ComplexFunction
with z
as the
current parameter value and returns the result as a new
Complex
.
- eval(Complex, Complex) - Method in class de.jtem.mathExpr.example.GenericComplexFunction
-
Evaluates this ComplexFunction
with z
as the
current parameter value and returns the result in result
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexDivideComplexEvaluator
-
Executes the division on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexDivideRealEvaluator
-
Executes the division on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexMinusComplexEvaluator
-
Executes the subtraction on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexMinusRealEvaluator
-
Executes the subtraction on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexPlusComplexEvaluator
-
Executes the addition on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexPlusRealEvaluator
-
Executes the addition on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexPowerComplexEvaluator
-
Executes the power on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexPowerRealEvaluator
-
Executes the power on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexTimesComplexEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexTimesRealEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.NegativeSignComplexEvaluator
-
Executes the negative on the complex evaluation result of the given operand
Evaluator
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.PositiveSignComplexEvaluator
-
Returns the complex evaluation result of the given operand
Evaluator
as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.CosEvaluator
-
Executes cosine on the complex evaluation result of the given parameter
Evaluator
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator
-
Execute the certain function call on the evaluation result of the given
parameter Evaluator
and return the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.ExpEvaluator
-
Executes exponential function on the complex evaluation result of the given
parameter Evaluator
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.LogEvaluator
-
Executes natural logarithm on the complex evaluation result of the given
parameter Evaluator
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.SinEvaluator
-
Executes sine on the complex evaluation result of the given parameter
Evaluator
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.SqrtEvaluator
-
Executes square root on the complex evaluation result of the given
parameter Evaluator
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.TanEvaluator
-
Executes tangent on the complex evaluation result of the given parameter
Evaluator
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.RealDivideComplexEvaluator
-
Executes the division on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.RealMinusComplexEvaluator
-
Executes the subtraction on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.RealPowerComplexEvaluator
-
Executes the power on the evaluation results of the given operand
Evaluators
and returns the result as a Complex
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexTimesComplexVectorEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexTimesRealVectorEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorDivideComplexEvaluator
-
Executes the division on the evaluation results of the given operand
Evaluators
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorEvaluator
-
Fills a vector with the evaluation results of the given entry
Evaluators
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorMinusComplexVectorEvaluator
-
Executes the subtraction on the evaluation results of the given operand
Evaluators
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorPlusComplexVectorEvaluator
-
Executes the addition on the evaluation results of the given operand
Evaluators
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorTimesComplexEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.NegativeSignComplexVectorEvaluator
-
Executes the negative on the complex-vector evaluation result of the given
operand Evaluator
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.PositiveSignComplexVectorEvaluator
-
Returns the complex-vector evaluation result of the given operand
Evaluator
as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.RealTimesComplexVectorEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a ComplexVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.Constant
-
Evaluates this Constant
by returning its value.
- evaluate() - Method in interface de.jtem.mathExpr.evaluator.Evaluator
-
Evaluate an
Expression
and return the result as an
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.FunctionCallEvaluator
-
Evaluates a
FunctionCall
and returns the value as an
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.NegativeSignRealEvaluator
-
Executes the negative on the real evaluation result of the given operand
Evaluator
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PositiveSignRealEvaluator
-
Returns the real evaluation result of the given operand
Evaluator
as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.ATanEvaluator
-
Executes atan on the real evaluation result of the given parameter
Evaluator
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.CosEvaluator
-
Executes cosine on the real evaluation result of the given parameter
Evaluator
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator
-
Execute the certain function call on the evaluation result of the given
parameter
Evaluator
and return the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.ExpEvaluator
-
Executes exponential function on the real evaluation result of the given
parameter
Evaluator
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.LogEvaluator
-
Executes natural logarithm on the real evaluation result of the given
parameter
Evaluator
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.SinEvaluator
-
Executes sine on the real evaluation result of the given parameter
Evaluator
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.SqrtEvaluator
-
Executes square root on the real evaluation result of the given parameter
Evaluator
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.TanEvaluator
-
Executes tangent on the real evaluation result of the given parameter
Evaluator
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealDivideRealEvaluator
-
Executes the division on the evaluation results of the given operand
Evaluators
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealMinusRealEvaluator
-
Executes the subtraction on the evaluation results of the given operand
Evaluators
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealPlusRealEvaluator
-
Executes the addition on the evaluation results of the given operand
Evaluators
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealPowerRealEvaluator
-
Executes the power on the evaluation results of the given operand
Evaluators
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealTimesRealEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a
Real
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.NegativeSignRealVectorEvaluator
-
Executes the negative on the real-vector evaluation result of the given
operand Evaluator
and returns the result as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.PositiveSignRealVectorEvaluator
-
Returns the real-vector evaluation result of the given operand
Evaluator
as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealDivideRealVectorEvaluator
-
Executes the division on the evaluation results of the given operand
Evaluators
and returns the result as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealTimesRealVectorEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorDivideRealEvaluator
-
Executes the division on the evaluation results of the given operand
Evaluators
and returns the result as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorEvaluator
-
Fills a vector with the evaluation results of the given entry
Evaluators
and returns the result as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorMinusRealVectorEvaluator
-
Executes the subtraction on the evaluation results of the given operand
Evaluators
and returns the result as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorPlusRealVectorEvaluator
-
Executes the addition on the evaluation results of the given operand
Evaluators
and returns the result as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorTimesRealEvaluator
-
Executes the product on the evaluation results of the given operand
Evaluators
and returns the result as a RealVector
Object
.
- evaluate() - Method in class de.jtem.mathExpr.evaluator.Variable
-
Evaluates this Variable
by returning its value.
- evaluateExpression() - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- Evaluator - Interface in de.jtem.mathExpr.evaluator
-
The interface for all evaluators which can be created from an
Expression
.
- exp() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- EXP - Static variable in class de.jtem.mathExpr.PredefinedFunction
-
This PredefinedFunction
instance represents the
exp
function.
- ExpandBuff(boolean) - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- expectedTokenSequences - Variable in exception de.jtem.mathExpr.parser.javacc.ParseException
-
Each entry in this array is an array of integers.
- ExpEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.ExpEvaluator
-
Creates a new ExpEvaluator
with the parameter
Evaluator e
.
- ExpEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.ExpEvaluator
-
Creates a new ExpEvaluator
with the parameter
Evaluator e
.
- Expression - Class in de.jtem.mathExpr.parser
-
An
Expression
describes a mathematical expression (term)
and usually it is the result of a
String
-parsing by
the
Parser
.
- Expression() - Constructor for class de.jtem.mathExpr.parser.Expression
-
- expression() - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- ExpressionConfiguration - Class in de.jtem.mathExpr
-
An
ExpressionConfiguration
is a fundamental class for parsing
and evaluating
Expressions
.
- ExpressionConfiguration() - Constructor for class de.jtem.mathExpr.ExpressionConfiguration
-
- ExpressionConfiguration(DefinitionModel) - Constructor for class de.jtem.mathExpr.ExpressionConfiguration
-
Creates a new
ExpressionConfiguration
instance with
ComplexType.TYPE
as the
Type
for evaluating
Symbols
and
the specified
DefinitionModel
.
- ExpressionConfiguration(Type) - Constructor for class de.jtem.mathExpr.ExpressionConfiguration
-
Creates a new
ExpressionConfiguration
instance with the
specified
Type
for evaluating
Symbols
.
- ExpressionConfiguration(Type, DefinitionModel) - Constructor for class de.jtem.mathExpr.ExpressionConfiguration
-
Creates a new
ExpressionConfiguration
instance with the
specified
Type
for evaluating
Symbols
and
the specified
DefinitionModel
.
- ExpressionFactory - Class in de.jtem.mathExpr.parser
-
Provides methods to create most possible kinds of
Expressions
.
- ExpressionFactory(DefinitionModel) - Constructor for class de.jtem.mathExpr.parser.ExpressionFactory
-
Creates a new ExpressionFactory
instance.
- generateParseException() - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- GenericComplexFunction - Class in de.jtem.mathExpr.example
-
A class representing a modifiable ComplexFunction
.
- GenericComplexFunction() - Constructor for class de.jtem.mathExpr.example.GenericComplexFunction
-
- getBeginColumn() - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- getBeginLine() - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- getCallEvaluator(Type, Context) - Method in class de.jtem.mathExpr.Function
-
Return the Evaluator
for this Function
.
- getCallEvaluator(Type, Context) - Method in class de.jtem.mathExpr.PredefinedFunction
-
Returns the Evaluator
for this PredefinedFunction
according to the Type
the parameter will be evaluated to.
- getCallEvaluator(Type, Context) - Method in class de.jtem.mathExpr.UserDefinedFunction
-
- getComplexFunction() - Method in class de.jtem.mathExpr.example.GenericComplexFunction
-
Returns the String
representing the current function's
definition.
- getComplexValue(Complex) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.AbstractComplexEvaluator
-
Assigns c
the evaluated Complex
value.
- getComplexValue(Complex) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexConstant
-
- getComplexValue(Complex) - Method in interface de.jtem.mathExpr.evaluator.complexEvaluator.ComplexEvaluator
-
Assign c
the evaluated Complex
value.
- getComplexValue(Complex) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexVariable
-
- getComplexVectorValue(ComplexVector) - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.AbstractComplexVectorEvaluator
-
Assigns v
the evaluated ComplexVector
value.
- getConstant(Symbol, Type) - Static method in class de.jtem.mathExpr.evaluator.Constant
-
Either returns the
Constant
represented by the specified
Symbol
and
Type
if contained by the
Constant.CONSTANTS
array, or returns
null
if an appropriate
Constant
does not exist in that array.
- getConstantValue() - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns the constant double value this Symbol
is representing
if this Symbol
is constant.
- getDefinition() - Method in class de.jtem.mathExpr.UserDefinedFunction
-
Returns the Expression representing the function's definition.
- getDefinitionModel() - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- getDerivative(int) - Method in class de.jtem.mathExpr.Function
-
Returns the derivative function of this Function with respect to the
paramIndex' parameter.
- getDerivative(int) - Method in class de.jtem.mathExpr.UserDefinedFunction
-
Returns the derivative function of this UserDefinedFunction with
respect to the paramIndex' parameter.
- getEndColumn() - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- getEndLine() - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- getEntries() - Method in class de.jtem.mathExpr.parser.List
-
Returns all Expression
which are entries of this
List
.
- getEntry(int) - Method in class de.jtem.mathExpr.parser.List
-
Returns the Expression
which is located at the
index'
position of this List
.
- getEntryCount() - Method in class de.jtem.mathExpr.parser.List
-
Returns the number of entries this List
is containing.
- getEssentialVariables(Collection) - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Adds the names of the
Variables
which are essential for
evaluation into the specified
Collection
.
- getEssentialVariables() - Method in class de.jtem.mathExpr.parser.Expression
-
Returns a
Collection
of the names of all
Variables
which are essential to evaluate this
Expression
.
- getEssentialVariables(Collection) - Method in class de.jtem.mathExpr.parser.Expression
-
Add all names of essential Variables
into the specified
Collection
.
- getEssentialVariables(Collection) - Method in class de.jtem.mathExpr.parser.List
-
Adds the names of the
Variables
which are essential for
evaluation into the specified
Collection
.
- getEssentialVariables(Collection) - Method in class de.jtem.mathExpr.parser.Symbol
-
Adds the name of the
Variable
represented by this
Symbol
to the specified
Collection
.
- getEssentialVariables(Collection) - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Adds the names of the
Variables
which are essential for
evaluation into the specified
Collection
.
- getEvaluator(Symbol) - Method in class de.jtem.mathExpr.DefinitionModel
-
Returns the
Variable
the specified
Symbol
is
representing.
- getEvaluator(FunctionCall, Context) - Method in class de.jtem.mathExpr.evaluator.AbstractType
-
Returns the
Evaluator
for the specified
FunctionCall
which parameter expressions
can be several
Types
when evaluated.
- getEvaluator(Symbol, Context) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
- getEvaluator(UnaryOperation, Evaluator) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
Returns the Evaluator
for the specified
UnaryOperation
which operand is a Complex
when evaluated.
- getEvaluator(BinaryOperation, Evaluator, Evaluator) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
Returns the Evaluator
for the specified
BinaryOperation
which first operand is a Complex
when evaluated.
- getEvaluator(List, Evaluator[]) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
Returns the
Evaluator
for the specified
List
which all entries are either
Complex
or
Real
when
evaluated (at least one entry must be
Complex
).
- getEvaluator(PredefinedFunction, Evaluator) - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
Returns the Evaluator
for the specified
PredefinedFunction
which parameter is a Complex
when evaluated.
- getEvaluator(Symbol, Context) - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
Throws an UnsupportedOperationException
because this method is not implemented yet.
- getEvaluator(UnaryOperation, Evaluator) - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
Returns the Evaluator
for the specified
UnaryOperation
which operand is a ComplexVector
when evaluated.
- getEvaluator(BinaryOperation, Evaluator, Evaluator) - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
Returns the Evaluator
for the specified
BinaryOperation
which first operand is a ComplexVector
when evaluated.
- getEvaluator(List, Evaluator[]) - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
Throws an UnsupportedOperationException
, because this method
is not implemented yet.
- getEvaluator(PredefinedFunction, Evaluator) - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
Throws an UnsupportedOperationException
, because this method
is not implemented yet.
- getEvaluator(Symbol) - Method in interface de.jtem.mathExpr.evaluator.Context
-
Return the Evaluator
for the specified Symbol
.
- getEvaluator(Symbol) - Method in class de.jtem.mathExpr.evaluator.FunctionCallEvaluator
-
Returns the parameter evaluator or the global
Variable
regarding
to the specified
Symbol
.
- getEvaluator(Symbol, Context) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
- getEvaluator(UnaryOperation, Evaluator) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
Returns the
Evaluator
for the specified
UnaryOperation
which operand is a
Real
when evaluated.
- getEvaluator(BinaryOperation, Evaluator, Evaluator) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
Returns the
Evaluator
for the specified
BinaryOperation
which first operand is a
Real
when evaluated.
- getEvaluator(List, Evaluator[]) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
Returns the
Evaluator
for the specified
List
which all entries are
Real
when evaluated.
- getEvaluator(PredefinedFunction, Evaluator) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
Returns the
Evaluator
for the specified
PredefinedFunction
which parameter is a
Real
when
evaluated.
- getEvaluator(Symbol, Context) - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
Throws an UnsupportedOperationException
because this method is not implemented yet.
- getEvaluator(UnaryOperation, Evaluator) - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
Returns the Evaluator
for the specified
UnaryOperation
which operand is a RealVector
when evaluated.
- getEvaluator(BinaryOperation, Evaluator, Evaluator) - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
Returns the Evaluator
for the specified
BinaryOperation
which first operand is a RealVector
when evaluated.
- getEvaluator(List, Evaluator[]) - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
Throws an UnsupportedOperationException
, because this method
is not implemented yet.
- getEvaluator(PredefinedFunction, Evaluator) - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
Throws an UnsupportedOperationException
, because this method
is not implemented yet.
- getEvaluator(Symbol, Context) - Method in interface de.jtem.mathExpr.evaluator.Type
-
Return the Evaluator
for the specified Symbol
.
- getEvaluator(UnaryOperation, Evaluator) - Method in interface de.jtem.mathExpr.evaluator.Type
-
Return the Evaluator
for the specified
UnaryOperation
.
- getEvaluator(BinaryOperation, Evaluator, Evaluator) - Method in interface de.jtem.mathExpr.evaluator.Type
-
Return the Evaluator
for the specified
BinaryOperation
.
- getEvaluator(List, Evaluator[]) - Method in interface de.jtem.mathExpr.evaluator.Type
-
Return the Evaluator
for the specified List
.
- getEvaluator(FunctionCall, Context) - Method in interface de.jtem.mathExpr.evaluator.Type
-
Return the Evaluator
for the specified
FunctionCall
.
- getEvaluator(PredefinedFunction, Evaluator) - Method in interface de.jtem.mathExpr.evaluator.Type
-
Return the Evaluator
for the specified
PredefinedFunction
.
- getEvaluator() - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Returns the Evaluator
for the current Expression
.
- getEvaluator(Type, Context) - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns the Evaluator
for this BinaryOperation
.
- getEvaluator(Type, Context) - Method in class de.jtem.mathExpr.parser.Expression
-
Return the Evaluator
for this Expression
.
- getEvaluator(Type, Context) - Method in class de.jtem.mathExpr.parser.FunctionCall
-
Returns the Evaluator
for this FunctionCall
.
- getEvaluator(Type, Context) - Method in class de.jtem.mathExpr.parser.List
-
Returns the Evaluator
for this List
.
- getEvaluator(Type, Context) - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns the Evaluator
for this Symbol
.
- getEvaluator(Type, Context) - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Returns the Evaluator
for this UnaryOperation
.
- getExpression() - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Returns the Expression
this
ExpressionConfiguration
currently represents or null
if an Expression
wasn't set yet.
- getExpressionFactory() - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Returns the
ExpressionFactory
which is neccessary for any
instantiated
Parser
.
- getFunction(String) - Method in class de.jtem.mathExpr.DefinitionModel
-
Returns the Function
with the specified name
or
null
if the Function
does not exist yet.
- getFunction(FunctionCall) - Method in class de.jtem.mathExpr.DefinitionModel
-
Returns the Function
according to the specified
FunctionCall
.
- getFunction(FunctionCall) - Method in interface de.jtem.mathExpr.evaluator.Context
-
Return the Function
the specified
FunctionCall
is calling.
- getFunction(FunctionCall) - Method in class de.jtem.mathExpr.evaluator.FunctionCallEvaluator
-
- getFunctionName(Expression) - Method in class de.jtem.mathExpr.parser.ExpressionFactory
-
Added for javacc generated parser.
- getFunctionName() - Method in class de.jtem.mathExpr.parser.FunctionCall
-
Returns the name of the
Function
this
FunctionCall
"is calling".
- GetImage() - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- getMessage() - Method in exception de.jtem.mathExpr.parser.javacc.ParseException
-
This method has the standard behavior when this object has been
created using the standard constructors.
- getMessage() - Method in error de.jtem.mathExpr.parser.javacc.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getName() - Method in class de.jtem.mathExpr.evaluator.Variable
-
Returns the name of this Variable
.
- getName() - Method in class de.jtem.mathExpr.Function
-
Returns this' function name.
- getNextToken() - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- getNextToken() - Method in class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- getOperand() - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Returns the operand of this UnaryOperation
or
null
if there is no operand defined yet.
- getOperand1() - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns the first operand of this BinaryOperation
or
null
if there is no operand defined yet.
- getOperand2() - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns the second operand of this BinaryOperation
or
null
if there is no operand defined yet.
- getParameter(int) - Method in class de.jtem.mathExpr.Function
-
Returns the index' parameter name.
- getParameterCount() - Method in class de.jtem.mathExpr.Function
-
Returns the number of parameters this Function
depends on.
- getParameterCount() - Method in class de.jtem.mathExpr.parser.FunctionCall
-
Returns the number of parameter values the operand
Expression
of this
FunctionCall contains.
- getParameterEvaluator(int) - Method in class de.jtem.mathExpr.evaluator.FunctionCallEvaluator
-
Returns a new Evaluator
for the index'
parameter.
- getParameterIndex(String) - Method in class de.jtem.mathExpr.Function
-
Returns the index of the parameter param
or -1
if this Function
does not have that parameter.
- getParameters() - Method in class de.jtem.mathExpr.Function
-
Returns all parameter names.
- getPriority() - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns the evaluation priority of this BinaryOperation
.
- getPriority() - Method in class de.jtem.mathExpr.parser.Expression
-
Return the evaluation priority of this Expression
.
- getPriority() - Method in class de.jtem.mathExpr.parser.List
-
Returns a constant value, because a List
must not have a
priority.
- getPriority() - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns a constant value, because a Symbol
must not have a
priority.
- getPriority() - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Returns the evaluation priority of this UnaryOperation
.
- getRealValue(Real) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.AbstractRealEvaluator
-
Assigns r
the evaluated Real
value.
- getRealValue(Real) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealConstant
-
- getRealValue(Real) - Method in interface de.jtem.mathExpr.evaluator.realEvaluator.RealEvaluator
-
Assigns r
the evaluated Real
value.
- getRealValue(Real) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealVariable
-
- getRealVectorValue(RealVector) - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.AbstractRealVectorEvaluator
-
Assigns v
the evaluated RealVector
value.
- getRepresentationClass() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
Returns Complex
.class
.
- getRepresentationClass() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
Returns ComplexVector
.class
.
- getRepresentationClass() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
- getRepresentationClass() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
Returns RealVector
.class
.
- getRepresentationClass() - Method in interface de.jtem.mathExpr.evaluator.Type
-
Return the Class
this Type
is representing.
- getReturnType() - Method in class de.jtem.mathExpr.evaluator.complexEvaluator.AbstractComplexEvaluator
-
- getReturnType() - Method in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.AbstractComplexVectorEvaluator
-
- getReturnType() - Method in class de.jtem.mathExpr.evaluator.Constant
-
Returns the Type
of this Constant's
value.
- getReturnType() - Method in interface de.jtem.mathExpr.evaluator.Evaluator
-
Return the Type
of the evaluated Object
.
- getReturnType() - Method in class de.jtem.mathExpr.evaluator.FunctionCallEvaluator
-
Returns the Type
of the evaluated value.
- getReturnType() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.AbstractRealEvaluator
-
- getReturnType() - Method in class de.jtem.mathExpr.evaluator.realVectorEvaluator.AbstractRealVectorEvaluator
-
- getReturnType() - Method in class de.jtem.mathExpr.evaluator.Variable
-
Returns the Type
of this Variable's
value.
- GetSuffix(int) - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- getToken(int) - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- getType() - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Returns the current default
Type
for evaluating
Symbols
.
- getType() - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns the operation type of this BinaryOperation
.
- getType() - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Returns the operation type of this UnaryOperation
.
- getValue() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- getValue() - Method in class de.jtem.mathExpr.evaluator.Variable
-
Returns the value of this Variable
as an Object
.
- getVariable(String) - Method in class de.jtem.mathExpr.DefinitionModel
-
Returns the Variable
with the specified name
or
null
if the Variable
does not exist yet.
- getVariable(String) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- I - Static variable in class de.jtem.mathExpr.evaluator.Constant
-
Represents the complex constant i=sqrt(-1).
- image - Variable in class de.jtem.mathExpr.parser.javacc.Token
-
The string image of the token.
- inBuf - Variable in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- IncompatibleDefinitionException - Exception in de.jtem.mathExpr
-
Thrown if a definition can't be finished because there is already a
definition of another kind.
- IncompatibleDefinitionException(String, String) - Constructor for exception de.jtem.mathExpr.IncompatibleDefinitionException
-
Creates a new IncompatibleDefinitionException
with an appropriate message.
- input_stream - Variable in class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- inputStream - Variable in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- insertArguments(Expression) - Method in class de.jtem.mathExpr.Function
-
Returns this function dissolved.
- insertArguments(Expression) - Method in class de.jtem.mathExpr.PredefinedFunction
-
- insertArguments(Expression) - Method in class de.jtem.mathExpr.UserDefinedFunction
-
Returns a dissolved FunctionCall of this Function with the specified
parameters.
- isComplete() - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns true
if both operands of this
BinaryOperation
are not null and also complete,
false
otherwise.
- isComplete() - Method in class de.jtem.mathExpr.parser.Expression
-
Return true
if this Expressions
is ready
to get evaluated, false otherwise.
- isComplete() - Method in class de.jtem.mathExpr.parser.List
-
Returns true
if this List
is empty or all entries
are complete, false
otherwise.
- isComplete() - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns true
whenever this method is called.
- isComplete() - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Returns true
if the operand of this
UnaryOperation
is not null and also complete,
false
otherwise.
- isConstant(Symbol) - Static method in class de.jtem.mathExpr.evaluator.Constant
-
Returns
true
if the specified
Symbol
represents
a
Constant
contained by the
Constant.CONSTANTS
array,
false
otherwise.
- isConstant() - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns true
if both operands of this
BinaryOperation
are not null and also constant,
false
if not.
- isConstant() - Method in class de.jtem.mathExpr.parser.Expression
-
Returns true
if this Expression
is a
constant value, false otherwise.
- isConstant() - Method in class de.jtem.mathExpr.parser.List
-
Returns true
if this List
is empty or all entries
are constant, false
otherwise.
- isConstant() - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns
true
if this
Symbol
represents a constant
double value,
false
if this
Symbol
represents an
identifier of a
Variable
or of a static final
Constant
.
- isConstant() - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Returns true
if the operand of this
UnaryOperation
is not null and also constant,
false
if not.
- parameter - Variable in class de.jtem.mathExpr.Function
-
This function's parameters.
- parse(String, ExpressionFactory) - Static method in class de.jtem.mathExpr.parser.javacc.Parser
-
- parse() - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- ParseException - Exception in de.jtem.mathExpr.parser.javacc
-
This exception is thrown when parse errors are encountered.
- ParseException(Token, int[][], String[]) - Constructor for exception de.jtem.mathExpr.parser.javacc.ParseException
-
This constructor is used by the method "generateParseException"
in the generated parser.
- ParseException() - Constructor for exception de.jtem.mathExpr.parser.javacc.ParseException
-
The following constructors are for use by you for whatever
purpose you can think of.
- ParseException(String) - Constructor for exception de.jtem.mathExpr.parser.javacc.ParseException
-
- Parser - Class in de.jtem.mathExpr.parser.javacc
-
Parser for MathExpr library.
- Parser(Reader, ExpressionFactory) - Constructor for class de.jtem.mathExpr.parser.javacc.Parser
-
- Parser(InputStream) - Constructor for class de.jtem.mathExpr.parser.javacc.Parser
-
- Parser(Reader) - Constructor for class de.jtem.mathExpr.parser.javacc.Parser
-
- Parser(ParserTokenManager) - Constructor for class de.jtem.mathExpr.parser.javacc.Parser
-
- ParserConstants - Interface in de.jtem.mathExpr.parser.javacc
-
- ParserTokenManager - Class in de.jtem.mathExpr.parser.javacc
-
- ParserTokenManager(SimpleCharStream) - Constructor for class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- ParserTokenManager(SimpleCharStream, int) - Constructor for class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- PI - Static variable in class de.jtem.mathExpr.evaluator.Constant
-
Represents the mathematical constant pi=3.1415....
- plus(Real) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- plus(double) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- PositiveSign - Class in de.jtem.mathExpr.parser
-
The UnaryOperation with the operator '+'.
- PositiveSign() - Constructor for class de.jtem.mathExpr.parser.PositiveSign
-
Creates a new PositiveSign object with no operand.
- PositiveSign(Expression) - Constructor for class de.jtem.mathExpr.parser.PositiveSign
-
Creates a new PositiveSign object with the specified operand.
- PositiveSignComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- PositiveSignComplexEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.PositiveSignComplexEvaluator
-
Creates a new PositiveSignComplexEvaluator
with the specified
operand Evaluator
.
- PositiveSignComplexVectorEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
- PositiveSignComplexVectorEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.PositiveSignComplexVectorEvaluator
-
Creates a new PositiveSignComplexVectorEvaluator
with the
specified operand Evaluator
.
- PositiveSignRealEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
- PositiveSignRealEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.PositiveSignRealEvaluator
-
Creates a new PositiveSignRealEvaluator
with the specified
operand Evaluator
.
- PositiveSignRealVectorEvaluator - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
- PositiveSignRealVectorEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.PositiveSignRealVectorEvaluator
-
Creates a new PositiveSignRealVectorEvaluator
with the
specified operand Evaluator
.
- pow(Real) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- pow(double) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- power() - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- Power - Class in de.jtem.mathExpr.parser
-
The BinaryOperation with the operator '^'.
- Power() - Constructor for class de.jtem.mathExpr.parser.Power
-
Creates a new Power object with no operands.
- Power(Expression, Expression) - Constructor for class de.jtem.mathExpr.parser.Power
-
Creates a new Power object with the specified operands.
- PredefinedFunction - Class in de.jtem.mathExpr
-
A PredefinedFunction
is a Function
with a
predefined definition which can't be redefined (e.g.:
sin
, cos
, log
, etc.).
- PredefinedFunction(String) - Constructor for class de.jtem.mathExpr.PredefinedFunction
-
Instantiates a new PredefinedFunction
with the specefied
name
.
- PredefinedFunctionComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
An abstraction of all
Evaluators
evaluating
PredefinedFunctions
which
function call parameter
is a Complex
when evaluated - in other words:
This class provides function calls of predefined functions on complex values.
- PredefinedFunctionComplexEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator
-
Creates a new PredefinedFunctionComplexEvaluator
executing the certain function call on the evaluation result of
e
.
- PredefinedFunctionComplexEvaluator.CosEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
The PredefinedFunctionComplexEvaluator
executing
cosine on a given complex parameter.
- PredefinedFunctionComplexEvaluator.ExpEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
The PredefinedFunctionComplexEvaluator
executing
exponential function on a given complex parameter.
- PredefinedFunctionComplexEvaluator.LogEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
The PredefinedFunctionComplexEvaluator
executing
natural logarithm on a given complex parameter.
- PredefinedFunctionComplexEvaluator.SinEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
The PredefinedFunctionComplexEvaluator
executing
sine on a given complex parameter.
- PredefinedFunctionComplexEvaluator.SqrtEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
The PredefinedFunctionComplexEvaluator
executing
square root on a given complex parameter.
- PredefinedFunctionComplexEvaluator.TanEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
The PredefinedFunctionComplexEvaluator
executing
tangent on a given complex parameter.
- PredefinedFunctionRealEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
An abstraction of all
Evaluators
evaluating
PredefinedFunctions
which
function call parameter
is a Real
when evaluated - in other words:
This class provides function calls of predefined functions on real values.
- PredefinedFunctionRealEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator
-
Creates a new PredefinedFunctionRealEvaluator
executing the certain function call on the evaluation result of
e
.
- PredefinedFunctionRealEvaluator.ATanEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
The PredefinedFunctionRealEvaluator
executing
atan on a given real parameter.
- PredefinedFunctionRealEvaluator.CosEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
The PredefinedFunctionRealEvaluator
executing
cosine on a given real parameter.
- PredefinedFunctionRealEvaluator.ExpEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
The PredefinedFunctionRealEvaluator
executing
exponential function on a given real parameter.
- PredefinedFunctionRealEvaluator.LogEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
The PredefinedFunctionRealEvaluator
executing
natural logarithm on a given real parameter.
- PredefinedFunctionRealEvaluator.SinEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
The PredefinedFunctionRealEvaluator
executing
sine on a given real parameter.
- PredefinedFunctionRealEvaluator.SqrtEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
The PredefinedFunctionRealEvaluator
executing
square root on a given real parameter.
- PredefinedFunctionRealEvaluator.TanEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
The PredefinedFunctionRealEvaluator
executing
tangent on a given real parameter.
- prevCharIsCR - Variable in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- prevCharIsLF - Variable in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- readChar() - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- Real - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
A wrapper class for any double
value.
- Real() - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
Creates a new Real
object with value==0.0.
- Real(Real) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- Real(double) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- RealConstant - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
A
RealConstant
is a
Constant
of
Type
RealType
.
- RealConstant(String, Real, Type) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.RealConstant
-
Creates a new RealConstant
.
- RealDivideComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- RealDivideComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.RealDivideComplexEvaluator
-
Creates a new RealDivideComplexEvaluator
with the specified
operand Evaluators
.
- RealDivideRealEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
- RealDivideRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.RealDivideRealEvaluator
-
Creates a new RealDivideRealEvaluator
with the specified
operand Evaluators
.
- RealDivideRealVectorEvaluator - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
- RealDivideRealVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealDivideRealVectorEvaluator
-
Creates a new RealDivideRealVectorEvaluator
with the specified
operand Evaluators
.
- RealEvaluator - Interface in de.jtem.mathExpr.evaluator.realEvaluator
-
Every Evaluator
which evaluation result is a
Real
value is implementing this interface.
- RealMinusComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- RealMinusComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.RealMinusComplexEvaluator
-
Creates a new RealMinusComplexEvaluator
with the specified
operand Evaluators
.
- RealMinusRealEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
- RealMinusRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.RealMinusRealEvaluator
-
Creates a new RealMinusRealEvaluator
with the specified
operand Evaluators
.
- RealPlusRealEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
- RealPlusRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.RealPlusRealEvaluator
-
Creates a new RealPlusRealEvaluator
with the specified
operand Evaluators
.
- RealPowerComplexEvaluator - Class in de.jtem.mathExpr.evaluator.complexEvaluator
-
- RealPowerComplexEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.RealPowerComplexEvaluator
-
Creates a new RealPowerComplexEvaluator
with the specified
operand Evaluators
.
- RealPowerRealEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
- RealPowerRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.RealPowerRealEvaluator
-
Creates a new RealPowerRealEvaluator
with the specified
operand Evaluators
.
- RealTimesComplexVectorEvaluator - Class in de.jtem.mathExpr.evaluator.complexVectorEvaluator
-
- RealTimesComplexVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexVectorEvaluator.RealTimesComplexVectorEvaluator
-
Creates a new RealTimesComplexVectorEvaluator
with the
specified operand Evaluators
.
- RealTimesRealEvaluator - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
- RealTimesRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.RealTimesRealEvaluator
-
Creates a new RealTimesRealEvaluator
with the specified
operand Evaluators
.
- RealTimesRealVectorEvaluator - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
- RealTimesRealVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealTimesRealVectorEvaluator
-
Creates a new RealTimesRealVectorEvaluator
with the specified
operand Evaluators
.
- RealType - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
- RealType() - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
Creates a new RealType
instance.
- RealVariable - Class in de.jtem.mathExpr.evaluator.realEvaluator
-
A
RealVariable
is a
Variable
of
Type
RealType
.
- RealVariable(String, Real, Type) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.RealVariable
-
Creates a new RealVariable
.
- RealVectorDivideRealEvaluator - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
- RealVectorDivideRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorDivideRealEvaluator
-
Creates a new RealVectorDivideRealEvaluator
with the specified
operand Evaluators
.
- RealVectorEvaluator - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
- RealVectorEvaluator(List, Evaluator[]) - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorEvaluator
-
Creates a new RealVectorEvaluator
with the specified
entry Evaluators
and the List
representing
the RealVector
.
- RealVectorMinusRealVectorEvaluator - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
- RealVectorMinusRealVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorMinusRealVectorEvaluator
-
Creates a new RealVectorMinusRealVectorEvaluator
with the
specified operand Evaluators
.
- RealVectorPlusRealVectorEvaluator - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
- RealVectorPlusRealVectorEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorPlusRealVectorEvaluator
-
Creates a new RealVectorPlusRealVectorEvaluator
with the
specified operand Evaluators
.
- RealVectorTimesRealEvaluator - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
- RealVectorTimesRealEvaluator(Evaluator, Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorTimesRealEvaluator
-
Creates a new RealVectorTimesRealEvaluator
with the specified
operand Evaluators
.
- RealVectorType - Class in de.jtem.mathExpr.evaluator.realVectorEvaluator
-
The evaluation
Type
when a certain part of an
Expression
is a
RealVector
when evaluated.
- RealVectorType() - Constructor for class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
Creates a new RealVectorType
instance.
- ReInit(InputStream) - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- ReInit(Reader) - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- ReInit(ParserTokenManager) - Method in class de.jtem.mathExpr.parser.javacc.Parser
-
- ReInit(SimpleCharStream) - Method in class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- ReInit(SimpleCharStream, int) - Method in class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- ReInit(Reader, int, int, int) - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- ReInit(Reader, int, int) - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- ReInit(Reader) - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- ReInit(InputStream, int, int, int) - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- ReInit(InputStream) - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- ReInit(InputStream, int, int) - Method in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- replaceSymbol(Symbol, Expression) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
- replaceSymbol(Symbol, Expression) - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Replaces all Symbols equal to s in this BinaryOperation
with the specified Expression.
- replaceSymbol(Symbol, Expression) - Method in class de.jtem.mathExpr.parser.Expression
-
Replaces all Symbols equal to s in the expression-tree-hierarchy
with the specified Expression.
- replaceSymbol(Symbol, Expression) - Method in class de.jtem.mathExpr.parser.List
-
Replaces all Symbols equal to s in this List
with the specified Expression.
- replaceSymbol(Symbol, Expression) - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns the specified expression, if this Symbol equals s.
- replaceSymbol(Symbol, Expression) - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Replaces all Symbols equal to s in this UnaryOperation
with the specified Expression.
- representsMatrix(List) - Static method in class de.jtem.mathExpr.ListFormChecker
-
Checks if the specified List represents a mathematical Matrix.
- representsVector(List) - Static method in class de.jtem.mathExpr.ListFormChecker
-
Returns true if the specified List object represents a mathematical Vector,
that means all entries are no (Sub-)Lists, otherwise returns false.
- session - Variable in class de.jtem.mathExpr.example.MathExprJTerm
-
- setComplexFunction(String) - Method in class de.jtem.mathExpr.example.GenericComplexFunction
-
Sets the function's defintion by parsing the specified String
.
- setDebugStream(PrintStream) - Method in class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- setDefinition(Expression) - Method in class de.jtem.mathExpr.UserDefinedFunction
-
Sets the definition of this UserDefinedFunction
to the
specified Expression
.
- setDefinitionModel(DefinitionModel) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Sets a new DefinitionModel
for this
ExpressionConfiguration
.
- setExpression(Expression) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Sets the Expression
this ExpressionConfiguration
is to be representing.
- setExpression(String) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Sets the Expression
this ExpressionConfiguration
is to be representing by parsing the specified String
.
- setOperand(Expression) - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Sets the operand of this UnaryOperation
to the specified
Expression
.
- setOperands(Expression, Expression) - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Sets the operands of this BinaryOperation
to the specified
Expressions
.
- setParameters(String[]) - Method in class de.jtem.mathExpr.Function
-
Sets the parameter names of this Function
to the
Strings
in the specified array.
- setType(Type) - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Sets a new default
Type
for evaluating
Symbols
.
- setValue(Object, Type) - Method in class de.jtem.mathExpr.evaluator.Variable
-
Sets the value of this Variable
to the specified
Object
.
- setValue(Object) - Method in class de.jtem.mathExpr.evaluator.Variable
-
Sets the value of this Variable
to the specified
Object
.
- SimpleCharStream - Class in de.jtem.mathExpr.parser.javacc
-
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
- SimpleCharStream(Reader, int, int, int) - Constructor for class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- SimpleCharStream(Reader, int, int) - Constructor for class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- SimpleCharStream(Reader) - Constructor for class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- SimpleCharStream(InputStream, int, int, int) - Constructor for class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- SimpleCharStream(InputStream, int, int) - Constructor for class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- SimpleCharStream(InputStream) - Constructor for class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- simplify() - Method in class de.jtem.mathExpr.ExpressionConfiguration
-
Returns the current set Expression simplified.
- simplify() - Method in class de.jtem.mathExpr.parser.Addition
-
Returns a simplified Expression of this Addition.
- simplify() - Method in class de.jtem.mathExpr.parser.Division
-
Returns a simplified Expression of this Division.
- simplify() - Method in class de.jtem.mathExpr.parser.Expression
-
Returns a new Expression which is equal to this but simplified.
- simplify() - Method in class de.jtem.mathExpr.parser.FunctionCall
-
Simplifies this FunctionCall's operand (the parameter expression) and
returns a new FunctionCall with it.
- simplify() - Method in class de.jtem.mathExpr.parser.List
-
Returns a new List with this List's entries simplified.
- simplify() - Method in class de.jtem.mathExpr.parser.Multiplication
-
Returns a simplified Expression of this Multiplication.
- simplify() - Method in class de.jtem.mathExpr.parser.NegativeSign
-
Returns a simplified Expression of this NegativeSign.
- simplify() - Method in class de.jtem.mathExpr.parser.PositiveSign
-
Returns this' operand simplified.
- simplify() - Method in class de.jtem.mathExpr.parser.Power
-
Returns a simplified Expression of this Power.
- simplify() - Method in class de.jtem.mathExpr.parser.Subtraction
-
Returns a simplified Expression of this Subtraction.
- simplify() - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns this Symbol because a Symbol itself can't be simplified.
- sin() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- SIN - Static variable in class de.jtem.mathExpr.PredefinedFunction
-
This PredefinedFunction
instance represents the
sin
function.
- SinEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.SinEvaluator
-
Creates a new SinEvaluator
with the parameter
Evaluator e
.
- SinEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.SinEvaluator
-
Creates a new SinEvaluator
with the parameter
Evaluator e
.
- specialConstructor - Variable in exception de.jtem.mathExpr.parser.javacc.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 de.jtem.mathExpr.parser.javacc.Token
-
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- sqrt() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- SQRT - Static variable in class de.jtem.mathExpr.PredefinedFunction
-
This PredefinedFunction
instance represents the
sqrt
function.
- SqrtEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.SqrtEvaluator
-
Creates a new SqrtEvaluator
with the parameter
Evaluator e
.
- SqrtEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.SqrtEvaluator
-
Creates a new SqrtEvaluator
with the parameter
Evaluator e
.
- staticFlag - Static variable in class de.jtem.mathExpr.parser.javacc.SimpleCharStream
-
- Subtraction - Class in de.jtem.mathExpr.parser
-
The BinaryOperation with the operator '-'.
- Subtraction() - Constructor for class de.jtem.mathExpr.parser.Subtraction
-
Creates a new Subtraction object with no operands.
- Subtraction(Expression, Expression) - Constructor for class de.jtem.mathExpr.parser.Subtraction
-
Creates a new Subtraction object with the specified operands.
- SwitchTo(int) - Method in class de.jtem.mathExpr.parser.javacc.ParserTokenManager
-
- Symbol - Class in de.jtem.mathExpr.parser
-
A
Symbol
is an
Expression
which can be a number
(
Constant
) or an identifier (
Variable
).
- Symbol(double) - Constructor for class de.jtem.mathExpr.parser.Symbol
-
Creates a new Symbol
, which represents a constant number
with the value d
.
- Symbol(String) - Constructor for class de.jtem.mathExpr.parser.Symbol
-
Creates a new
Symbol
, which represents a
Variable
with the name
s
.
- TAN - Static variable in class de.jtem.mathExpr.PredefinedFunction
-
This PredefinedFunction
instance represents the
cos
function.
- TanEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.complexEvaluator.PredefinedFunctionComplexEvaluator.TanEvaluator
-
Creates a new TanEvaluator
with the parameter
Evaluator e
.
- TanEvaluator(Evaluator) - Constructor for class de.jtem.mathExpr.evaluator.realEvaluator.PredefinedFunctionRealEvaluator.TanEvaluator
-
Creates a new TanEvaluator
with the parameter
Evaluator e
.
- times(Real) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- times(double) - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- token - Variable in class de.jtem.mathExpr.parser.javacc.Parser
-
- Token - Class in de.jtem.mathExpr.parser.javacc
-
Describes the input token stream.
- Token() - Constructor for class de.jtem.mathExpr.parser.javacc.Token
-
- token_source - Variable in class de.jtem.mathExpr.parser.javacc.Parser
-
- tokenImage - Variable in exception de.jtem.mathExpr.parser.javacc.ParseException
-
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
- tokenImage - Static variable in interface de.jtem.mathExpr.parser.javacc.ParserConstants
-
- TokenMgrError - Error in de.jtem.mathExpr.parser.javacc
-
- TokenMgrError() - Constructor for error de.jtem.mathExpr.parser.javacc.TokenMgrError
-
- TokenMgrError(String, int) - Constructor for error de.jtem.mathExpr.parser.javacc.TokenMgrError
-
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error de.jtem.mathExpr.parser.javacc.TokenMgrError
-
- toString() - Method in class de.jtem.mathExpr.evaluator.Constant
-
Returns the name of this Constant
.
- toString() - Method in class de.jtem.mathExpr.evaluator.realEvaluator.Real
-
- toString() - Method in class de.jtem.mathExpr.evaluator.Variable
-
Returns a String
showing name and value of this
Variable
in the following syntax: name=value
.
- toString() - Method in class de.jtem.mathExpr.parser.BinaryOperation
-
Returns a String
representing this
BinaryOperation
.
- toString() - Method in class de.jtem.mathExpr.parser.FunctionCall
-
Returns a String
representing this
FunctionCall
.
- toString() - Method in class de.jtem.mathExpr.parser.javacc.Token
-
Returns the image.
- toString() - Method in class de.jtem.mathExpr.parser.List
-
Returns a String
representing this
List
.
- toString() - Method in class de.jtem.mathExpr.parser.Symbol
-
Returns the constant number respectively the variable name represented by
this Symbol
.
- toString() - Method in class de.jtem.mathExpr.parser.UnaryOperation
-
Returns a String
representing this
UnaryOperation
.
- toString() - Method in class de.jtem.mathExpr.UserDefinedFunction
-
Returns the String
representing this
UserDefinedFunction
.
- TYPE - Static variable in class de.jtem.mathExpr.evaluator.complexEvaluator.ComplexType
-
A static
instance of this class.
- TYPE - Static variable in class de.jtem.mathExpr.evaluator.complexVectorEvaluator.ComplexVectorType
-
A static
instance of this class.
- TYPE - Static variable in class de.jtem.mathExpr.evaluator.realEvaluator.RealType
-
A static
instance of this class.
- TYPE - Static variable in class de.jtem.mathExpr.evaluator.realVectorEvaluator.RealVectorType
-
A static
instance of this class.
- Type - Interface in de.jtem.mathExpr.evaluator
-
An interface for the variety of Types
the result of
an evaluation can be.
- type - Variable in class de.jtem.mathExpr.evaluator.Variable
-
The Type
of this Variable
.
- type - Variable in class de.jtem.mathExpr.parser.UnaryOperation
-
The operation type of this UnaryOperation
.