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

A

AND - Static variable in interface org.nfunk.jep.ParserConstants
 
AND - Static variable in class org.nfunk.jep.function.Logical
 
ASSIGN - Static variable in interface org.nfunk.jep.ParserConstants
 
ASSOCIATIVE - Static variable in class org.lsmp.djep.xjep.XOperator
Associative operators x*(y*z) == (x*y)*z .
ASTConstant - class org.nfunk.jep.ASTConstant.
Constant Node
ASTConstant(int) - Constructor for class org.nfunk.jep.ASTConstant
 
ASTConstant(Parser, int) - Constructor for class org.nfunk.jep.ASTConstant
 
ASTFunNode - class org.nfunk.jep.ASTFunNode.
Function Node
ASTFunNode(int) - Constructor for class org.nfunk.jep.ASTFunNode
Creates a new ASTFunNode
ASTFunNode(Parser, int) - Constructor for class org.nfunk.jep.ASTFunNode
Creates a new ASTFunNode
ASTMConstant - class org.lsmp.djep.matrixJep.nodeTypes.ASTMConstant.
Holds a single constant number.
ASTMConstant(int) - Constructor for class org.lsmp.djep.matrixJep.nodeTypes.ASTMConstant
 
ASTMFunNode - class org.lsmp.djep.matrixJep.nodeTypes.ASTMFunNode.
 
ASTMFunNode(int) - Constructor for class org.lsmp.djep.matrixJep.nodeTypes.ASTMFunNode
 
ASTMVarNode - class org.lsmp.djep.matrixJep.nodeTypes.ASTMVarNode.
 
ASTMVarNode(int) - Constructor for class org.lsmp.djep.matrixJep.nodeTypes.ASTMVarNode
 
ASTStart - class org.nfunk.jep.ASTStart.
Start Node
ASTStart(int) - Constructor for class org.nfunk.jep.ASTStart
 
ASTStart(Parser, int) - Constructor for class org.nfunk.jep.ASTStart
 
ASTVarNode - class org.nfunk.jep.ASTVarNode.
Variable Node
ASTVarNode(int) - Constructor for class org.nfunk.jep.ASTVarNode
 
ASTVarNode(Parser, int) - Constructor for class org.nfunk.jep.ASTVarNode
 
AbelianGroupI - interface org.lsmp.djep.groupJep.interfaces.AbelianGroupI.
Represents a abelian (commutative) group.
Abs - class org.nfunk.jep.function.Abs.
 
Abs() - Constructor for class org.nfunk.jep.function.Abs
 
Add - class org.nfunk.jep.function.Add.
 
Add() - Constructor for class org.nfunk.jep.function.Add
 
AdditionDiffRule - class org.lsmp.djep.djep.diffRules.AdditionDiffRule.
Diffrentiates a addition with respect to var.
AdditionDiffRule(String) - Constructor for class org.lsmp.djep.djep.diffRules.AdditionDiffRule
 
AdditiveExpression() - Method in class org.nfunk.jep.Parser
 
AdjustBuffSize() - Method in class org.nfunk.jep.JavaCharStream
 
AlgebraicExtension - class org.lsmp.djep.groupJep.groups.AlgebraicExtension.
An Algebraic Extension of a Ring.
AlgebraicExtension(RingI, Polynomial) - Constructor for class org.lsmp.djep.groupJep.groups.AlgebraicExtension
Create the ring K(t) where t is a solution of the monic polynomial p.
AlgebraicExtensionElement - class org.lsmp.djep.groupJep.values.AlgebraicExtensionElement.
An element of the algrabraic extension K(t).
AlgebraicExtensionElement(AlgebraicExtension, Number[]) - Constructor for class org.lsmp.djep.groupJep.values.AlgebraicExtensionElement
An element of the algrabraic extension K(t).
AndExpression() - Method in class org.nfunk.jep.Parser
 
AnyConstant() - Method in class org.nfunk.jep.Parser
 
ArcCosine - class org.nfunk.jep.function.ArcCosine.
The acos function.
ArcCosine() - Constructor for class org.nfunk.jep.function.ArcCosine
 
ArcCosineH - class org.nfunk.jep.function.ArcCosineH.
Implements the arcCosH function.
ArcCosineH() - Constructor for class org.nfunk.jep.function.ArcCosineH
 
ArcSine - class org.nfunk.jep.function.ArcSine.
 
ArcSine() - Constructor for class org.nfunk.jep.function.ArcSine
 
ArcSineH - class org.nfunk.jep.function.ArcSineH.
Implements the arcSinH function.
ArcSineH() - Constructor for class org.nfunk.jep.function.ArcSineH
 
ArcTanH - class org.nfunk.jep.function.ArcTanH.
Implements the arcTanH function.
ArcTanH() - Constructor for class org.nfunk.jep.function.ArcTanH
 
ArcTangent - class org.nfunk.jep.function.ArcTangent.
 
ArcTangent() - Constructor for class org.nfunk.jep.function.ArcTangent
 
ArcTangent2 - class org.nfunk.jep.function.ArcTangent2.
atan2(y, x) Returns the angle whose tangent is y/x.
ArcTangent2() - Constructor for class org.nfunk.jep.function.ArcTangent2
 
Arg - class org.nfunk.jep.function.Arg.
Argument of a complex number
Arg() - Constructor for class org.nfunk.jep.function.Arg
 
ArgumentList(int, String) - Method in class org.nfunk.jep.Parser
 
Assign - class org.nfunk.jep.function.Assign.
An assignment operator so we can do x=3+4.
Assign() - Constructor for class org.nfunk.jep.function.Assign
 
AssignExpression() - Method in class org.nfunk.jep.Parser
 
AssignmentExample - class org.lsmp.djepExamples.AssignmentExample.
Examples using assignment
AssignmentExample() - Constructor for class org.lsmp.djepExamples.AssignmentExample
 
abs(Object) - Method in class org.nfunk.jep.function.Abs
 
abs() - Method in class org.nfunk.jep.type.Complex
Returns the absolute value of the complex number.
abs2() - Method in class org.nfunk.jep.type.Complex
Returns the square of the absolute value (re*re+im*im).
acceptCatchingErrors(Node, Object) - Method in class org.lsmp.djep.xjep.ErrorCatchingVisitor
calls jjtAccept inside a try catch block, adding the error if necessary
acceptChildrenAsArray(Node, Object) - Method in class org.lsmp.djep.xjep.DoNothingVisitor
Gets the result of visiting children of a array of nodes.
acos(Object) - Method in class org.nfunk.jep.function.ArcCosine
 
acos() - Method in class org.nfunk.jep.type.Complex
 
acosh(Object) - Method in class org.nfunk.jep.function.ArcCosineH
 
acosh() - Method in class org.nfunk.jep.type.Complex
 
actionPerformed(ActionEvent) - Method in class org.lsmp.djepExamples.DJepConsole
Called when the Calculate button is pressed.
add(Number, Number) - Method in interface org.lsmp.djep.groupJep.GroupI
Get sum of the numbers
add(Object, Object) - Method in class org.lsmp.djep.groupJep.function.GAdd
 
add(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
add(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
add(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
add(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
add(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
add(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
add(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
add(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
add(Permutation) - Method in class org.lsmp.djep.groupJep.values.Permutation
 
add(Polynomial) - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
add(Rational) - Method in class org.lsmp.djep.groupJep.values.Rational
 
add(Object, Object) - Method in class org.lsmp.djep.vectorJep.function.MAdd
Adds two objects.
add(MVector, MVector) - Method in class org.lsmp.djep.vectorJep.function.MAdd
Adds two vectors.
add(Matrix, Matrix) - Method in class org.lsmp.djep.vectorJep.function.MAdd
Adds two matricies.
add(Tensor, Tensor) - Method in class org.lsmp.djep.vectorJep.function.MAdd
Adds two tensors.
add - Variable in class org.lsmp.djep.vectorJep.function.MMultiply
 
add(Object, Object) - Method in class org.nfunk.jep.function.Add
 
add(Number, Number) - Method in class org.nfunk.jep.function.Add
 
add(Complex, Complex) - Method in class org.nfunk.jep.function.Add
 
add(Complex, Number) - Method in class org.nfunk.jep.function.Add
 
add(Complex) - Method in class org.nfunk.jep.type.Complex
Adds the complex number with another complex value.
addComplex() - Method in class org.nfunk.jep.JEP
Call this function if you want to parse expressions which involve complex numbers.
addConstant(String, Object) - Method in class org.nfunk.jep.JEP
Adds a constant.
addConstant(String, Object) - Method in class org.nfunk.jep.SymbolTable
Create a constant variable with the given name and value.
addDiffRule(DiffRulesI) - Method in class org.lsmp.djep.djep.DJep
Adds a rule with instruction on how to differentiate a function.
addError(Exception) - Method in class org.lsmp.djep.xjep.ErrorCatchingVisitor
Adds an error message to the list of errors.
addEscapes(String) - Static method in class org.nfunk.jep.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addFunction(String, PostfixMathCommandI) - Method in class org.nfunk.jep.JEP
Adds a new function to the parser.
addSpecialRule(Operator, PrintVisitor.PrintRulesI) - Method in class org.lsmp.djep.xjep.PrintVisitor
Adds a special print rule to be added for a given operator.
addStandardConstants(JEP) - Method in interface org.lsmp.djep.groupJep.GroupI
adds the standard constants for this group
addStandardConstants() - Method in class org.lsmp.djep.groupJep.GroupJep
 
addStandardConstants(JEP) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
addStandardConstants(JEP) - Method in class org.lsmp.djep.groupJep.groups.Group
adds the standard constants for this group.
addStandardConstants(JEP) - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
addStandardConstants() - Method in class org.lsmp.djep.xjep.XJep
 
addStandardConstants() - Method in class org.nfunk.jep.JEP
Adds the constants pi and e to the parser.
addStandardDiffRules() - Method in class org.lsmp.djep.djep.DJep
Adds the standard set of differentation rules.
addStandardFunctions(JEP) - Method in interface org.lsmp.djep.groupJep.GroupI
adds the standard function for this group
addStandardFunctions() - Method in class org.lsmp.djep.groupJep.GroupJep
 
addStandardFunctions(JEP) - Method in class org.lsmp.djep.groupJep.groups.Group
adds the standard function for this group By default does nothing.
addStandardFunctions() - Method in class org.lsmp.djep.matrixJep.MatrixJep
 
addStandardFunctions() - Method in class org.lsmp.djep.vectorJep.VectorJep
 
addStandardFunctions() - Method in class org.lsmp.djep.xjep.XJep
 
addStandardFunctions() - Method in class org.nfunk.jep.JEP
Adds the standard functions to the parser.
addToErrorList(String) - Method in class org.nfunk.jep.EvaluatorVisitor
Adds an error message to the list of errors
addVariable(String, double) - Method in class org.nfunk.jep.JEP
Adds a new variable to the parser, or updates the value of an existing variable.
addVariable(String, double, double) - Method in class org.nfunk.jep.JEP
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
Adds a new variable to the parser as an object, or updates the value of an existing variable.
addVariable(String, Object) - Method in class org.nfunk.jep.SymbolTable
Creates a variable with given value.
add_escapes(String) - Method in class org.nfunk.jep.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
adjustBeginLineColumn(int, int) - Method in class org.nfunk.jep.JavaCharStream
Method to adjust line and column numbers for the start of a token.
allowAssignment - Variable in class org.nfunk.jep.JEP
Allow undeclared variables option
allowUndeclared - Variable in class org.nfunk.jep.JEP
Allow undeclared variables option
append(Node, PrintVisitor) - Method in class org.lsmp.djep.matrixJep.function.MList
Used to print the TensorNode with all its children.
append(Node, PrintVisitor) - Method in interface org.lsmp.djep.xjep.PrintVisitor.PrintRulesI
The method called to append data for the rule.
append(String) - Method in class org.lsmp.djep.xjep.PrintVisitor
Add a string to buffer.
apply(ASTFunNode, Node[]) - Method in interface org.lsmp.djep.xjep.RewriteRuleI
 
apply(ASTFunNode, Node[]) - Method in class org.lsmp.djep.xjep.rewriteRules.ExpandBrackets
 
apply(ASTFunNode, Node[]) - Method in class org.lsmp.djep.xjep.rewriteRules.ExpandPower
 
arg(Object) - Method in class org.nfunk.jep.function.Arg
 
arg() - Method in class org.nfunk.jep.type.Complex
Returns the argument of this complex number (Math.atan2(re,im))
asin(Object) - Method in class org.nfunk.jep.function.ArcSine
 
asin() - Method in class org.nfunk.jep.type.Complex
 
asinh(Object) - Method in class org.nfunk.jep.function.ArcSineH
 
asinh() - Method in class org.nfunk.jep.type.Complex
 
atan(Object) - Method in class org.nfunk.jep.function.ArcTangent
 
atan() - Method in class org.nfunk.jep.type.Complex
 
atanh(Object) - Method in class org.nfunk.jep.function.ArcTanH
 
atanh() - Method in class org.nfunk.jep.type.Complex
 

B

BINARY - Static variable in class org.lsmp.djep.xjep.XOperator
Binary operators, such as x+y, x>y
BeginToken() - Method in class org.nfunk.jep.JavaCharStream
 
BigReals - class org.lsmp.djep.groupJep.groups.BigReals.
The field of Reals represented by BigDecimals.
BigReals(int, int) - Constructor for class org.lsmp.djep.groupJep.groups.BigReals
Create a field of BigIntegers.
BigReals(int) - Constructor for class org.lsmp.djep.groupJep.groups.BigReals
Create a BigReals group with round mode set to BigDecimal.ROUND_HALF_DOWN.
BinaryOperatorI - interface org.lsmp.djep.vectorJep.function.BinaryOperatorI.
A matrix enabled binary operator.
backup(int) - Method in class org.nfunk.jep.JavaCharStream
 
baseRing - Variable in class org.lsmp.djep.groupJep.groups.FreeGroup
 
beginColumn - Variable in class org.nfunk.jep.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 org.nfunk.jep.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.
binomial(long, long) - Static method in class org.lsmp.djep.xjep.XMath
 
binomial(XMath.LongPair) - Static method in class org.lsmp.djep.xjep.XMath
 
bufcolumn - Variable in class org.nfunk.jep.JavaCharStream
 
buffer - Variable in class org.nfunk.jep.JavaCharStream
 
bufferAppend(MatrixNodeI, PrintVisitor, int) - Method in class org.lsmp.djep.matrixJep.function.MList
recursive procedure to print the tensor with lots of brackets.
bufferAppend(StringBuffer, int) - Method in class org.lsmp.djep.vectorJep.values.Tensor
Recursive procedure to print the tensor with lots of brackets.
bufline - Variable in class org.nfunk.jep.JavaCharStream
 
bufpos - Variable in class org.nfunk.jep.JavaCharStream
 
buildConstantNode(Object) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
Creates an ASTConstant node with specified value.
buildConstantNode(Object) - Method in class org.lsmp.djep.xjep.NodeFactory
Creates an ASTConstant node with specified value.
buildConstantNode(ASTConstant) - Method in class org.lsmp.djep.xjep.NodeFactory
Create an ASTConstant with same value as argument.
buildConstantNode(PostfixMathCommandI, Node[]) - Method in class org.lsmp.djep.xjep.NodeFactory
Creates a ASTConstant whose value of applying the operator to its arguments.
buildConstantNode(Operator, Node[]) - Method in class org.lsmp.djep.xjep.NodeFactory
Creates a ASTConstant whose value of applying the operator to its arguments.
buildConstantNode(Operator, Node, Node) - Method in class org.lsmp.djep.xjep.NodeFactory
Creates a ASTConstant whose value of applying binary operator to its arguments.
buildConstantNode(Operator, Node) - Method in class org.lsmp.djep.xjep.NodeFactory
Creates a ASTConstant whose value of applying a unary operator to its arguments.
buildFunctionNode(String, PostfixMathCommandI, Node[]) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
Builds a function with n arguments
buildFunctionNode(ASTFunNode, Node[]) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
Builds a function with n arguments
buildFunctionNode(String, PostfixMathCommandI, Node[]) - Method in class org.lsmp.djep.xjep.NodeFactory
Builds a function with n arguments This method should be subclassed
buildFunctionNode(ASTFunNode, Node[]) - Method in class org.lsmp.djep.xjep.NodeFactory
Builds a function with n arguments and same fun as specified in arguments.
buildOperatorNode(Operator, Node[]) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
Builds a operator node with n arguments
buildOperatorNode(Operator, Node[], Dimensions) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
create a function node with a known dimension
buildOperatorNode(Operator, Node[]) - Method in class org.lsmp.djep.xjep.NodeFactory
Builds a operator node with n arguments This method should be subclassed
buildOperatorNode(Operator, Node) - Method in class org.lsmp.djep.xjep.NodeFactory
creates a unary function.
buildOperatorNode(Operator, Node, Node) - Method in class org.lsmp.djep.xjep.NodeFactory
creates a binary function.
buildUnfinishedOperatorNode(Operator) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
Creates an operator node, but don't fill in the children or calculate its dimension.
buildUnfinishedOperatorNode(Operator) - Method in class org.lsmp.djep.xjep.NodeFactory
An unfinished node.
buildVariableNode(Variable) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
Creates a ASTVariable node with specified value.
buildVariableNode(ASTVarNode) - Method in class org.lsmp.djep.xjep.NodeFactory
creates a new ASTVarNode with the same name as argument.
buildVariableNode(Variable) - Method in class org.lsmp.djep.xjep.NodeFactory
creates a new ASTVarNode with a given variable.

C

CI - Static variable in class org.lsmp.djep.xjep.TreeUtils
Complex i
CMINUSI - Static variable in class org.lsmp.djep.xjep.TreeUtils
Complex Minus i
CMINUSONE - Static variable in class org.lsmp.djep.xjep.TreeUtils
Complex Minus One
COMMA - Static variable in interface org.nfunk.jep.ParserConstants
 
COMMUTATIVE - Static variable in class org.lsmp.djep.xjep.XOperator
Commutative operators x*y = y*x.
COMPOSITE - Static variable in class org.lsmp.djep.xjep.XOperator
composite operators, like a-b which is a+(-b)
CONE - Static variable in class org.lsmp.djep.xjep.TreeUtils
Complex One
CONST - Static variable in class org.nfunk.jep.evaluation.CommandElement
 
CROSS - Static variable in interface org.nfunk.jep.ParserConstants
 
CZERO - Static variable in class org.lsmp.djep.xjep.TreeUtils
Complex Zero
ChainRuleDiffRules - class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules.
Common methods used when the rules are specified by node trees or strings.
ChainRuleDiffRules() - Constructor for class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
Cannot construct outside the context of a differentation visitor.
CommandElement - class org.nfunk.jep.evaluation.CommandElement.
 
CommandElement() - Constructor for class org.nfunk.jep.evaluation.CommandElement
 
CommandEvaluator - class org.nfunk.jep.evaluation.CommandEvaluator.
 
CommandEvaluator() - Constructor for class org.nfunk.jep.evaluation.CommandEvaluator
 
CommandVisitor - class org.lsmp.djep.xjep.CommandVisitor.
Executes commands like diff and eval embeded in expression trees.
CommandVisitor() - Constructor for class org.lsmp.djep.xjep.CommandVisitor
private default constructor to prevent init without a tree utils
CommandVisitorI - interface org.lsmp.djep.xjep.CommandVisitorI.
Interface defining the special actions performed during the preprocess stage.
Comparative - class org.nfunk.jep.function.Comparative.
Implements the comparative operations <, >, <=, >=, !
Comparative(int) - Constructor for class org.nfunk.jep.function.Comparative
 
Complex - class org.nfunk.jep.type.Complex.
Represents a complex number with double precision real and imaginary components.
Complex() - Constructor for class org.nfunk.jep.type.Complex
Default constructor.
Complex(double) - Constructor for class org.nfunk.jep.type.Complex
Constructor from a single double value.
Complex(Number) - Constructor for class org.nfunk.jep.type.Complex
Construct from a Number.
Complex(Complex) - Constructor for class org.nfunk.jep.type.Complex
Copy constructor
Complex(double, double) - Constructor for class org.nfunk.jep.type.Complex
Initialize the real and imaginary components to the values given by the parameters.
ComplexPFMC - class org.nfunk.jep.function.ComplexPFMC.
Converts a pair of real numbers to a complex number Complex(x,y)=x+i y.
ComplexPFMC() - Constructor for class org.nfunk.jep.function.ComplexPFMC
 
Cosine - class org.nfunk.jep.function.Cosine.
 
Cosine() - Constructor for class org.nfunk.jep.function.Cosine
 
CosineH - class org.nfunk.jep.function.CosineH.
 
CosineH() - Constructor for class org.nfunk.jep.function.CosineH
 
Cross - class org.nfunk.jep.function.Cross.
 
Cross() - Constructor for class org.nfunk.jep.function.Cross
 
calcDim(String, PostfixMathCommandI, Node[]) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
Calculates the dimension of node using the dimensions of the children.
calcDim(Operator, Node[]) - Method in class org.lsmp.djep.matrixJep.MatrixNodeFactory
Calculates the dimension of node using the dimensions of the children.
calcDim(Dimensions[]) - Method in class org.lsmp.djep.matrixJep.function.MIf
Find the dimension of this node.
calcDim(Dimensions, Dimensions) - Method in interface org.lsmp.djep.vectorJep.function.BinaryOperatorI
Find the dimensions of this operator when applied to arguments with given dimensions.
calcDim(Dimensions, Dimensions) - Method in class org.lsmp.djep.vectorJep.function.Ele
 
calcDim(Dimensions, Dimensions) - Method in class org.lsmp.djep.vectorJep.function.ExteriorProduct
 
calcDim(Dimensions, Dimensions) - Method in class org.lsmp.djep.vectorJep.function.MAdd
 
calcDim(Dimensions, Dimensions) - Method in class org.lsmp.djep.vectorJep.function.MDot
 
calcDim(Dimensions, Dimensions) - Method in class org.lsmp.djep.vectorJep.function.MMultiply
 
calcDim(Dimensions, Dimensions) - Method in class org.lsmp.djep.vectorJep.function.MPower
 
calcDim(Dimensions, Dimensions) - Method in class org.lsmp.djep.vectorJep.function.MSubtract
 
calcDim(Dimensions) - Method in class org.lsmp.djep.vectorJep.function.MUMinus
 
calcDim(Dimensions[]) - Method in interface org.lsmp.djep.vectorJep.function.NaryOperatorI
Find the dimensions of this operator when applied to arguments with given dimensions.
calcDim(Dimensions) - Method in interface org.lsmp.djep.vectorJep.function.UnaryOperatorI
Find the dimensions of this operator when applied to arguments with given dimensions.
calcDim(Dimensions[]) - Method in class org.lsmp.djep.vectorJep.function.VList
Calculates the dimension of this node with given dimesions of children.
calcValue(MatrixValueI, MatrixValueI[]) - Method in class org.lsmp.djep.matrixJep.function.MIf
This method should not be called.
calcValue(MatrixValueI, MatrixValueI[]) - Method in class org.lsmp.djep.matrixJep.function.MList
 
calcValue(MatrixValueI, MatrixValueI, MatrixValueI) - Method in interface org.lsmp.djep.vectorJep.function.BinaryOperatorI
Calculates the value of this operator for given input with results stored in res.
calcValue(MatrixValueI, MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.Ele
 
calcValue(MatrixValueI, MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.ExteriorProduct
 
calcValue(MatrixValueI, MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.MAdd
calculates the value.
calcValue(MatrixValueI, MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.MDot
calculates the value.
calcValue(Scaler, MVector, MVector) - Method in class org.lsmp.djep.vectorJep.function.MDot
 
calcValue(MatrixValueI, MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.MMultiply
 
calcValue(MatrixValueI, MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.MPower
 
calcValue(MatrixValueI, MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.MSubtract
calculates the value.
calcValue(MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.MUMinus
calculates the value.
calcValue(MatrixValueI, MatrixValueI[]) - Method in interface org.lsmp.djep.vectorJep.function.NaryOperatorI
Calculates the value of this operator for given input with results stored in res.
calcValue(MatrixValueI, MatrixValueI) - Method in interface org.lsmp.djep.vectorJep.function.UnaryOperatorI
Calculates the value of this operator for given input with results stored in res.
calcValue(MatrixValueI, MatrixValueI[]) - Method in class org.lsmp.djep.vectorJep.function.VList
Calculates the value of this node.
calcValue(XJep) - Method in class org.lsmp.djep.xjep.XVariable
Calculates the value for the variables equation and returns that value.
calcValue(String) - Method in class org.lsmp.djepJUnit.DJepTest
 
calcValue(String) - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
calcValue(String) - Method in class org.lsmp.djepJUnit.RpTest
 
calcValue(String) - Method in class org.lsmp.djepJUnit.VectorJepTest
 
calcValue(String) - Method in class org.lsmp.djepJUnit.XJepTest
 
calcVarValue(String) - Method in class org.lsmp.djep.xjep.XJep
Calculates the value for the variables equation and returns that value.
calculateComplexValue(Complex) - Method in class org.lsmp.djep.groupJep.values.Polynomial
returns the complex value of this polynomial.
checkStack(Stack) - Method in class org.nfunk.jep.function.PostfixMathCommand
Check whether the stack is not null, throw a ParseException if it is.
children - Variable in class org.nfunk.jep.SimpleNode
 
childrenAccept(ParserVisitor, Object) - Method in class org.nfunk.jep.SimpleNode
Accept the visitor.
cleanUp() - Method in class org.lsmp.djep.rpe.RpEval
Removes observers and other cleanup needed when evaluator no longer used.
clearErrors() - Method in class org.lsmp.djep.xjep.ErrorCatchingVisitor
Reset the list of errors.
clearValues() - Method in class org.lsmp.djep.djep.DSymbolTable
 
clearValues() - Method in class org.nfunk.jep.SymbolTable
Clears the values of all variables.
column - Variable in class org.nfunk.jep.JavaCharStream
 
commandv - Variable in class org.lsmp.djep.xjep.XJep
 
compare(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
compare(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
compare(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
compare(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
compare(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
compare(Number, Number) - Method in interface org.lsmp.djep.groupJep.interfaces.OrderedSetI
Returns -1,0,1 depending on whether a is less than, equal to or greater than b.
compareTo(Object) - Method in class org.lsmp.djep.groupJep.values.Rational
 
compile(Node) - Method in class org.lsmp.djep.rpe.RpEval
Compile the expresions to produce a set of commands in reverse Polish notation.
compile(Node) - Method in class org.nfunk.jep.evaluation.ExpressionCompiler
 
complexValue(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
Returns the Complex value represented by node
complexValueTest(String, Complex, double) - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
complexValueTest(String, Complex, double) - Method in class org.lsmp.djepJUnit.RpTest
 
complexValueTest(String, Complex, double) - Method in class org.lsmp.djepJUnit.XJepTest
 
continueParse() - Method in class org.nfunk.jep.Parser
Continue parsing without re-initilising stream.
continueParsing() - Method in class org.lsmp.djep.xjep.XJep
Continue parsing without re-initilising the stream.
copier - Variable in class org.lsmp.djep.xjep.XJep
 
copyChildren(Node, Node[]) - Method in class org.lsmp.djep.xjep.NodeFactory
Sets the children of node to be those specified in array.
copyChildrenIfNeeded(Node, Node[]) - Static method in class org.lsmp.djep.xjep.TreeUtils
Sets the children of a node if they have changed for it current children.
copyConstants(SymbolTable) - Method in class org.lsmp.djep.xjep.XSymbolTable
Copy the values of all constants into this from the supplied symbol table.
cos(Object) - Method in class org.nfunk.jep.function.Cosine
 
cos() - Method in class org.nfunk.jep.type.Complex
Returns the cosine of this complex number.
cosh(Object) - Method in class org.nfunk.jep.function.CosineH
 
cosh() - Method in class org.nfunk.jep.type.Complex
 
createDerivative(String[], Node) - Method in class org.lsmp.djep.djep.DVariable
 
createDerivative(DVariable, String[], Node) - Method in class org.lsmp.djep.djep.DVariableFactory
Creates a partial derivative of a given variable.
createDerivative(String[], Node) - Method in class org.lsmp.djep.matrixJep.MatrixVariable
 
createDerivative(DVariable, String[], Node) - Method in class org.lsmp.djep.matrixJep.MatrixVariableFactory
create a derivative
createNumber(String) - Method in class org.nfunk.jep.type.DoubleNumberFactory
Creates a Double object initialized to the value of the parameter.
createNumber(String) - Method in interface org.nfunk.jep.type.NumberFactory
Creates a number object and initializes its value.
createVariable(String, Object) - Method in class org.lsmp.djep.djep.DVariableFactory
 
createVariable(String) - Method in class org.lsmp.djep.djep.DVariableFactory
 
createVariable(String, Object) - Method in class org.lsmp.djep.matrixJep.MatrixVariableFactory
Create a variable with a given value.
createVariable(String) - Method in class org.lsmp.djep.matrixJep.MatrixVariableFactory
Create a variable with a given value.
createVariable(String, Object) - Method in class org.lsmp.djep.xjep.XVariableFactory
 
createVariable(String) - Method in class org.lsmp.djep.xjep.XVariableFactory
 
createVariable(String, Object) - Method in class org.nfunk.jep.VariableFactory
Create a variable with a name and value
createVariable(String) - Method in class org.nfunk.jep.VariableFactory
Create a variable with a name but not value
cross(Object, Object) - Method in class org.nfunk.jep.function.Cross
 
cross(Vector, Vector) - Method in class org.nfunk.jep.function.Cross
 
crosspower(Object, Object) - Method in class org.lsmp.djep.vectorJep.function.ExteriorProduct
 
curChar - Variable in class org.nfunk.jep.ParserTokenManager
 
curNumberOfParameters - Variable in class org.nfunk.jep.function.PostfixMathCommand
Number of parameters to be used for the next run() invocation.
currentToken - Variable in class org.nfunk.jep.ParseException
This is the last token that has been consumed successfully.

D

DECIMAL_LITERAL - Static variable in interface org.nfunk.jep.ParserConstants
 
DEFAULT - Static variable in interface org.nfunk.jep.ParserConstants
 
DIGIT1 - Static variable in interface org.nfunk.jep.ParserConstants
 
DIGIT2 - Static variable in interface org.nfunk.jep.ParserConstants
 
DIV - Static variable in interface org.nfunk.jep.ParserConstants
 
DJep - class org.lsmp.djep.djep.DJep.
Adds differentation facilities to JEP.
DJep() - Constructor for class org.lsmp.djep.djep.DJep
Standard constructor.
DJep(DJep) - Constructor for class org.lsmp.djep.djep.DJep
 
DJepConsole - class org.lsmp.djepExamples.DJepConsole.
This class implements a simple command line utility for evaluating mathematical expressions.
DJepConsole() - Constructor for class org.lsmp.djepExamples.DJepConsole
Constructor
DJepTest - class org.lsmp.djepJUnit.DJepTest.
 
DJepTest(String) - Constructor for class org.lsmp.djepJUnit.DJepTest
 
DOT - Static variable in interface org.nfunk.jep.ParserConstants
 
DPrintVisitor - class org.lsmp.djep.djep.DPrintVisitor.
An extension of PrintVisitor which will print the equations of a variable if required.
DPrintVisitor() - Constructor for class org.lsmp.djep.djep.DPrintVisitor
 
DSymbolTable - class org.lsmp.djep.djep.DSymbolTable.
A SymbolTable which works with partial derivatives of variables.
DSymbolTable(VariableFactory) - Constructor for class org.lsmp.djep.djep.DSymbolTable
 
DVariable - class org.lsmp.djep.djep.DVariable.
Holds all info about a variable.
DVariable(String) - Constructor for class org.lsmp.djep.djep.DVariable
The constructor is package private.
DVariable(String, Object) - Constructor for class org.lsmp.djep.djep.DVariable
 
DVariableFactory - class org.lsmp.djep.djep.DVariableFactory.
A VariableFactory which can work with PartialDerivatives.
DVariableFactory() - Constructor for class org.lsmp.djep.djep.DVariableFactory
 
DeepCopyVisitor - class org.lsmp.djep.xjep.DeepCopyVisitor.
A Visitor which returns an exact copy of the tree.
DeepCopyVisitor() - Constructor for class org.lsmp.djep.xjep.DeepCopyVisitor
 
Diff - class org.lsmp.djep.djep.Diff.
The diff(f,x) opperator.
Diff() - Constructor for class org.lsmp.djep.djep.Diff
 
DiffExample - class org.lsmp.djepExamples.DiffExample.
Examples using differentation
DiffExample() - Constructor for class org.lsmp.djepExamples.DiffExample
 
DiffRulesI - interface org.lsmp.djep.djep.DiffRulesI.
Holds a set of rules describing how to differentiate a function.
DifferentiationVisitor - class org.lsmp.djep.djep.DifferentiationVisitor.
A class for perfoming differentation of an expression.
DifferentiationVisitor(DJep) - Constructor for class org.lsmp.djep.djep.DifferentiationVisitor
Construction with a given set of tree utilities
Dimensions - class org.lsmp.djep.vectorJep.Dimensions.
A class to represent a set of dimensions.
Divide - class org.nfunk.jep.function.Divide.
 
Divide() - Constructor for class org.nfunk.jep.function.Divide
 
DivideDiffRule - class org.lsmp.djep.djep.diffRules.DivideDiffRule.
Diffrentiates a division with respect to var.
DivideDiffRule(String) - Constructor for class org.lsmp.djep.djep.diffRules.DivideDiffRule
 
DoNothingVisitor - class org.lsmp.djep.xjep.DoNothingVisitor.
A Visitor which visits each node of a expression tree.
DoNothingVisitor() - Constructor for class org.lsmp.djep.xjep.DoNothingVisitor
 
Done() - Method in class org.nfunk.jep.JavaCharStream
 
Dot - class org.nfunk.jep.function.Dot.
 
Dot() - Constructor for class org.nfunk.jep.function.Dot
 
DoubleNumberFactory - class org.nfunk.jep.type.DoubleNumberFactory.
Default class for creating number objects.
DoubleNumberFactory() - Constructor for class org.nfunk.jep.type.DoubleNumberFactory
 
debugStream - Variable in class org.nfunk.jep.ParserTokenManager
 
dec - Variable in class org.lsmp.djep.matrixJep.MatrixJep
 
deepCopy(Node, XJep) - Method in class org.lsmp.djep.xjep.DeepCopyVisitor
Creates a deepCopy of a Node
deepCopy(Node) - Method in class org.lsmp.djep.xjep.XJep
Returns a deep copy of an expression tree.
derivatives - Variable in class org.lsmp.djep.djep.DVariable
 
differentiate(Node, String) - Method in class org.lsmp.djep.djep.DJep
Differentiate an equation with respect to a variable.
differentiate(ASTFunNode, String, Node[], Node[], DJep) - Method in interface org.lsmp.djep.djep.DiffRulesI
Returns the top node of of the derivative of this function wrt to variable var.
differentiate(Node, String, DJep) - Method in class org.lsmp.djep.djep.DifferentiationVisitor
Differentiates an expression tree wrt a variable var.
differentiate(ASTFunNode, String, Node[], Node[], DJep) - Method in class org.lsmp.djep.djep.diffRules.AdditionDiffRule
 
differentiate(ASTFunNode, String, Node[], Node[], DJep) - Method in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
Use the chain rule to differentiate.
differentiate(ASTFunNode, String, Node[], Node[], DJep) - Method in class org.lsmp.djep.djep.diffRules.DivideDiffRule
 
differentiate(ASTFunNode, String, Node[], Node[], DJep) - Method in class org.lsmp.djep.djep.diffRules.MultiplyDiffRule
 
differentiate(ASTFunNode, String, Node[], Node[], DJep) - Method in class org.lsmp.djep.djep.diffRules.PassThroughDiffRule
 
differentiate(ASTFunNode, String, Node[], Node[], DJep) - Method in class org.lsmp.djep.djep.diffRules.PowerDiffRule
 
differentiate(ASTFunNode, String, Node[], Node[], DJep) - Method in class org.lsmp.djep.djep.diffRules.SubtractDiffRule
 
disable_tracing() - Method in class org.nfunk.jep.Parser
 
div(Object, Object) - Method in class org.lsmp.djep.groupJep.function.GDivide
 
div(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
div(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
div(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
div(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
div(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
div(Number, Number) - Method in interface org.lsmp.djep.groupJep.interfaces.HasDivI
get division of two numbers. i.e. a * ( b^-1).
div(Rational) - Method in class org.lsmp.djep.groupJep.values.Rational
 
div(Object, Object) - Method in class org.nfunk.jep.function.Divide
 
div(Number, Number) - Method in class org.nfunk.jep.function.Divide
 
div(Complex, Complex) - Method in class org.nfunk.jep.function.Divide
 
div(Number, Complex) - Method in class org.nfunk.jep.function.Divide
 
div(Complex, Number) - Method in class org.nfunk.jep.function.Divide
 
div(Vector, Number) - Method in class org.nfunk.jep.function.Divide
 
div(Number, Vector) - Method in class org.nfunk.jep.function.Divide
 
div(Vector, Complex) - Method in class org.nfunk.jep.function.Divide
 
div(Complex, Vector) - Method in class org.nfunk.jep.function.Divide
 
div(Complex) - Method in class org.nfunk.jep.type.Complex
Returns the result of dividing this complex number by the parameter.
doAll(String[]) - Static method in class org.lsmp.djepExamples.RpExample
 
doAll(String[], String) - Static method in class org.lsmp.djepExamples.RpSpeed
 
doBoth(String, String) - Static method in class org.lsmp.djepExamples.MatrixSpeed
 
doStuff(String) - Static method in class org.lsmp.djepExamples.MatrixExample
 
doStuff(String) - Static method in class org.lsmp.djepExamples.RpExample
 
doStuff(String) - Static method in class org.lsmp.djepExamples.VectorExample
 
doStuff(String) - Static method in class org.lsmp.djepExamples.VectorPrint
 
dot(Object, Object) - Method in class org.lsmp.djep.vectorJep.function.MDot
returns param1 . param2.
dot(MVector, MVector) - Method in class org.lsmp.djep.vectorJep.function.MDot
returns lhs . rhs
dot(Object, Object) - Method in class org.nfunk.jep.function.Dot
 
dot(Vector, Vector) - Method in class org.nfunk.jep.function.Dot
 
doubleValue() - Method in class org.lsmp.djep.groupJep.groups.Quartonians.Quartonian
 
doubleValue() - Method in class org.lsmp.djep.groupJep.values.Permutation
Just returns 0.
doubleValue() - Method in class org.lsmp.djep.groupJep.values.Polynomial
value of constant coeff.
doubleValue() - Method in class org.lsmp.djep.groupJep.values.Rational
 
doubleValue() - Method in class org.lsmp.djep.vectorJep.values.MVector
value of constant ele(1).
doubleValue() - Method in class org.lsmp.djep.vectorJep.values.Matrix
value of ele(1,1).
doubleValue() - Method in class org.lsmp.djep.vectorJep.values.Scaler
value of constant coeff.
doubleValue() - Method in class org.lsmp.djep.vectorJep.values.Tensor
value of constant ele(1).
doubleValue(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
Returns the double value represented by node
doubleValue() - Method in class org.nfunk.jep.type.Complex
Returns real part.
dump(String) - Method in class org.nfunk.jep.SimpleNode
 
dv - Variable in class org.lsmp.djep.djep.DJep
 

E

EOF - Static variable in interface org.nfunk.jep.ParserConstants
 
EQ - Static variable in interface org.nfunk.jep.ParserConstants
 
EQ - Static variable in class org.nfunk.jep.function.Comparative
 
EQUIVILENCE - Static variable in class org.lsmp.djep.xjep.XOperator
Equivilence relations = reflexive, transative and symetric.
EXPONENT - Static variable in interface org.nfunk.jep.ParserConstants
 
Ele - class org.lsmp.djep.vectorJep.function.Ele.
ele(x,i) returns the i-th element of x.
Ele() - Constructor for class org.lsmp.djep.vectorJep.function.Ele
 
EqualExpression() - Method in class org.nfunk.jep.Parser
 
ErrorCatchingVisitor - class org.lsmp.djep.xjep.ErrorCatchingVisitor.
An abstract ParserVisitor which adds some useful error handeling facilities.
ErrorCatchingVisitor() - Constructor for class org.lsmp.djep.xjep.ErrorCatchingVisitor
 
Eval - class org.lsmp.djep.xjep.Eval.
Symbolic eval(x^3,x,2) operator.
Eval() - Constructor for class org.lsmp.djep.xjep.Eval
Create a function that evaluates the lhs with values given on rhs.
EvaluatorVisitor - class org.nfunk.jep.EvaluatorVisitor.
This class is used for the evaluation of an expression.
EvaluatorVisitor() - Constructor for class org.nfunk.jep.EvaluatorVisitor
Constructor.
Exp - class org.nfunk.jep.function.Exp.
The exp function.
Exp() - Constructor for class org.nfunk.jep.function.Exp
 
ExpandBrackets - class org.lsmp.djep.xjep.rewriteRules.ExpandBrackets.
 
ExpandBrackets(XJep) - Constructor for class org.lsmp.djep.xjep.rewriteRules.ExpandBrackets
 
ExpandBuff(boolean) - Method in class org.nfunk.jep.JavaCharStream
 
ExpandPower - class org.lsmp.djep.xjep.rewriteRules.ExpandPower.
 
ExpandPower(XJep) - Constructor for class org.lsmp.djep.xjep.rewriteRules.ExpandPower
 
Expression() - Method in class org.nfunk.jep.Parser
 
ExpressionCompiler - class org.nfunk.jep.evaluation.ExpressionCompiler.
 
ExpressionCompiler() - Constructor for class org.nfunk.jep.evaluation.ExpressionCompiler
 
ExteriorProduct - class org.lsmp.djep.vectorJep.function.ExteriorProduct.
An overloaded operator, either cross product or power.
ExteriorProduct() - Constructor for class org.lsmp.djep.vectorJep.function.ExteriorProduct
 
enable_tracing() - Method in class org.nfunk.jep.Parser
 
endColumn - Variable in class org.nfunk.jep.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 org.nfunk.jep.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.
eol - Variable in class org.nfunk.jep.ParseException
The end of line string for this machine.
eq(Object, Object) - Method in class org.nfunk.jep.function.Comparative
 
equals(Number, Number) - Method in interface org.lsmp.djep.groupJep.GroupI
whether two numbers are equal
equals(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
equals(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
equals(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
equals(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
equals(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
equals(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
equals(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
equals(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
equals(Permutation) - Method in class org.lsmp.djep.groupJep.values.Permutation
 
equals(Polynomial) - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
equals(Dimensions) - Method in class org.lsmp.djep.vectorJep.Dimensions
Two dimensions are equal if the element of dims are the same.
equals(Object) - Method in class org.lsmp.djep.vectorJep.values.MVector
 
equals(Object) - Method in class org.lsmp.djep.vectorJep.values.Matrix
Are two matricies equal, element by element Overrides Object.
equals(Object) - Method in class org.lsmp.djep.vectorJep.values.Scaler
 
equals(Object) - Method in class org.lsmp.djep.vectorJep.values.Tensor
 
equals(Complex, double) - Method in class org.nfunk.jep.type.Complex
Compares this object with the Complex number given as parameter b.
equals(Object) - Method in class org.nfunk.jep.type.Complex
Compares this object against the specified object.
errorFlag - Variable in class org.nfunk.jep.EvaluatorVisitor
Flag for errors during evaluation
errorList - Variable in class org.nfunk.jep.EvaluatorVisitor
The current error list
errorList - Variable in class org.nfunk.jep.JEP
Error List
ev - Variable in class org.nfunk.jep.JEP
Evaluator
evaluate(Node, Object, ParserVisitor, Stack) - Method in class org.lsmp.djep.djep.Diff
 
evaluate(MatrixNodeI, MatrixJep) - Method in class org.lsmp.djep.matrixJep.MatrixEvaluator
 
evaluate(Node) - Method in class org.lsmp.djep.matrixJep.MatrixJep
Evaluate a node.
evaluate(MatrixNodeI, MatrixEvaluator, MatrixJep) - Method in interface org.lsmp.djep.matrixJep.MatrixSpecialEvaluationI
Returns the result of evaluating this node and the tree below.
evaluate(MatrixNodeI, MatrixEvaluator, MatrixJep) - Method in class org.lsmp.djep.matrixJep.function.MAssign
A special methods for evaluating an assignment.
evaluate(MatrixNodeI, MatrixEvaluator, MatrixJep) - Method in class org.lsmp.djep.matrixJep.function.MIf
Evaluate the node, uses lazy evaluation.
evaluate(RpCommandList) - Method in class org.lsmp.djep.rpe.RpEval
Evaluate the expression.
evaluate(Node) - Method in class org.lsmp.djep.vectorJep.VectorJep
Evaluate a node.
evaluate(Node) - Method in class org.lsmp.djep.xjep.XJep
Evaluates a node.
evaluate(Object[]) - Method in class org.lsmp.djep.xjep.function.Max
 
evaluate(Object[]) - Method in class org.lsmp.djep.xjep.function.MaxArg
 
evaluate(Node, Variable, double, double, double, Object, ParserVisitor, Stack) - Method in class org.lsmp.djep.xjep.function.MaxArg
 
evaluate(Object[]) - Method in class org.lsmp.djep.xjep.function.Min
 
evaluate(Object[]) - Method in class org.lsmp.djep.xjep.function.MinArg
 
evaluate(Node, Variable, double, double, double, Object, ParserVisitor, Stack) - Method in class org.lsmp.djep.xjep.function.MinArg
 
evaluate(Object[]) - Method in class org.lsmp.djep.xjep.function.Product
 
evaluate(Object[]) - Method in class org.lsmp.djep.xjep.function.Simpson
 
evaluate(Node, Variable, double, double, double, Object, ParserVisitor, Stack) - Method in class org.lsmp.djep.xjep.function.Simpson
 
evaluate(Object[]) - Method in class org.lsmp.djep.xjep.function.Sum
 
evaluate(Node, Object, ParserVisitor, Stack) - Method in class org.lsmp.djep.xjep.function.SumType
Evaluates the operator in given context.
evaluate(Node, Variable, double, double, double, Object, ParserVisitor, Stack) - Method in class org.lsmp.djep.xjep.function.SumType
Evaluates the node by repeatibly setting the value of the variable from min to max, and calculating the value of the first argument.
evaluate(Object[]) - Method in class org.lsmp.djep.xjep.function.SumType
Evaluates the function given the set of y values.
evaluate(Node) - Method in class org.nfunk.jep.JEP
Evaluate an expression.
evaluate(CommandElement[], SymbolTable) - Method in class org.nfunk.jep.evaluation.CommandEvaluator
 
evaluate(Node, Object, ParserVisitor, Stack) - Method in class org.nfunk.jep.function.Assign
For assignment set the value of the variable on the lhs to value returned by evaluating the righthand side.
evaluate(Node, Object, ParserVisitor, Stack) - Method in class org.nfunk.jep.function.If
For assignment
evaluate(Node, Object, ParserVisitor, Stack) - Method in interface org.nfunk.jep.function.SpecialEvaluationI
Performs some special evaluation on the node.
evaluateRaw(Node) - Method in class org.lsmp.djep.matrixJep.MatrixJep
Evaluate a node.
evaluateRaw(Node) - Method in class org.lsmp.djep.vectorJep.VectorJep
Evaluate a node.
exp(Object) - Method in class org.nfunk.jep.function.Exp
 
expectedTokenSequences - Variable in class org.nfunk.jep.ParseException
Each entry in this array is an array of integers.
exteriorProduct(MVector, MVector) - Method in class org.lsmp.djep.vectorJep.function.ExteriorProduct
 

F

FLOATING_POINT_LITERAL - Static variable in interface org.nfunk.jep.ParserConstants
 
FULL_BRACKET - Static variable in class org.lsmp.djep.xjep.PrintVisitor
All brackets are printed.
FUNC - Static variable in class org.nfunk.jep.evaluation.CommandElement
 
FieldI - interface org.lsmp.djep.groupJep.interfaces.FieldI.
Represents a field.
FillBuff() - Method in class org.nfunk.jep.JavaCharStream
 
FreeGroup - class org.lsmp.djep.groupJep.groups.FreeGroup.
A free group generated by a symbol t.
FreeGroup(RingI, String) - Constructor for class org.lsmp.djep.groupJep.groups.FreeGroup
Create the ring K(t) where t is a solution of the monic polynomial p.
FreeGroupElement - class org.lsmp.djep.groupJep.values.FreeGroupElement.
An element of a free group with one generator.
FreeGroupElement(FreeGroup, Number[]) - Constructor for class org.lsmp.djep.groupJep.values.FreeGroupElement
An element of a free group with one generator.
Function() - Method in class org.nfunk.jep.Parser
 
FunctionTable - class org.nfunk.jep.FunctionTable.
 
FunctionTable() - Constructor for class org.nfunk.jep.FunctionTable
 
findDerivative(String[], DJep) - Method in class org.lsmp.djep.djep.DVariable
 
findDerivative(String, DJep) - Method in class org.lsmp.djep.djep.DVariable
 
findDerivative(PartialDerivative, String, DJep) - Method in class org.lsmp.djep.djep.DVariable
 
findDerivative(String, DJep) - Method in class org.lsmp.djep.djep.PartialDerivative
 
findDerivativeSorted(String[], DJep) - Method in class org.lsmp.djep.djep.DVariable
Finds the derivative of this variable wrt the names.
floatValue() - Method in class org.lsmp.djep.groupJep.groups.Quartonians.Quartonian
 
floatValue() - Method in class org.lsmp.djep.groupJep.values.Permutation
 
floatValue() - Method in class org.lsmp.djep.groupJep.values.Polynomial
value of constant coeff.
floatValue() - Method in class org.lsmp.djep.groupJep.values.Rational
 
floatValue() - Method in class org.lsmp.djep.vectorJep.values.MVector
value of constant ele(1).
floatValue() - Method in class org.lsmp.djep.vectorJep.values.Matrix
value of ele(1,1).
floatValue() - Method in class org.lsmp.djep.vectorJep.values.Scaler
value of constant coeff.
floatValue() - Method in class org.lsmp.djep.vectorJep.values.Tensor
value of constant ele(1).
floatValue() - Method in class org.nfunk.jep.type.Complex
Returns real part.
funTab - Variable in class org.nfunk.jep.JEP
Function Table

G

GAdd - class org.lsmp.djep.groupJep.function.GAdd.
 
GAdd(GroupI) - Constructor for class org.lsmp.djep.groupJep.function.GAdd
 
GComparative - class org.lsmp.djep.groupJep.function.GComparative.
Implements logical operations on a a group.
GComparative(GroupI, int) - Constructor for class org.lsmp.djep.groupJep.function.GComparative
 
GDivide - class org.lsmp.djep.groupJep.function.GDivide.
 
GDivide(GroupI) - Constructor for class org.lsmp.djep.groupJep.function.GDivide
 
GE - Static variable in interface org.nfunk.jep.ParserConstants
 
GE - Static variable in class org.nfunk.jep.function.Comparative
 
GList - class org.lsmp.djep.groupJep.function.GList.
 
GList(GroupI) - Constructor for class org.lsmp.djep.groupJep.function.GList
 
GLogical - class org.lsmp.djep.groupJep.function.GLogical.
 
GLogical(int) - Constructor for class org.lsmp.djep.groupJep.function.GLogical
 
GMod - class org.lsmp.djep.groupJep.function.GMod.
 
GMod(GroupI) - Constructor for class org.lsmp.djep.groupJep.function.GMod
 
GMultiply - class org.lsmp.djep.groupJep.function.GMultiply.
 
GMultiply(GroupI) - Constructor for class org.lsmp.djep.groupJep.function.GMultiply
 
GNot - class org.lsmp.djep.groupJep.function.GNot.
 
GNot() - Constructor for class org.lsmp.djep.groupJep.function.GNot
 
GOperatorSet - class org.lsmp.djep.groupJep.GOperatorSet.
 
GOperatorSet(GroupI) - Constructor for class org.lsmp.djep.groupJep.GOperatorSet
TODO Should really change the properties of operators, might muck up simplification.
GPower - class org.lsmp.djep.groupJep.function.GPower.
 
GPower(GroupI) - Constructor for class org.lsmp.djep.groupJep.function.GPower
 
GSubtract - class org.lsmp.djep.groupJep.function.GSubtract.
 
GSubtract(GroupI) - Constructor for class org.lsmp.djep.groupJep.function.GSubtract
 
GT - Static variable in interface org.nfunk.jep.ParserConstants
 
GT - Static variable in class org.nfunk.jep.function.Comparative
 
GUMinus - class org.lsmp.djep.groupJep.function.GUMinus.
 
GUMinus(GroupI) - Constructor for class org.lsmp.djep.groupJep.function.GUMinus
 
GetImage() - Method in class org.nfunk.jep.JavaCharStream
 
GetSuffix(int) - Method in class org.nfunk.jep.JavaCharStream
 
Group - class org.lsmp.djep.groupJep.groups.Group.
Base abstract class for all groups.
Group() - Constructor for class org.lsmp.djep.groupJep.groups.Group
 
GroupI - interface org.lsmp.djep.groupJep.GroupI.
Represents a group with an identity, and addition operator.
GroupJep - class org.lsmp.djep.groupJep.GroupJep.
An extension of JEP which allows calculations over arbitary groups, such as the integers(exact answers) and rationals.
GroupJep(GroupI) - Constructor for class org.lsmp.djep.groupJep.GroupJep
Create a new GroupJep instance with calculations over the given group.
GroupJep(JEP) - Constructor for class org.lsmp.djep.groupJep.GroupJep
 
GroupJepTest - class org.lsmp.djepJUnit.GroupJepTest.
Tests some strange properties of special groups.
GroupJepTest(String) - Constructor for class org.lsmp.djepJUnit.GroupJepTest
 
ge(Object, Object) - Method in class org.nfunk.jep.function.Comparative
 
generateParseException() - Method in class org.nfunk.jep.Parser
 
get(String) - Method in class org.nfunk.jep.FunctionTable
returns the PostfixMathCommandI for function with name s.
get(Object) - Method in class org.nfunk.jep.FunctionTable
overrides the standard hashtable method.
get(Object) - Method in class org.nfunk.jep.SymbolTable
Deprecated. The getValue or getVar methods should be used instead.
getAdd() - Method in class org.nfunk.jep.OperatorSet
 
getAllowAssignment() - Method in class org.nfunk.jep.JEP
Whether assignment equation y=x+1 equations are allowed.
getAllowUndeclared() - Method in class org.nfunk.jep.JEP
Returns the value of the allowUndeclared option.
getAnd() - Method in class org.nfunk.jep.OperatorSet
 
getAssign() - Method in class org.nfunk.jep.OperatorSet
 
getBaseRing() - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
Returns the base ring of this extension.
getBaseRing() - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
getBeginColumn() - Method in class org.nfunk.jep.JavaCharStream
 
getBeginLine() - Method in class org.nfunk.jep.JavaCharStream
 
getBinaryInverseOp() - Method in class org.lsmp.djep.xjep.XOperator
 
getBinding() - Method in class org.lsmp.djep.xjep.XOperator
When parsing how is x+y+z interpreted.
getCI() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getCMINUSI() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getCMINUSONE() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getCONE() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getCZERO() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getChildrenAsArray(Node) - Static method in class org.lsmp.djep.xjep.TreeUtils
returns the children of a node as an array of nodes.
getCoeff(int) - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
getCoeffs() - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
getColumn() - Method in class org.nfunk.jep.JavaCharStream
Deprecated.  
getComplexValue() - Method in class org.lsmp.djep.groupJep.GroupJep
Calcuates the value of the expression and returns the result as a complex number.
getComplexValue(Object) - Static method in class org.lsmp.djep.groupJep.GroupJep
A utility function which returns the complex aproximation of a number.
getComplexValue() - Method in class org.lsmp.djep.groupJep.values.FreeGroupElement
Returns an aproximation to the complex number representing this algebraic number.
getComplexValue() - Method in interface org.lsmp.djep.groupJep.values.HasComplexValueI
 
getComplexValue() - Method in class org.nfunk.jep.JEP
Evaluates and returns the value of the expression as a complex number.
getCross() - Method in class org.nfunk.jep.OperatorSet
 
getDegree() - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
getDenominator() - Method in class org.lsmp.djep.groupJep.values.Rational
* Returns the bottom half of the rational.
getDerivative(String[]) - Method in class org.lsmp.djep.djep.DVariable
 
getDerivativeSorted(String[]) - Method in class org.lsmp.djep.djep.DVariable
 
getDifferentationVisitor() - Method in class org.lsmp.djep.djep.DJep
Returns the visitor used for differentiation.
getDim() - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMConstant
 
getDim() - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMFunNode
 
getDim() - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMVarNode
 
getDim() - Method in interface org.lsmp.djep.matrixJep.nodeTypes.MatrixNodeI
 
getDim() - Method in class org.lsmp.djep.vectorJep.values.MVector
 
getDim() - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
getDim() - Method in interface org.lsmp.djep.vectorJep.values.MatrixValueI
Returns the dimension of this object.
getDim() - Method in class org.lsmp.djep.vectorJep.values.Scaler
 
getDim() - Method in class org.lsmp.djep.vectorJep.values.Tensor
 
getDimensions() - Method in class org.lsmp.djep.matrixJep.MatrixPartialDerivative
 
getDimensions() - Method in class org.lsmp.djep.matrixJep.MatrixVariable
 
getDimensions() - Method in interface org.lsmp.djep.matrixJep.MatrixVariableI
The dimension of the variable.
getDivide() - Method in class org.nfunk.jep.OperatorSet
 
getDnames() - Method in class org.lsmp.djep.djep.PartialDerivative
 
getDot() - Method in class org.nfunk.jep.OperatorSet
 
getEQ() - Method in class org.nfunk.jep.OperatorSet
 
getEle(int) - Method in class org.lsmp.djep.vectorJep.values.MVector
 
getEle(int) - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
getEle(int, int) - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
getEle(int) - Method in interface org.lsmp.djep.vectorJep.values.MatrixValueI
gets the i-th element, treats data a a linear array.
getEle(int) - Method in class org.lsmp.djep.vectorJep.values.Scaler
 
getEle(int) - Method in class org.lsmp.djep.vectorJep.values.Tensor
 
getEles() - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
getEndColumn() - Method in class org.nfunk.jep.JavaCharStream
 
getEndLine() - Method in class org.nfunk.jep.JavaCharStream
 
getEquation() - Method in interface org.lsmp.djep.matrixJep.MatrixVariableI
The equation represented by this variable.
getEquation() - Method in class org.lsmp.djep.xjep.XVariable
get the equation
getError() - Method in class org.lsmp.djep.xjep.ErrorCatchingVisitor
Returns the Exception or null if no error.
getErrorInfo() - Method in class org.nfunk.jep.JEP
Reports information on the errors that occured during the most recent action.
getErrorInfo() - Method in class org.nfunk.jep.ParseException
getErrorInfo() was added to the parser generated code to provide clean output instead of the standard format of Exception.toString().
getErrorsMessage() - Method in class org.lsmp.djep.xjep.ErrorCatchingVisitor
Returns the error messages.
getFinalType() - Method in class org.lsmp.djep.rpe.RpCommandList
 
getFirstDim() - Method in class org.lsmp.djep.vectorJep.Dimensions
get the first dimension, 1 for numbers, or the length of a vector.
getFunctionTable() - Method in class org.nfunk.jep.JEP
Returns the function table (the list of all functions that the parser recognises).
getGE() - Method in class org.nfunk.jep.OperatorSet
 
getGT() - Method in class org.nfunk.jep.OperatorSet
 
getGroup() - Method in class org.lsmp.djep.groupJep.GroupJep
 
getId() - Method in class org.nfunk.jep.SimpleNode
Returns the id of the node (for simpler identification).
getImplicitMul() - Method in class org.nfunk.jep.JEP
Returns the value of the implicit multiplication option.
getInstance(Dimensions) - Static method in class org.lsmp.djep.vectorJep.values.Tensor
Factory method to return a new Vector, Matrix or Tensor with the given dimensions.
getInstance(int, Dimensions) - Static method in class org.lsmp.djep.vectorJep.values.Tensor
 
getInverse(Number) - Method in interface org.lsmp.djep.groupJep.GroupI
Get Inverse of a number
getInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
getInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
getInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
getInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
getInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
getInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
getInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
getInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
getInverse() - Method in class org.lsmp.djep.groupJep.values.Permutation
 
getInverseOp() - Method in class org.lsmp.djep.xjep.XOperator
 
getIthDim(int) - Method in class org.lsmp.djep.vectorJep.Dimensions
 
getLE() - Method in class org.nfunk.jep.OperatorSet
 
getLT() - Method in class org.nfunk.jep.OperatorSet
 
getLastDim() - Method in class org.lsmp.djep.vectorJep.Dimensions
get the last dimension, 1 for numbers, or the length of a vector.
getLine() - Method in class org.nfunk.jep.JavaCharStream
Deprecated.  
getList() - Method in class org.nfunk.jep.OperatorSet
 
getMINUSONE() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getMList() - Method in class org.lsmp.djep.matrixJep.MatrixOperatorSet
 
getMValue() - Method in class org.lsmp.djep.matrixJep.MatrixPartialDerivative
 
getMValue() - Method in class org.lsmp.djep.matrixJep.MatrixVariable
returns the value, uses the Scaler type.
getMValue() - Method in interface org.lsmp.djep.matrixJep.MatrixVariableI
Returns the value container of this variable.
getMValue() - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMConstant
 
getMValue() - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMFunNode
 
getMValue() - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMVarNode
 
getMValue() - Method in interface org.lsmp.djep.matrixJep.nodeTypes.MatrixNodeI
 
getMaxLen() - Method in class org.lsmp.djep.xjep.PrintVisitor
 
getMessage() - Method in class org.nfunk.jep.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class org.nfunk.jep.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMod() - Method in class org.nfunk.jep.OperatorSet
 
getMode() - Method in class org.lsmp.djep.xjep.PrintVisitor
Return the current print mode.
getMulInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
getMulInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
getMulInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
getMulInverse(Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
getMulInverse(Number) - Method in interface org.lsmp.djep.groupJep.interfaces.FieldI
get mul inverse
getMultiply() - Method in class org.nfunk.jep.OperatorSet
 
getNAN() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getNE() - Method in class org.nfunk.jep.OperatorSet
 
getName() - Method in interface org.lsmp.djep.djep.DiffRulesI
Returns the name of the function.
getName() - Method in class org.lsmp.djep.djep.PartialDerivative
 
getName() - Method in class org.lsmp.djep.djep.diffRules.AdditionDiffRule
 
getName() - Method in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
returns the name of the function
getName() - Method in class org.lsmp.djep.djep.diffRules.DivideDiffRule
 
getName() - Method in class org.lsmp.djep.djep.diffRules.MultiplyDiffRule
 
getName() - Method in class org.lsmp.djep.djep.diffRules.PassThroughDiffRule
 
getName() - Method in class org.lsmp.djep.djep.diffRules.PowerDiffRule
 
getName() - Method in class org.lsmp.djep.djep.diffRules.SubtractDiffRule
 
getName() - Method in class org.lsmp.djep.xjep.MacroFunction
 
getName(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
Returns the value represented by node
getName() - Method in class org.nfunk.jep.ASTFunNode
Returns the name of the node (operator symbol or function name).
getName() - Method in class org.nfunk.jep.ASTVarNode
Returns the name of the variable.
getName() - Method in class org.nfunk.jep.Operator
returns a unique name definig this operator.
getName() - Method in class org.nfunk.jep.Variable
 
getNegativeInfinity() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getNextToken() - Method in class org.nfunk.jep.Parser
 
getNextToken() - Method in class org.nfunk.jep.ParserTokenManager
 
getNodeFactory() - Method in class org.lsmp.djep.xjep.XJep
Returns the node factory, used for constructing trees of Nodes.
getNot() - Method in class org.nfunk.jep.OperatorSet
 
getNumCols() - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
getNumCommands() - Method in class org.lsmp.djep.rpe.RpCommandList
 
getNumEles() - Method in class org.lsmp.djep.vectorJep.values.MVector
 
getNumEles() - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
getNumEles() - Method in interface org.lsmp.djep.vectorJep.values.MatrixValueI
The total number of elements.
getNumEles() - Method in class org.lsmp.djep.vectorJep.values.Scaler
 
getNumEles() - Method in class org.lsmp.djep.vectorJep.values.Tensor
 
getNumParam() - Method in class org.nfunk.jep.evaluation.CommandElement
 
getNumRows() - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
getNumRules() - Method in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
Returns the number of rules which should be number of arguments of function
getNumber(double) - Method in class org.lsmp.djep.xjep.TreeUtils
 
getNumberFactory() - Method in interface org.lsmp.djep.groupJep.GroupI
returns a number factory for creating group elements from strings.
getNumberFactory() - Method in class org.lsmp.djep.groupJep.groups.Group
returns a number factory for creating group elements from strings
getNumberFactory() - Method in class org.nfunk.jep.JEP
Returns the number factory.
getNumberOfParameters() - Method in class org.nfunk.jep.function.PostfixMathCommand
Return the required number of parameters.
getNumberOfParameters() - Method in interface org.nfunk.jep.function.PostfixMathCommandI
Returns the number of required parameters, or -1 if any number of parameters is allowed.
getNumerator() - Method in class org.lsmp.djep.groupJep.values.Rational
Returns the top half of the rational.
getONE() - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
getONE() - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
getONE() - Method in class org.lsmp.djep.groupJep.groups.Integers
 
getONE() - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
getONE() - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
getONE() - Method in class org.lsmp.djep.groupJep.groups.Reals
 
getONE() - Method in class org.lsmp.djep.groupJep.groups.Zn
 
getONE() - Method in interface org.lsmp.djep.groupJep.interfaces.RingI
Get multiplicative identity i.e. 1.
getONE() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getOperator(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns the operator for a node or null if it is not an operator node.
getOperator() - Method in class org.nfunk.jep.ASTFunNode
Returns the id number of the operator if the node is an operator.
getOperatorSet() - Method in class org.nfunk.jep.JEP
Returns the operator set.
getOperators() - Method in class org.lsmp.djep.matrixJep.MatrixOperatorSet
 
getOperators() - Method in class org.nfunk.jep.OperatorSet
Gets the list of operators.
getOr() - Method in class org.nfunk.jep.OperatorSet
 
getPFMC() - Method in class org.nfunk.jep.ASTFunNode
Returns the math command class associated with this node.
getPFMC() - Method in class org.nfunk.jep.Operator
 
getPFMC() - Method in class org.nfunk.jep.evaluation.CommandElement
 
getParser() - Method in class org.nfunk.jep.JEP
Returns the parse object.
getPartialDeriv(String, String[]) - Method in class org.lsmp.djep.djep.DSymbolTable
 
getPfmc() - Method in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
returns the PostfixMathCommandI for the function.
getPoly() - Method in class org.lsmp.djep.groupJep.groups.AlgebraicExtension
Returns the polynomial defining the algebraic number.
getPositiveInfinity() - Method in class org.lsmp.djep.xjep.TreeUtils
 
getPower() - Method in class org.nfunk.jep.OperatorSet
 
getPrecedence() - Method in class org.lsmp.djep.xjep.XOperator
 
getPrintVisitor() - Method in class org.lsmp.djep.xjep.XJep
Returns the PrintVisitor, used for printing equations.
getRoot() - Method in class org.lsmp.djep.djep.PartialDerivative
Every partial derivative has a root variable for instance the root variable of dy/dx is y.
getRootOp() - Method in class org.lsmp.djep.xjep.XOperator
 
getRootVal() - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
Returns an aproximation to the value of the root as a complex number.
getRule(int) - Method in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
returns the i-th rule as an expression tree.
getSubsPoly() - Method in class org.lsmp.djep.groupJep.groups.AlgebraicExtension
Returns the polynomial -a_(n-1) t^(n-1) + ... + a_0.
getSubtract() - Method in class org.nfunk.jep.OperatorSet
 
getSymbol() - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
Returns the symbol used to denote the generator.
getSymbol() - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
getSymbol() - Method in class org.nfunk.jep.Operator
returns the symbol used by this operator.
getSymbolTable() - Method in class org.nfunk.jep.JEP
Returns the symbol table (the list of all variables that the parser recognises).
getToken(int) - Method in class org.nfunk.jep.Parser
 
getTolerance() - Method in class org.nfunk.jep.function.Comparative
Returns the tolerance used for comparing complex numbers
getTopNode() - Method in class org.lsmp.djep.xjep.MacroFunction
 
getTopNode() - Method in class org.nfunk.jep.JEP
Returns the top node of the expression tree.
getTraverse() - Method in class org.nfunk.jep.JEP
Returns the value of the traverse option.
getTreeUtils() - Method in class org.lsmp.djep.xjep.XJep
Returns the TreeUtilitities, used for examining properties of nodes.
getType() - Method in class org.nfunk.jep.evaluation.CommandElement
 
getUMinus() - Method in class org.nfunk.jep.OperatorSet
 
getValue() - Method in class org.lsmp.djep.matrixJep.MatrixVariable
returns the value, unpacks Scalers so they just return its elements.
getValue() - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMConstant
 
getValue(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
Returns the value represented by node
getValue() - Method in class org.nfunk.jep.ASTConstant
 
getValue(Node, Vector, SymbolTable) - Method in class org.nfunk.jep.EvaluatorVisitor
Returns the value of the expression as an object.
getValue() - Method in class org.nfunk.jep.JEP
Evaluates and returns the value of the expression as a double number.
getValue(Object) - Method in class org.nfunk.jep.SymbolTable
Finds the value of the variable with the given name.
getValue() - Method in class org.nfunk.jep.Variable
 
getValue() - Method in class org.nfunk.jep.evaluation.CommandElement
 
getValueAsObject() - Method in class org.lsmp.djep.matrixJep.MatrixJep
 
getValueAsObject() - Method in class org.nfunk.jep.JEP
Evaluates and returns the value of the expression as an object.
getVar() - Method in class org.nfunk.jep.ASTVarNode
 
getVar(String) - Method in class org.nfunk.jep.JEP
Gets the object representing the variable with a given name.
getVar(String) - Method in class org.nfunk.jep.SymbolTable
Finds the variable with given name.
getVarName() - Method in class org.nfunk.jep.evaluation.CommandElement
 
getVarValue(String) - Method in class org.nfunk.jep.JEP
Returns the value of the varible with given name.
getVariableFactory() - Method in class org.nfunk.jep.SymbolTable
Returns the variable factory of this instance.
getZERO() - Method in interface org.lsmp.djep.groupJep.GroupI
Returns the identity element under +
getZERO() - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
getZERO() - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
getZERO() - Method in class org.lsmp.djep.groupJep.groups.Integers
 
getZERO() - Method in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
getZERO() - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
getZERO() - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
getZERO() - Method in class org.lsmp.djep.groupJep.groups.Reals
 
getZERO() - Method in class org.lsmp.djep.groupJep.groups.Zn
 
getZERO() - Method in class org.lsmp.djep.xjep.TreeUtils
 
group - Variable in class org.lsmp.djep.groupJep.GroupJep
 
group - Variable in class org.lsmp.djep.groupJep.values.Permutation
 
gt(Object, Object) - Method in class org.nfunk.jep.function.Comparative
 

H

HasComplexValueI - interface org.lsmp.djep.groupJep.values.HasComplexValueI.
Groups which have a natural conversion to complex numbers.
HasDivI - interface org.lsmp.djep.groupJep.interfaces.HasDivI.
An IntergralDomainI which also has a notion of division, which is not necessarily closed i.e. the integers.
HasListI - interface org.lsmp.djep.groupJep.interfaces.HasListI.
Group implements a List function [a,b,c].
HasModI - interface org.lsmp.djep.groupJep.interfaces.HasModI.
Group has a mod operator a % b.
HasPowerI - interface org.lsmp.djep.groupJep.interfaces.HasPowerI.
Group has a power operator a ^ b.
hasEquation() - Method in class org.lsmp.djep.xjep.XVariable
Does this variable has an associated equation?
hasError() - Method in class org.nfunk.jep.JEP
Returns true if an error occured during the most recent action (parsing or evaluation).
hasErrors() - Method in class org.lsmp.djep.xjep.ErrorCatchingVisitor
Are their any errors?
hasValidValue() - Method in interface org.lsmp.djep.matrixJep.MatrixVariableI
Is the value of this variable meaningful?
hasValidValue() - Method in class org.nfunk.jep.Variable
Is the value of this variable valid?
hashCode() - Method in class org.lsmp.djep.vectorJep.values.MVector
Always override hashCode when you override equals.
hashCode() - Method in class org.lsmp.djep.vectorJep.values.Matrix
Always override hashCode when you override equals.
hashCode() - Method in class org.lsmp.djep.vectorJep.values.Scaler
Always override hashCode when you override equals.
hashCode() - Method in class org.lsmp.djep.vectorJep.values.Tensor
Always override hashCode when you override equals.
hashCode() - Method in class org.nfunk.jep.type.Complex
Always override hashCode when you override equals.
hashcode() - Method in class org.lsmp.djep.vectorJep.Dimensions
apparently your should always override hashcode when you operride equals (Effective Java, Bloch).

I

INDENTIFIER1 - Static variable in interface org.nfunk.jep.ParserConstants
 
INDENTIFIER2 - Static variable in interface org.nfunk.jep.ParserConstants
 
INTEGER_LITERAL - Static variable in interface org.nfunk.jep.ParserConstants
 
Identifier() - Method in class org.nfunk.jep.Parser
 
If - class org.nfunk.jep.function.If.
The if(condExpr,posExpr,negExpr) function.
If() - Constructor for class org.nfunk.jep.function.If
 
Imaginary - class org.nfunk.jep.function.Imaginary.
 
Imaginary() - Constructor for class org.nfunk.jep.function.Imaginary
 
Integers - class org.lsmp.djep.groupJep.groups.Integers.
The group of integers, implemented as a BigInteger.
Integers() - Constructor for class org.lsmp.djep.groupJep.groups.Integers
Operations on the reals (Implemented as BigInteger).
IntegralDomainI - interface org.lsmp.djep.groupJep.interfaces.IntegralDomainI.
A RingI which has a multaplicative indentity.
id - Variable in class org.nfunk.jep.SimpleNode
 
im(Object) - Method in class org.nfunk.jep.function.Imaginary
 
im() - Method in class org.nfunk.jep.type.Complex
Returns the imaginary component of this object
image - Variable in class org.nfunk.jep.Token
The string image of the token.
implicitMul - Variable in class org.nfunk.jep.JEP
Implicit multiplication option
inBuf - Variable in class org.nfunk.jep.JavaCharStream
 
init() - Method in class org.lsmp.djepExamples.DJepConsole
Applet initialisation
initFunTab() - Method in class org.nfunk.jep.JEP
Creates a new FunctionTable object as funTab.
initSymTab() - Method in class org.nfunk.jep.JEP
Creates a new SymbolTable object as symTab.
initialise() - Method in class org.lsmp.djepExamples.DJepConsole
sets up all the needed objects.
inputStream - Variable in class org.nfunk.jep.JavaCharStream
 
input_stream - Variable in class org.nfunk.jep.ParserTokenManager
 
intValue() - Method in class org.lsmp.djep.groupJep.groups.Quartonians.Quartonian
 
intValue() - Method in class org.lsmp.djep.groupJep.values.Permutation
 
intValue() - Method in class org.lsmp.djep.groupJep.values.Polynomial
value of constant coeff.
intValue() - Method in class org.lsmp.djep.groupJep.values.Rational
 
intValue() - Method in class org.lsmp.djep.vectorJep.values.MVector
value of constant ele(1).
intValue() - Method in class org.lsmp.djep.vectorJep.values.Matrix
value of ele(1,1).
intValue() - Method in class org.lsmp.djep.vectorJep.values.Scaler
value of constant coeff.
intValue() - Method in class org.lsmp.djep.vectorJep.values.Tensor
value of constant ele(1).
intValue(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
Returns the int value represented by node
intValue() - Method in class org.nfunk.jep.type.Complex
Returns real part.
invalidateAll() - Method in class org.lsmp.djep.djep.DVariable
makes value and values of all derivatives invalid.
inverse() - Method in class org.lsmp.djep.groupJep.values.Rational
 
is0D() - Method in class org.lsmp.djep.vectorJep.Dimensions
Is it 0D, ie a simple number.
is1D() - Method in class org.lsmp.djep.vectorJep.Dimensions
Is it 1D, ie a vector [1,2,3].
is2D() - Method in class org.lsmp.djep.vectorJep.Dimensions
Is it 2D, ie a matrix [[1,2,3],[4,5,6]].
isAssociative() - Method in class org.lsmp.djep.xjep.XOperator
 
isBinary() - Method in class org.lsmp.djep.xjep.XOperator
 
isBinaryOperator(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
 
isCommutative() - Method in class org.lsmp.djep.xjep.XOperator
 
isComplex(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is an ASTConstant of type Complex
isComposite() - Method in class org.lsmp.djep.xjep.XOperator
 
isConstant(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant
isConstant() - Method in class org.nfunk.jep.Variable
 
isDistributiveOver(Operator) - Method in class org.lsmp.djep.xjep.XOperator
 
isEquivilence() - Method in class org.lsmp.djep.xjep.XOperator
 
isFunction(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is an ASTFunNode
isInfinite() - Method in class org.nfunk.jep.type.Complex
Returns true if either the real or imaginary component of this Complex is an infinite value.
isInfinity(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant with a Infinite component TODO do propper treatment of signed infinity
isInteger(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant with Double value representing an integer.
isMinusOne(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant with value Double(-1) or Complex(-1,0)
isNaN(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant with a NaN component
isNaN() - Method in class org.nfunk.jep.type.Complex
Returns true if either the real or imaginary component of this Complex is a Not-a-Number (NaN) value.
isNary() - Method in class org.lsmp.djep.xjep.XOperator
 
isNegative(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is an ASTConstant with a negative Double value
isOne(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant with value Double(1) or Complex(1,0)
isOperator(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is an ASTOpNode
isOperator() - Method in class org.nfunk.jep.ASTFunNode
Returns true if node is an operator.
isPositive(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is an ASTConstant with a positive Double value
isPrefix() - Method in class org.lsmp.djep.xjep.XOperator
 
isReal(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant with Double value
isReflexive() - Method in class org.lsmp.djep.xjep.XOperator
 
isSelfInverse() - Method in class org.lsmp.djep.xjep.XOperator
 
isSufix() - Method in class org.lsmp.djep.xjep.XOperator
 
isSymmetric() - Method in class org.lsmp.djep.xjep.XOperator
 
isTransitive() - Method in class org.lsmp.djep.xjep.XOperator
 
isUnary() - Method in class org.lsmp.djep.xjep.XOperator
 
isUnaryOperator(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
 
isVariable(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is an ASTVarNode
isZero(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant with value Double(0) or Complex(0,0)
isZero(Node, double) - Method in class org.lsmp.djep.xjep.TreeUtils
returns true if node is a ASTConstant with value Double(0) or Complex(0,0)

J

JEP - class org.nfunk.jep.JEP.
The JEP class is the main interface with which the user should interact.
JEP() - Constructor for class org.nfunk.jep.JEP
Creates a new JEP instance with the default settings.
JEP(boolean, boolean, boolean, NumberFactory) - Constructor for class org.nfunk.jep.JEP
Creates a new JEP instance with custom settings.
JEP(JEP) - Constructor for class org.nfunk.jep.JEP
This constructor copies the SymbolTable and other components of the arguments to the new instance.
JJTCONSTANT - Static variable in interface org.nfunk.jep.ParserTreeConstants
 
JJTFUNNODE - Static variable in interface org.nfunk.jep.ParserTreeConstants
 
JJTSTART - Static variable in interface org.nfunk.jep.ParserTreeConstants
 
JJTVARNODE - Static variable in interface org.nfunk.jep.ParserTreeConstants
 
JJTVOID - Static variable in interface org.nfunk.jep.ParserTreeConstants
 
JavaCharStream - class org.nfunk.jep.JavaCharStream.
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 org.nfunk.jep.JavaCharStream
 
JavaCharStream(Reader, int, int) - Constructor for class org.nfunk.jep.JavaCharStream
 
JavaCharStream(Reader) - Constructor for class org.nfunk.jep.JavaCharStream
 
JavaCharStream(InputStream, int, int, int) - Constructor for class org.nfunk.jep.JavaCharStream
 
JavaCharStream(InputStream, int, int) - Constructor for class org.nfunk.jep.JavaCharStream
 
JavaCharStream(InputStream) - Constructor for class org.nfunk.jep.JavaCharStream
 
jjFillToken() - Method in class org.nfunk.jep.ParserTokenManager
 
jj_nt - Variable in class org.nfunk.jep.Parser
 
jjnewLexState - Static variable in class org.nfunk.jep.ParserTokenManager
 
jjstrLiteralImages - Static variable in class org.nfunk.jep.ParserTokenManager
 
jjtAccept(ParserVisitor, Object) - Method in class org.nfunk.jep.ASTConstant
Accept the visitor.
jjtAccept(ParserVisitor, Object) - Method in class org.nfunk.jep.ASTFunNode
Accept the visitor.
jjtAccept(ParserVisitor, Object) - Method in class org.nfunk.jep.ASTStart
Accept the visitor.
jjtAccept(ParserVisitor, Object) - Method in class org.nfunk.jep.ASTVarNode
Accept the visitor.
jjtAccept(ParserVisitor, Object) - Method in interface org.nfunk.jep.Node
Accept the visitor.
jjtAccept(ParserVisitor, Object) - Method in class org.nfunk.jep.SimpleNode
Accept the visitor.
jjtAddChild(Node, int) - Method in interface org.nfunk.jep.Node
This method tells the node to add its argument to the node's list of children.
jjtAddChild(Node, int) - Method in class org.nfunk.jep.SimpleNode
 
jjtClose() - Method in interface org.nfunk.jep.Node
This method is called after all the child nodes have been added.
jjtClose() - Method in class org.nfunk.jep.SimpleNode
 
jjtGetChild(int) - Method in interface org.nfunk.jep.Node
This method returns a child node.
jjtGetChild(int) - Method in class org.nfunk.jep.SimpleNode
 
jjtGetNumChildren() - Method in interface org.nfunk.jep.Node
Return the number of children the node has.
jjtGetNumChildren() - Method in class org.nfunk.jep.SimpleNode
 
jjtGetParent() - Method in interface org.nfunk.jep.Node
 
jjtGetParent() - Method in class org.nfunk.jep.SimpleNode
 
jjtNodeName - Static variable in interface org.nfunk.jep.ParserTreeConstants
 
jjtOpen() - Method in interface org.nfunk.jep.Node
This method is called after the node has been made the current node.
jjtOpen() - Method in class org.nfunk.jep.SimpleNode
 
jjtSetParent(Node) - Method in interface org.nfunk.jep.Node
This pair of methods are used to inform the node of its parent.
jjtSetParent(Node) - Method in class org.nfunk.jep.SimpleNode
 
jjtree - Variable in class org.nfunk.jep.Parser
 

K

kind - Variable in class org.nfunk.jep.Token
An integer that describes the kind of this token.

L

LE - Static variable in interface org.nfunk.jep.ParserConstants
 
LE - Static variable in class org.nfunk.jep.function.Comparative
 
LEFT - Static variable in class org.lsmp.djep.xjep.XOperator
Left binding like +: 1+2+3 -> (1+2)+3
LETTER1 - Static variable in interface org.nfunk.jep.ParserConstants
 
LETTER2 - Static variable in interface org.nfunk.jep.ParserConstants
 
LRND - Static variable in interface org.nfunk.jep.ParserConstants
 
LSQ - Static variable in interface org.nfunk.jep.ParserConstants
 
LT - Static variable in interface org.nfunk.jep.ParserConstants
 
LT - Static variable in class org.nfunk.jep.function.Comparative
 
LexicalError(boolean, int, int, int, String, char) - Static method in class org.nfunk.jep.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
List - class org.nfunk.jep.function.List.
The list function.
List() - Constructor for class org.nfunk.jep.function.List
 
ListExpression() - Method in class org.nfunk.jep.Parser
 
Logarithm - class org.nfunk.jep.function.Logarithm.
Log bass 10.
Logarithm() - Constructor for class org.nfunk.jep.function.Logarithm
 
Logical - class org.nfunk.jep.function.Logical.
 
Logical(int) - Constructor for class org.nfunk.jep.function.Logical
 
le(Object, Object) - Method in class org.nfunk.jep.function.Comparative
 
len - Variable in class org.lsmp.djep.groupJep.values.Permutation
 
lexStateNames - Static variable in class org.nfunk.jep.ParserTokenManager
 
line - Variable in class org.nfunk.jep.JavaCharStream
 
list(Number[]) - Method in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
list(Number[]) - Method in interface org.lsmp.djep.groupJep.interfaces.HasListI
 
ln(Object) - Method in class org.nfunk.jep.function.NaturalLogarithm
 
log(Object) - Method in class org.nfunk.jep.function.Logarithm
 
log() - Method in class org.nfunk.jep.type.Complex
Returns the logarithm of this complex number.
longValue() - Method in class org.lsmp.djep.groupJep.groups.Quartonians.Quartonian
 
longValue() - Method in class org.lsmp.djep.groupJep.values.Permutation
 
longValue() - Method in class org.lsmp.djep.groupJep.values.Polynomial
value of constant coeff.
longValue() - Method in class org.lsmp.djep.groupJep.values.Rational
 
longValue() - Method in class org.lsmp.djep.vectorJep.values.MVector
value of constant ele(1).
longValue() - Method in class org.lsmp.djep.vectorJep.values.Matrix
value of ele(1,1).
longValue() - Method in class org.lsmp.djep.vectorJep.values.Scaler
value of constant coeff.
longValue() - Method in class org.lsmp.djep.vectorJep.values.Tensor
value of constant ele(1).
longValue(Node) - Method in class org.lsmp.djep.xjep.TreeUtils
Returns the long value represented by node
longValue() - Method in class org.nfunk.jep.type.Complex
Returns real part.
lookingAhead - Variable in class org.nfunk.jep.Parser
 
lt(Object, Object) - Method in class org.nfunk.jep.function.Comparative
 

M

MAdd - class org.lsmp.djep.vectorJep.function.MAdd.
An extension of the Add command to allow it to add MVector's and Matrix's.
MAdd() - Constructor for class org.lsmp.djep.vectorJep.function.MAdd
 
MAssign - class org.lsmp.djep.matrixJep.function.MAssign.
A matrix enabled asignment function.
MAssign() - Constructor for class org.lsmp.djep.matrixJep.function.MAssign
 
MDot - class org.lsmp.djep.vectorJep.function.MDot.
The MDot operator.
MDot() - Constructor for class org.lsmp.djep.vectorJep.function.MDot
 
MINUS - Static variable in interface org.nfunk.jep.ParserConstants
 
MINUSONE - Static variable in class org.lsmp.djep.xjep.TreeUtils
Real Minus One
MIf - class org.lsmp.djep.matrixJep.function.MIf.
The if(condExpr,posExpr,negExpr) function.
MIf() - Constructor for class org.lsmp.djep.matrixJep.function.MIf
 
MList - class org.lsmp.djep.matrixJep.function.MList.
A enhanced version of list, allows matricies and tensors.
MList() - Constructor for class org.lsmp.djep.matrixJep.function.MList
 
MMultiply - class org.lsmp.djep.vectorJep.function.MMultiply.
An extension of the Multiply to with vectors and matricies.
MMultiply() - Constructor for class org.lsmp.djep.vectorJep.function.MMultiply
 
MOD - Static variable in interface org.nfunk.jep.ParserConstants
 
MPower - class org.lsmp.djep.vectorJep.function.MPower.
An overloaded power function, if both arguments are vectors returns the exteriour product, else return standard power.
MPower() - Constructor for class org.lsmp.djep.vectorJep.function.MPower
 
MSubtract - class org.lsmp.djep.vectorJep.function.MSubtract.
An extension of the Add command to allow it to add MVector's and Matrix's.
MSubtract() - Constructor for class org.lsmp.djep.vectorJep.function.MSubtract
 
MUL - Static variable in interface org.nfunk.jep.ParserConstants
 
MUMinus - class org.lsmp.djep.vectorJep.function.MUMinus.
An extension of the Subtract command to allow it to add MVector's and Matrix's.
MUMinus() - Constructor for class org.lsmp.djep.vectorJep.function.MUMinus
 
MVector - class org.lsmp.djep.vectorJep.values.MVector.
A Vector of elements.
MVector(int) - Constructor for class org.lsmp.djep.vectorJep.values.MVector
constructs a vector of a given size.
MacroDiffRules - class org.lsmp.djep.djep.diffRules.MacroDiffRules.
Rules are specfied by a set of strings or trees of nodes.
MacroDiffRules(DJep, String, Node) - Constructor for class org.lsmp.djep.djep.diffRules.MacroDiffRules
Create a differention rule for function with 1 argument
MacroDiffRules(DJep, String, String) - Constructor for class org.lsmp.djep.djep.diffRules.MacroDiffRules
Create a differention rule for function with 1 argument
MacroDiffRules(DJep, String, PostfixMathCommandI, String) - Constructor for class org.lsmp.djep.djep.diffRules.MacroDiffRules
Create a differention rule for function with 1 argument
MacroDiffRules(DJep, String, PostfixMathCommandI, String, String) - Constructor for class org.lsmp.djep.djep.diffRules.MacroDiffRules
Create a differention rule for function with 2 arguments.
MacroDiffRules(DJep, String, String, String) - Constructor for class org.lsmp.djep.djep.diffRules.MacroDiffRules
Create a differention rule for function with 2 arguments.
MacroDiffRules(DJep, String, PostfixMathCommandI, String[]) - Constructor for class org.lsmp.djep.djep.diffRules.MacroDiffRules
Create a differention rule for function with n arguments.
MacroDiffRules(DJep, String, String[]) - Constructor for class org.lsmp.djep.djep.diffRules.MacroDiffRules
Create a differention rule for function with n arguments.
MacroFunction - class org.lsmp.djep.xjep.MacroFunction.
A function specified by a string.
MacroFunction(String, int, String, XJep) - Constructor for class org.lsmp.djep.xjep.MacroFunction
Create a function specified by a string.
MacroFunctionDiffRules - class org.lsmp.djep.djep.diffRules.MacroFunctionDiffRules.
If your really lazy, you don't even neeed to workout the derivatives of a function defined by a macro yourself.
MacroFunctionDiffRules(DJep, MacroFunction) - Constructor for class org.lsmp.djep.djep.diffRules.MacroFunctionDiffRules
Calculates the rules for the given function.
Matrix - class org.lsmp.djep.vectorJep.values.Matrix.
Represents a matrix.
Matrix(int, int) - Constructor for class org.lsmp.djep.vectorJep.values.Matrix
Construct a matrix with given rows and cols.
MatrixConsole - class org.lsmp.djepExamples.MatrixConsole.
This class implements a simple command line utility for evaluating mathematical expressions.
MatrixConsole() - Constructor for class org.lsmp.djepExamples.MatrixConsole
Constructor
MatrixEvaluator - class org.lsmp.djep.matrixJep.MatrixEvaluator.
This visitor evaluates a the tree representing the equation.
MatrixEvaluator() - Constructor for class org.lsmp.djep.matrixJep.MatrixEvaluator
 
MatrixExample - class org.lsmp.djepExamples.MatrixExample.
Examples using vectors and matricies
MatrixExample() - Constructor for class org.lsmp.djepExamples.MatrixExample
 
MatrixJep - class org.lsmp.djep.matrixJep.MatrixJep.
An extension of JEP which allows advanced vector and matrix handeling and differentation.
MatrixJep() - Constructor for class org.lsmp.djep.matrixJep.MatrixJep
 
MatrixJepTest - class org.lsmp.djepJUnit.MatrixJepTest.
JUnit test for full MatrixJep
MatrixJepTest(String) - Constructor for class org.lsmp.djepJUnit.MatrixJepTest
 
MatrixNodeFactory - class org.lsmp.djep.matrixJep.MatrixNodeFactory.
This class is used to create nodes of specified types.
MatrixNodeFactory() - Constructor for class org.lsmp.djep.matrixJep.MatrixNodeFactory
 
MatrixNodeI - interface org.lsmp.djep.matrixJep.nodeTypes.MatrixNodeI.
 
MatrixOperatorSet - class org.lsmp.djep.matrixJep.MatrixOperatorSet.
The set of operators used in matricies.
MatrixOperatorSet() - Constructor for class org.lsmp.djep.matrixJep.MatrixOperatorSet
 
MatrixPartialDerivative - class org.lsmp.djep.matrixJep.MatrixPartialDerivative.
Contains infomation about a PartialDerivative of a variable.
MatrixPartialDerivative(MatrixVariable, String[], Node) - Constructor for class org.lsmp.djep.matrixJep.MatrixPartialDerivative
Protected constructor, should only be constructed through the findDerivative method in MatrixVariable.
MatrixPreprocessor - class org.lsmp.djep.matrixJep.MatrixPreprocessor.
This visitor does the majority of preprocessing work.
MatrixPreprocessor() - Constructor for class org.lsmp.djep.matrixJep.MatrixPreprocessor
 
MatrixSpecialEvaluationI - interface org.lsmp.djep.matrixJep.MatrixSpecialEvaluationI.
If a function requires a special form of evaluation it should implement this interface.
MatrixSpeed - class org.lsmp.djepExamples.MatrixSpeed.
Compares the speed of matrix operations using both VectorJep or MatrixJep.
MatrixSpeed() - Constructor for class org.lsmp.djepExamples.MatrixSpeed
 
MatrixValueI - interface org.lsmp.djep.vectorJep.values.MatrixValueI.
Interface defining methods needed to work with vectors and matricies.
MatrixVariable - class org.lsmp.djep.matrixJep.MatrixVariable.
Holds all info about a variable.
MatrixVariableFactory - class org.lsmp.djep.matrixJep.MatrixVariableFactory.
Allows creation of matrix aware variables.
MatrixVariableFactory() - Constructor for class org.lsmp.djep.matrixJep.MatrixVariableFactory
 
MatrixVariableI - interface org.lsmp.djep.matrixJep.MatrixVariableI.
Matrix aware variables should implement this interface.
Max - class org.lsmp.djep.xjep.function.Max.
A product function product(x^2,x,1,10) finds the product of x^2 with x running from 1 to 10.
Max() - Constructor for class org.lsmp.djep.xjep.function.Max
 
MaxArg - class org.lsmp.djep.xjep.function.MaxArg.
 
MaxArg() - Constructor for class org.lsmp.djep.xjep.function.MaxArg
 
Min - class org.lsmp.djep.xjep.function.Min.
A product function product(x^2,x,1,10) finds the product of x^2 with x running from 1 to 10.
Min() - Constructor for class org.lsmp.djep.xjep.function.Min
 
MinArg - class org.lsmp.djep.xjep.function.MinArg.
 
MinArg() - Constructor for class org.lsmp.djep.xjep.function.MinArg
 
Modulus - class org.nfunk.jep.function.Modulus.
 
Modulus() - Constructor for class org.nfunk.jep.function.Modulus
 
MultiplicativeExpression() - Method in class org.nfunk.jep.Parser
 
Multiply - class org.nfunk.jep.function.Multiply.
 
Multiply() - Constructor for class org.nfunk.jep.function.Multiply
 
MultiplyDiffRule - class org.lsmp.djep.djep.diffRules.MultiplyDiffRule.
Diffrentiates a product with respect to var.
MultiplyDiffRule(String) - Constructor for class org.lsmp.djep.djep.diffRules.MultiplyDiffRule
 
MultiplyDiffRule(String, Operator) - Constructor for class org.lsmp.djep.djep.diffRules.MultiplyDiffRule
 
main(String[]) - Static method in class org.lsmp.djepExamples.AssignmentExample
 
main(String[]) - Static method in class org.lsmp.djepExamples.DJepConsole
Creates a new Console object and calls run()
main(String[]) - Static method in class org.lsmp.djepExamples.DiffExample
 
main(String[]) - Static method in class org.lsmp.djepExamples.MatrixConsole
Creates a new Console object and calls run()
main(String[]) - Static method in class org.lsmp.djepExamples.MatrixExample
 
main(String[]) - Static method in class org.lsmp.djepExamples.MatrixSpeed
 
main(String[]) - Static method in class org.lsmp.djepExamples.PrintExample
 
main(String[]) - Static method in class org.lsmp.djepExamples.RpExample
 
main(String[]) - Static method in class org.lsmp.djepExamples.RpSpeed
 
main(String[]) - Static method in class org.lsmp.djepExamples.VectorExample
 
main(String[]) - Static method in class org.lsmp.djepExamples.VectorPrint
 
main(String[]) - Static method in class org.lsmp.djepExamples.XJepExample
 
main(String[]) - Static method in class org.lsmp.djepJUnit.DJepTest
 
main(String[]) - Static method in class org.lsmp.djepJUnit.GroupJepTest
 
main(String[]) - Static method in class org.lsmp.djepJUnit.MatrixJepTest
 
main(String[]) - Static method in class org.lsmp.djepJUnit.RpTest
 
main(String[]) - Static method in class org.lsmp.djepJUnit.VectorJepTest
 
main(String[]) - Static method in class org.lsmp.djepJUnit.XJepTest
 
makeDerivString(String, String[]) - Static method in class org.lsmp.djep.djep.DVariable
Produces a string to represent the derivative.
makeVarIfNeeded(String, Object) - Method in class org.nfunk.jep.SymbolTable
Create a variable with the given name and value.
makeVarIfNeeded(String) - Method in class org.nfunk.jep.SymbolTable
If necessary create a variable with the given name.
maxNextCharInd - Variable in class org.nfunk.jep.JavaCharStream
 
mev - Variable in class org.lsmp.djep.matrixJep.MatrixJep
 
mod(Object, Object) - Method in class org.lsmp.djep.groupJep.function.GMod
 
mod(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
mod(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
mod(Number, Number) - Method in interface org.lsmp.djep.groupJep.interfaces.HasModI
 
mode - Variable in class org.lsmp.djep.xjep.PrintVisitor
The current mode for printing.
mul(Object, Object) - Method in class org.lsmp.djep.groupJep.function.GMultiply
 
mul(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
mul(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
mul(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
mul(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
mul(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
mul(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
mul(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
mul(Number, Number) - Method in interface org.lsmp.djep.groupJep.interfaces.RingI
Returns the product of two numbers, a*b
mul(Polynomial) - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
mul(Rational) - Method in class org.lsmp.djep.groupJep.values.Rational
 
mul(Object, Object) - Method in class org.lsmp.djep.vectorJep.function.MMultiply
Multiply two objects.
mul(MatrixValueI, MatrixValueI) - Method in class org.lsmp.djep.vectorJep.function.MMultiply
Multiply two objects.
mul(Object, Object) - Method in class org.nfunk.jep.function.Multiply
 
mul(Number, Number) - Method in class org.nfunk.jep.function.Multiply
 
mul(Complex, Complex) - Method in class org.nfunk.jep.function.Multiply
 
mul(Complex, Number) - Method in class org.nfunk.jep.function.Multiply
 
mul(Vector, Number) - Method in class org.nfunk.jep.function.Multiply
 
mul(Vector, Complex) - Method in class org.nfunk.jep.function.Multiply
 
mul(double) - Method in class org.nfunk.jep.type.Complex
Multiply the complex number with a double value.
mul(Complex) - Method in class org.nfunk.jep.type.Complex
Multiply the complex number with another complex value.
mvf - Variable in class org.lsmp.djep.matrixJep.MatrixJep
 
myAssertEquals(String, String, String) - Method in class org.lsmp.djepJUnit.DJepTest
 
myAssertEquals(String, String, String) - Method in class org.lsmp.djepJUnit.GroupJepTest
 
myAssertEquals(String, String, String, String) - Method in class org.lsmp.djepJUnit.GroupJepTest
 
myAssertEquals(String, String, String) - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
myAssertEquals(String, String, String) - Method in class org.lsmp.djepJUnit.RpTest
 
myAssertEquals(String, String, String) - Method in class org.lsmp.djepJUnit.VectorJepTest
 
myAssertEquals(String, String, String) - Method in class org.lsmp.djepJUnit.XJepTest
 

N

NAN - Static variable in class org.lsmp.djep.xjep.TreeUtils
Real NaN
NARY - Static variable in class org.lsmp.djep.xjep.XOperator
Trinary ops such as ?
NE - Static variable in interface org.nfunk.jep.ParserConstants
 
NE - Static variable in class org.nfunk.jep.function.Comparative
 
NOT - Static variable in interface org.nfunk.jep.ParserConstants
 
NO_ARGS - Static variable in class org.lsmp.djep.xjep.XOperator
No arguments to operator
NO_DOT_IN_IDENTIFIERS - Static variable in interface org.nfunk.jep.ParserConstants
 
NaryOperatorI - interface org.lsmp.djep.vectorJep.function.NaryOperatorI.
A matrix enabled operator with N arguments.
NaturalLogarithm - class org.nfunk.jep.function.NaturalLogarithm.
Natural logarithm.
NaturalLogarithm() - Constructor for class org.nfunk.jep.function.NaturalLogarithm
 
NegInf - Static variable in class org.lsmp.djep.xjep.TreeUtils
Real NaN
Node - interface org.nfunk.jep.Node.
 
NodeFactory - class org.lsmp.djep.xjep.NodeFactory.
This class is used to create nodes of specified types.
NodeFactory() - Constructor for class org.lsmp.djep.xjep.NodeFactory
 
Not - class org.nfunk.jep.function.Not.
 
Not() - Constructor for class org.nfunk.jep.function.Not
 
NumberFactory - interface org.nfunk.jep.type.NumberFactory.
This interface can be implemented to create numbers of any object type.
name - Variable in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
 
name - Variable in class org.lsmp.djep.xjep.function.SumType
The name of the function, use in error reporting.
name - Variable in class org.nfunk.jep.Variable
 
ne(Object, Object) - Method in class org.nfunk.jep.function.Comparative
 
neg() - Method in class org.nfunk.jep.type.Complex
Returns the negative value of this complex number.
negate() - Method in class org.lsmp.djep.groupJep.values.Rational
 
newInstance() - Method in class org.lsmp.djep.djep.DJep
 
newInstance(SymbolTable) - Method in class org.lsmp.djep.djep.DJep
 
newInstance() - Method in class org.lsmp.djep.djep.DSymbolTable
Creates a new SymbolTable with the same variable factory as this.
newInstance() - Method in class org.lsmp.djep.xjep.XJep
Creates a new instance of XJep with the same componants as this one.
newInstance(SymbolTable) - Method in class org.lsmp.djep.xjep.XJep
Creates a new instance of XJep with the same componants as this one and the specified symbol table.
newInstance() - Method in class org.lsmp.djep.xjep.XSymbolTable
Creates a new SymbolTable with the same variable factory as this.
newToken(int) - Static method in class org.nfunk.jep.Token
Returns a new Token object, by default.
next - Variable in class org.nfunk.jep.Token
A reference to the next regular (non-special) token from the input stream.
nextCharBuf - Variable in class org.nfunk.jep.JavaCharStream
 
nextCharInd - Variable in class org.nfunk.jep.JavaCharStream
 
nf - Variable in class org.lsmp.djep.xjep.XJep
Creates new nodes
numArgs() - Method in class org.lsmp.djep.xjep.XOperator
 
numEles() - Method in class org.lsmp.djep.vectorJep.Dimensions
The total number of elements.
numberFactory - Variable in class org.nfunk.jep.JEP
Number factory
numberOfParameters - Variable in class org.nfunk.jep.function.PostfixMathCommand
Number of parameters a the function requires.

O

ONE - Static variable in class org.lsmp.djep.vectorJep.Dimensions
 
ONE - Static variable in class org.lsmp.djep.xjep.TreeUtils
Real One
OP_ADD - Variable in class org.nfunk.jep.OperatorSet
 
OP_AND - Variable in class org.nfunk.jep.OperatorSet
 
OP_ASSIGN - Variable in class org.nfunk.jep.OperatorSet
 
OP_CROSS - Variable in class org.nfunk.jep.OperatorSet
 
OP_DIVIDE - Variable in class org.nfunk.jep.OperatorSet
 
OP_DOT - Variable in class org.nfunk.jep.OperatorSet
 
OP_EQ - Variable in class org.nfunk.jep.OperatorSet
 
OP_GE - Variable in class org.nfunk.jep.OperatorSet
 
OP_GT - Variable in class org.nfunk.jep.OperatorSet
everyone can read but not write these operators
OP_LE - Variable in class org.nfunk.jep.OperatorSet
 
OP_LIST - Variable in class org.nfunk.jep.OperatorSet
 
OP_LT - Variable in class org.nfunk.jep.OperatorSet
 
OP_MOD - Variable in class org.nfunk.jep.OperatorSet
 
OP_MULTIPLY - Variable in class org.nfunk.jep.OperatorSet
 
OP_NE - Variable in class org.nfunk.jep.OperatorSet
 
OP_NOT - Variable in class org.nfunk.jep.OperatorSet
 
OP_OR - Variable in class org.nfunk.jep.OperatorSet
 
OP_POWER - Variable in class org.nfunk.jep.OperatorSet
 
OP_SUBTRACT - Variable in class org.nfunk.jep.OperatorSet
 
OP_UDIVIDE - Variable in class org.nfunk.jep.OperatorSet
unary division i.e. 1/x or x^(-1)
OP_UMINUS - Variable in class org.nfunk.jep.OperatorSet
 
OR - Static variable in interface org.nfunk.jep.ParserConstants
 
OR - Static variable in class org.nfunk.jep.function.Logical
 
Operator - class org.nfunk.jep.Operator.
A class containing information about an operator.
Operator(String, PostfixMathCommandI) - Constructor for class org.nfunk.jep.Operator
construct a new operator.
Operator(String, String, PostfixMathCommandI) - Constructor for class org.nfunk.jep.Operator
construct a new operator, with a different name and symbol
OperatorSet - class org.nfunk.jep.OperatorSet.
The standard set of operators used in JEP.
OperatorSet() - Constructor for class org.nfunk.jep.OperatorSet
 
OrExpression() - Method in class org.nfunk.jep.Parser
 
OrderedSetI - interface org.lsmp.djep.groupJep.interfaces.OrderedSetI.
Groups which have a total ordering, i.e <, >= make sense.
opSet - Variable in class org.nfunk.jep.JEP
OperatorSet
org.lsmp.djep.djep - package org.lsmp.djep.djep
Classes to performs differentaion of equations and various utility classes.
org.lsmp.djep.djep.diffRules - package org.lsmp.djep.djep.diffRules
Rules specifying how to differentiate functions.
org.lsmp.djep.groupJep - package org.lsmp.djep.groupJep
A version of JEP which can work over an arbitary group.
org.lsmp.djep.groupJep.function - package org.lsmp.djep.groupJep.function
PostfixMathCommands which implement the group operations.
org.lsmp.djep.groupJep.groups - package org.lsmp.djep.groupJep.groups
Some predefined groups.
org.lsmp.djep.groupJep.interfaces - package org.lsmp.djep.groupJep.interfaces
Interfaces defining behevious a group implements.
org.lsmp.djep.groupJep.values - package org.lsmp.djep.groupJep.values
Objects representing the elements of a group.
org.lsmp.djep.matrixJep - package org.lsmp.djep.matrixJep
Advanced vector and matrix handeling.
org.lsmp.djep.matrixJep.function - package org.lsmp.djep.matrixJep.function
A few functions necessary for advanced matrix operations.
org.lsmp.djep.matrixJep.nodeTypes - package org.lsmp.djep.matrixJep.nodeTypes
Subclasses the AST nodes to work with vectors and matricies.
org.lsmp.djep.rpe - package org.lsmp.djep.rpe
 
org.lsmp.djep.vectorJep - package org.lsmp.djep.vectorJep
Basic handeling of Vectors and Matricies.
org.lsmp.djep.vectorJep.function - package org.lsmp.djep.vectorJep.function
Functions and operators for working with vectors and matricies.
org.lsmp.djep.vectorJep.values - package org.lsmp.djep.vectorJep.values
Objects representing the values of Scalers, Vectors, Matricies and Tensors.
org.lsmp.djep.xjep - package org.lsmp.djep.xjep
Simplification, deep copying, printing and various utililities.
org.lsmp.djep.xjep.function - package org.lsmp.djep.xjep.function
 
org.lsmp.djep.xjep.rewriteRules - package org.lsmp.djep.xjep.rewriteRules
 
org.lsmp.djepExamples - package org.lsmp.djepExamples
Various example applications illustrating the use of most features.
org.lsmp.djepJUnit - package org.lsmp.djepJUnit
JUnit tests to check that everything works correctly.
org.nfunk.jep - package org.nfunk.jep
Provides the main parsing classes including JEP and Parser as well as related classes such as node classes.
org.nfunk.jep.evaluation - package org.nfunk.jep.evaluation
An experimental fast evaluator which "compiles" an expression into a set of CommandElement objects rather than traversing the parse tree.
org.nfunk.jep.function - package org.nfunk.jep.function
Provides function and operator classes.
org.nfunk.jep.type - package org.nfunk.jep.type
Provides number factories and special type classes.

P

PLUS - Static variable in interface org.nfunk.jep.ParserConstants
 
POWER - Static variable in interface org.nfunk.jep.ParserConstants
 
PREFIX - Static variable in class org.lsmp.djep.xjep.XOperator
prefix operators -x
PRINT_PARTIAL_EQNS - Static variable in class org.lsmp.djep.djep.DPrintVisitor
 
PRINT_VARIABLE_EQNS - Static variable in class org.lsmp.djep.djep.DPrintVisitor
 
ParseException - exception org.nfunk.jep.ParseException.
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for class org.nfunk.jep.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for class org.nfunk.jep.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class org.nfunk.jep.ParseException
 
Parser - class org.nfunk.jep.Parser.
 
Parser(InputStream) - Constructor for class org.nfunk.jep.Parser
 
Parser(Reader) - Constructor for class org.nfunk.jep.Parser
 
Parser(ParserTokenManager) - Constructor for class org.nfunk.jep.Parser
 
ParserConstants - interface org.nfunk.jep.ParserConstants.
 
ParserDumpVisitor - class org.nfunk.jep.ParserDumpVisitor.
 
ParserDumpVisitor() - Constructor for class org.nfunk.jep.ParserDumpVisitor
 
ParserTokenManager - class org.nfunk.jep.ParserTokenManager.
 
ParserTokenManager(JavaCharStream) - Constructor for class org.nfunk.jep.ParserTokenManager
 
ParserTokenManager(JavaCharStream, int) - Constructor for class org.nfunk.jep.ParserTokenManager
 
ParserTreeConstants - interface org.nfunk.jep.ParserTreeConstants.
 
ParserVisitor - interface org.nfunk.jep.ParserVisitor.
 
PartialDerivative - class org.lsmp.djep.djep.PartialDerivative.
Contains infomation about a PartialDerivative of a variable.
PartialDerivative(DVariable, String[], Node) - Constructor for class org.lsmp.djep.djep.PartialDerivative
Protected constructor, should only be constructed through the findDerivative method in DVariable.
PassThroughDiffRule - class org.lsmp.djep.djep.diffRules.PassThroughDiffRule.
Rules like Sum where diff(sum(a,b,c),x) -> sum(da/dx,db/dx,dc/dx) are instance of this class.
PassThroughDiffRule(DJep, String) - Constructor for class org.lsmp.djep.djep.diffRules.PassThroughDiffRule
 
PassThroughDiffRule(String, PostfixMathCommandI) - Constructor for class org.lsmp.djep.djep.diffRules.PassThroughDiffRule
 
Permutation - class org.lsmp.djep.groupJep.values.Permutation.
 
Permutation(GroupI, Integer[]) - Constructor for class org.lsmp.djep.groupJep.values.Permutation
 
PermutationGroup - class org.lsmp.djep.groupJep.groups.PermutationGroup.
The group of permutations.
PermutationGroup(int) - Constructor for class org.lsmp.djep.groupJep.groups.PermutationGroup
 
Polar - class org.nfunk.jep.function.Polar.
Converts a pair of real numbers to a complex number Complex(x,y)=x+i y.
Polar() - Constructor for class org.nfunk.jep.function.Polar
 
Polynomial - class org.lsmp.djep.groupJep.values.Polynomial.
The ring of polynomials over a ring R.
Polynomial(RingI, String, Number[]) - Constructor for class org.lsmp.djep.groupJep.values.Polynomial
 
PosInf - Static variable in class org.lsmp.djep.xjep.TreeUtils
Real positive infinity
PostfixMathCommand - class org.nfunk.jep.function.PostfixMathCommand.
Function classes extend this class.
PostfixMathCommand() - Constructor for class org.nfunk.jep.function.PostfixMathCommand
Creates a new PostfixMathCommand class.
PostfixMathCommandI - interface org.nfunk.jep.function.PostfixMathCommandI.
All function classes must implement this interface to ensure that the run() method is implemented.
Power - class org.nfunk.jep.function.Power.
 
Power() - Constructor for class org.nfunk.jep.function.Power
 
PowerDiffRule - class org.lsmp.djep.djep.diffRules.PowerDiffRule.
Diffrentiates a power with respect to var.
PowerDiffRule(String) - Constructor for class org.lsmp.djep.djep.diffRules.PowerDiffRule
 
PowerExpression() - Method in class org.nfunk.jep.Parser
 
PrintExample - class org.lsmp.djepExamples.PrintExample.
 
PrintExample() - Constructor for class org.lsmp.djepExamples.PrintExample
 
PrintVisitor - class org.lsmp.djep.xjep.PrintVisitor.
Prints an expression.
PrintVisitor() - Constructor for class org.lsmp.djep.xjep.PrintVisitor
Creates a visitor to create and print string representations of an expression tree.
PrintVisitor.PrintRulesI - interface org.lsmp.djep.xjep.PrintVisitor.PrintRulesI.
This interface specifies the method needed to implement a special print rule.
Product - class org.lsmp.djep.xjep.function.Product.
A product function product(x^2,x,1,10) finds the product of x^2 with x running from 1 to 10.
Product() - Constructor for class org.lsmp.djep.xjep.function.Product
 
parent - Variable in class org.nfunk.jep.SimpleNode
 
parse(String) - Method in class org.nfunk.jep.JEP
Parses an expression.
parseExpression(String) - Method in class org.nfunk.jep.JEP
Parses the expression.
parseProcSimpEval(String, Object) - Method in class org.lsmp.djepJUnit.DJepTest
 
parseProcSimpEval(String, Object) - Method in class org.lsmp.djepJUnit.XJepTest
 
parseStream(Reader, JEP) - Method in class org.nfunk.jep.Parser
 
parser - Variable in class org.nfunk.jep.JEP
The parser object
parser - Variable in class org.nfunk.jep.SimpleNode
 
perm - Variable in class org.lsmp.djep.groupJep.values.Permutation
 
pfmc - Variable in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
 
polarValueOf(Number, Number) - Static method in class org.nfunk.jep.type.Complex
Converts an [r,theta] pair to a complex number r * e^(i theta).
pow(Object, Object) - Method in class org.lsmp.djep.groupJep.function.GPower
 
pow(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
pow(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
pow(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
pow(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
pow(Number, Number) - Method in interface org.lsmp.djep.groupJep.interfaces.HasPowerI
 
pow(Rational) - Method in class org.lsmp.djep.groupJep.values.Rational
 
power(Object, Object) - Method in class org.nfunk.jep.function.Power
 
power(Number, Number) - Method in class org.nfunk.jep.function.Power
 
power(Complex, Complex) - Method in class org.nfunk.jep.function.Power
 
power(Complex, Number) - Method in class org.nfunk.jep.function.Power
 
power(Number, Complex) - Method in class org.nfunk.jep.function.Power
 
power(double) - Method in class org.nfunk.jep.type.Complex
Returns the value of this complex number raised to the power of a real component (in double precision).
power(Complex) - Method in class org.nfunk.jep.type.Complex
Returns the value of this complex number raised to the power of a complex exponent
preprocess(Node) - Method in class org.lsmp.djep.matrixJep.MatrixJep
Preprocesses an equation to allow the diff and eval operators to be used.
preprocess(Node, MatrixJep) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
Main entry point: preprocess a node.
preprocess(Node) - Method in class org.lsmp.djep.xjep.XJep
Preprocesses an equation to allow the diff and eval operators to be used.
prevCharIsCR - Variable in class org.nfunk.jep.JavaCharStream
 
prevCharIsLF - Variable in class org.nfunk.jep.JavaCharStream
 
print(PrintVisitor) - Method in class org.lsmp.djep.djep.DVariable
 
print(PrintVisitor) - Method in class org.lsmp.djep.matrixJep.MatrixVariable
 
print(Node, PrintStream) - Method in class org.lsmp.djep.xjep.PrintVisitor
Prints the tree decending from node with lots of brackets or specified stream.
print(Node) - Method in class org.lsmp.djep.xjep.PrintVisitor
Prints on System.out.
print(Node) - Method in class org.lsmp.djep.xjep.XJep
Prints the expresion tree on standard output.
print(Node, PrintStream) - Method in class org.lsmp.djep.xjep.XJep
Prints the expresion tree on given stream.
print(PrintVisitor) - Method in class org.lsmp.djep.xjep.XSymbolTable
Prints the contents of the symbol table displaying its equations and value.
printDiffRules() - Method in class org.lsmp.djep.djep.DifferentiationVisitor
Prints all the differentation rules for all functions on System.out.
printDiffRules(PrintStream) - Method in class org.lsmp.djep.djep.DifferentiationVisitor
Prints all the differentation rules for all functions on specifed stream.
printOperators() - Method in class org.lsmp.djep.xjep.XOperatorSet
Prints all the opperators, with verbose representations of each operators properties.
printOperators() - Method in class org.nfunk.jep.OperatorSet
 
println(Node, PrintStream) - Method in class org.lsmp.djep.xjep.PrintVisitor
Prints the tree decending from node with a newline at end.
println(Node) - Method in class org.lsmp.djep.xjep.PrintVisitor
Prints on System.out.
println(Node) - Method in class org.lsmp.djep.xjep.XJep
Prints the expresion tree on standard output with newline at end.
println(Node, PrintStream) - Method in class org.lsmp.djep.xjep.XJep
Prints the expresion tree on given stream with newline at end.
process(Node, Node[], XJep) - Method in class org.lsmp.djep.djep.Diff
Process the differentiation specified by node.
process(Node, XJep) - Method in class org.lsmp.djep.xjep.CommandVisitor
Decends the tree processing all diff, eval and simplify options
process(Node, Node[], XJep) - Method in interface org.lsmp.djep.xjep.CommandVisitorI
Performs the specified action on an expression tree.
process(Node, Node[], XJep) - Method in class org.lsmp.djep.xjep.Eval
 
process(Node, Node[], XJep) - Method in class org.lsmp.djep.xjep.XAssign
In the pre-process stage, set the equation of the lhs variable to the rhs equation.
processEquation(Node) - Method in class org.lsmp.djepExamples.DJepConsole
performs the operations specified by the node tree and prints results.
put(String, PostfixMathCommandI) - Method in class org.nfunk.jep.FunctionTable
adds the PostfixMathCommandI for the function with name s.
put(Object, Object) - Method in class org.nfunk.jep.FunctionTable
overrides the standard hashtable method.
put(Object, Object) - Method in class org.nfunk.jep.SymbolTable
Deprecated. The setVarValue or makeVar methods should be used instead.
pv - Variable in class org.lsmp.djep.xjep.XJep
 

Q

Quartonians - class org.lsmp.djep.groupJep.groups.Quartonians.
Possibly the quatonians, compleatly untested.
Quartonians() - Constructor for class org.lsmp.djep.groupJep.groups.Quartonians
 
Quartonians.Quartonian - class org.lsmp.djep.groupJep.groups.Quartonians.Quartonian.
 
Quartonians.Quartonian(double, double, double, double) - Constructor for class org.lsmp.djep.groupJep.groups.Quartonians.Quartonian
 

R

REFLEXIVE - Static variable in class org.lsmp.djep.xjep.XOperator
Reflecive relations x=x for all x.
RIGHT - Static variable in class org.lsmp.djep.xjep.XOperator
Right binding like =: 1=2=3 -> 1=(2=3)
RRND - Static variable in interface org.nfunk.jep.ParserConstants
 
RSQ - Static variable in interface org.nfunk.jep.ParserConstants
 
Random - class org.nfunk.jep.function.Random.
Encapsulates the Math.random() function.
Random() - Constructor for class org.nfunk.jep.function.Random
 
Rational - class org.lsmp.djep.groupJep.values.Rational.
A Rational number with full precision.
Rational(BigInteger) - Constructor for class org.lsmp.djep.groupJep.values.Rational
 
Rational(BigInteger, BigInteger) - Constructor for class org.lsmp.djep.groupJep.values.Rational
Rationals will always be represented in most reduced form with a positive denominator.
Rationals - class org.lsmp.djep.groupJep.groups.Rationals.
The Field of rational numbers.
Rationals() - Constructor for class org.lsmp.djep.groupJep.groups.Rationals
 
ReInit(Reader, int, int, int) - Method in class org.nfunk.jep.JavaCharStream
 
ReInit(Reader, int, int) - Method in class org.nfunk.jep.JavaCharStream
 
ReInit(Reader) - Method in class org.nfunk.jep.JavaCharStream
 
ReInit(InputStream, int, int, int) - Method in class org.nfunk.jep.JavaCharStream
 
ReInit(InputStream, int, int) - Method in class org.nfunk.jep.JavaCharStream
 
ReInit(InputStream) - Method in class org.nfunk.jep.JavaCharStream
 
ReInit(InputStream) - Method in class org.nfunk.jep.Parser
 
ReInit(Reader) - Method in class org.nfunk.jep.Parser
 
ReInit(ParserTokenManager) - Method in class org.nfunk.jep.Parser
 
ReInit(JavaCharStream) - Method in class org.nfunk.jep.ParserTokenManager
 
ReInit(JavaCharStream, int) - Method in class org.nfunk.jep.ParserTokenManager
 
ReadByte() - Method in class org.nfunk.jep.JavaCharStream
 
Real - class org.nfunk.jep.function.Real.
 
Real() - Constructor for class org.nfunk.jep.function.Real
 
RealConstant() - Method in class org.nfunk.jep.Parser
 
Reals - class org.lsmp.djep.groupJep.groups.Reals.
 
Reals() - Constructor for class org.lsmp.djep.groupJep.groups.Reals
Operations on the reals (Implemented as Doubles
RelationalExpression() - Method in class org.nfunk.jep.Parser
 
RewriteRuleI - interface org.lsmp.djep.xjep.RewriteRuleI.
 
RewriteVisitor - class org.lsmp.djep.xjep.RewriteVisitor.
Simplifies an expression.
RewriteVisitor() - Constructor for class org.lsmp.djep.xjep.RewriteVisitor
 
RingI - interface org.lsmp.djep.groupJep.interfaces.RingI.
Defines the operations on a ring, i.e. an abelian group under + with a closed * operator and * distributitive over +.
RpCommandList - class org.lsmp.djep.rpe.RpCommandList.
A list of commands
RpEval - class org.lsmp.djep.rpe.RpEval.
A fast evaluation algorithm for equations over Doubles, does not work with vectors or matricies.
RpEval(JEP) - Constructor for class org.lsmp.djep.rpe.RpEval
 
RpExample - class org.lsmp.djepExamples.RpExample.
Examples using vectors and matricies
RpExample() - Constructor for class org.lsmp.djepExamples.RpExample
 
RpSpeed - class org.lsmp.djepExamples.RpSpeed.
Compares the speed of matrix operations using both VectorJep or MatrixJep.
RpSpeed() - Constructor for class org.lsmp.djepExamples.RpSpeed
 
RpTest - class org.lsmp.djepJUnit.RpTest.
JUnit test for full Matrix Rp evaluator
RpTest(String) - Constructor for class org.lsmp.djepJUnit.RpTest
 
rank() - Method in class org.lsmp.djep.vectorJep.Dimensions
rank of dimensions 0 for numbers, 1 for vectors, 2 for matricies
re(Object) - Method in class org.nfunk.jep.function.Real
 
re() - Method in class org.nfunk.jep.type.Complex
Returns the real component of this object
readChar() - Method in class org.nfunk.jep.JavaCharStream
 
removeFunction(String) - Method in class org.nfunk.jep.JEP
Removes a function from the parser.
removeVariable(String) - Method in class org.nfunk.jep.JEP
Removes a variable from the parser.
restart(Reader, JEP) - Method in class org.nfunk.jep.Parser
Restart the parse with the given stream.
restartParser(String) - Method in class org.lsmp.djep.xjep.XJep
Restarts the parser with the given string.
restartParser(Reader) - Method in class org.lsmp.djep.xjep.XJep
Restarts the parser with the given Reader.
rewrite(Node, XJep, RewriteRuleI[], boolean) - Method in class org.lsmp.djep.xjep.RewriteVisitor
must be implemented for subclasses.
rootVal - Variable in class org.lsmp.djep.groupJep.groups.FreeGroup
 
rules - Variable in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
 
run(Stack) - Method in class org.lsmp.djep.djep.Diff
Should never be evaluated!
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GAdd
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GComparative
 
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GDivide
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GList
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GLogical
 
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GMod
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GMultiply
Calculates the result of applying the "*" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GNot
 
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GPower
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GSubtract
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.lsmp.djep.groupJep.function.GUMinus
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.lsmp.djep.matrixJep.function.MAssign
The run method should not be called.
run(Stack) - Method in class org.lsmp.djep.vectorJep.function.Ele
 
run(Stack) - Method in class org.lsmp.djep.vectorJep.function.ExteriorProduct
 
run(Stack) - Method in class org.lsmp.djep.vectorJep.function.MDot
 
run(Stack) - Method in class org.lsmp.djep.vectorJep.function.MMultiply
need to redo this as the standard jep version assumes commutivity.
run(Stack) - Method in class org.lsmp.djep.vectorJep.function.MPower
 
run(Stack) - Method in class org.lsmp.djep.vectorJep.function.VList
 
run(Stack) - Method in class org.lsmp.djep.xjep.Eval
Should not be called by evaluator
run(Stack) - Method in class org.lsmp.djep.xjep.MacroFunction
Calculates the value of the expression.
run(Stack) - Method in class org.lsmp.djep.xjep.function.SumType
run method.
run(String[]) - Method in class org.lsmp.djepExamples.DJepConsole
The input loop
run(String[]) - Method in class org.lsmp.djepExamples.MatrixConsole
The input loop
run(Stack) - Method in class org.nfunk.jep.function.Abs
 
run(Stack) - Method in class org.nfunk.jep.function.Add
Calculates the result of applying the "+" operator to the arguments from the stack and pushes it back on the stack.
run(Stack) - Method in class org.nfunk.jep.function.ArcCosine
 
run(Stack) - Method in class org.nfunk.jep.function.ArcCosineH
 
run(Stack) - Method in class org.nfunk.jep.function.ArcSine
 
run(Stack) - Method in class org.nfunk.jep.function.ArcSineH
 
run(Stack) - Method in class org.nfunk.jep.function.ArcTanH
 
run(Stack) - Method in class org.nfunk.jep.function.ArcTangent
 
run(Stack) - Method in class org.nfunk.jep.function.ArcTangent2
 
run(Stack) - Method in class org.nfunk.jep.function.Arg
 
run(Stack) - Method in class org.nfunk.jep.function.Comparative
 
run(Stack) - Method in class org.nfunk.jep.function.ComplexPFMC
 
run(Stack) - Method in class org.nfunk.jep.function.Cosine
 
run(Stack) - Method in class org.nfunk.jep.function.CosineH
 
run(Stack) - Method in class org.nfunk.jep.function.Cross
 
run(Stack) - Method in class org.nfunk.jep.function.Divide
 
run(Stack) - Method in class org.nfunk.jep.function.Dot
 
run(Stack) - Method in class org.nfunk.jep.function.Exp
 
run(Stack) - Method in class org.nfunk.jep.function.Imaginary
 
run(Stack) - Method in class org.nfunk.jep.function.List
 
run(Stack) - Method in class org.nfunk.jep.function.Logarithm
 
run(Stack) - Method in class org.nfunk.jep.function.Logical
 
run(Stack) - Method in class org.nfunk.jep.function.Modulus
 
run(Stack) - Method in class org.nfunk.jep.function.Multiply
 
run(Stack) - Method in class org.nfunk.jep.function.NaturalLogarithm
 
run(Stack) - Method in class org.nfunk.jep.function.Not
 
run(Stack) - Method in class org.nfunk.jep.function.Polar
 
run(Stack) - Method in class org.nfunk.jep.function.PostfixMathCommand
Throws an exception because this method should never be called under normal circumstances.
run(Stack) - Method in interface org.nfunk.jep.function.PostfixMathCommandI
Run the function on the stack.
run(Stack) - Method in class org.nfunk.jep.function.Power
 
run(Stack) - Method in class org.nfunk.jep.function.Random
 
run(Stack) - Method in class org.nfunk.jep.function.Real
 
run(Stack) - Method in class org.nfunk.jep.function.Sine
 
run(Stack) - Method in class org.nfunk.jep.function.SineH
 
run(Stack) - Method in class org.nfunk.jep.function.SquareRoot
Applies the function to the parameters on the stack.
run(Stack) - Method in class org.nfunk.jep.function.Str
 
run(Stack) - Method in class org.nfunk.jep.function.Subtract
 
run(Stack) - Method in class org.nfunk.jep.function.Sum
Calculates the result of summing up all parameters, which are assumed to be of the Double type.
run(Stack) - Method in class org.nfunk.jep.function.TanH
 
run(Stack) - Method in class org.nfunk.jep.function.Tangent
 
run(Stack) - Method in class org.nfunk.jep.function.UMinus
 

S

SELF_INVERSE - Static variable in class org.lsmp.djep.xjep.XOperator
self inverse operators like -(-x) !
SEMI - Static variable in interface org.nfunk.jep.ParserConstants
 
SHOW_BAD - Static variable in class org.lsmp.djepJUnit.DJepTest
 
SHOW_BAD - Static variable in class org.lsmp.djepJUnit.GroupJepTest
 
SHOW_BAD - Static variable in class org.lsmp.djepJUnit.MatrixJepTest
 
SHOW_BAD - Static variable in class org.lsmp.djepJUnit.RpTest
 
SHOW_BAD - Static variable in class org.lsmp.djepJUnit.VectorJepTest
 
SHOW_BAD - Static variable in class org.lsmp.djepJUnit.XJepTest
 
STRING_LITERAL - Static variable in interface org.nfunk.jep.ParserConstants
 
SUFIX - Static variable in class org.lsmp.djep.xjep.XOperator
postfix operators x%, if neiter prefix and postif then infix, if both trifix like x?
SYMMETRIC - Static variable in class org.lsmp.djep.xjep.XOperator
Symmetric relation x=y implies y=x.
Scaler - class org.lsmp.djep.vectorJep.values.Scaler.
Degenerate i.e. rank 0 Tensor.
Scaler() - Constructor for class org.lsmp.djep.vectorJep.values.Scaler
 
SimpleNode - class org.nfunk.jep.SimpleNode.
 
SimpleNode(int) - Constructor for class org.nfunk.jep.SimpleNode
 
SimpleNode(Parser, int) - Constructor for class org.nfunk.jep.SimpleNode
 
SimplificationVisitor - class org.lsmp.djep.xjep.SimplificationVisitor.
Simplifies an expression.
SimplificationVisitor() - Constructor for class org.lsmp.djep.xjep.SimplificationVisitor
 
Simpson - class org.lsmp.djep.xjep.function.Simpson.
A sum function Sum(x^2,x,1,10) finds the sum of x^2 with x running from 1 to 10.
Simpson() - Constructor for class org.lsmp.djep.xjep.function.Simpson
 
Sine - class org.nfunk.jep.function.Sine.
 
Sine() - Constructor for class org.nfunk.jep.function.Sine
 
SineH - class org.nfunk.jep.function.SineH.
 
SineH() - Constructor for class org.nfunk.jep.function.SineH
 
SpecialEvaluationI - interface org.nfunk.jep.function.SpecialEvaluationI.
Functions which require greater control over their evaluation should implement this interface.
SquareRoot - class org.nfunk.jep.function.SquareRoot.
 
SquareRoot() - Constructor for class org.nfunk.jep.function.SquareRoot
 
Start() - Method in class org.nfunk.jep.Parser
GRAMMAR START
Str - class org.nfunk.jep.function.Str.
Converts an object into its string representation.
Str() - Constructor for class org.nfunk.jep.function.Str
 
SubstitutionVisitor - class org.lsmp.djep.xjep.SubstitutionVisitor.
Allows substution of a given variable with an expresion tree.
SubstitutionVisitor() - Constructor for class org.lsmp.djep.xjep.SubstitutionVisitor
 
Subtract - class org.nfunk.jep.function.Subtract.
 
Subtract() - Constructor for class org.nfunk.jep.function.Subtract
 
SubtractDiffRule - class org.lsmp.djep.djep.diffRules.SubtractDiffRule.
Diffrentiates a subtaction with respect to var.
SubtractDiffRule(String) - Constructor for class org.lsmp.djep.djep.diffRules.SubtractDiffRule
 
Sum - class org.lsmp.djep.xjep.function.Sum.
A sum function Sum(x^2,x,1,10) finds the sum of x^2 with x running from 1 to 10.
Sum() - Constructor for class org.lsmp.djep.xjep.function.Sum
 
Sum - class org.nfunk.jep.function.Sum.
This class serves mainly as an example of a function that accepts any number of parameters.
Sum() - Constructor for class org.nfunk.jep.function.Sum
Constructor.
SumType - class org.lsmp.djep.xjep.function.SumType.
A sum function Sum(x^2,x,1,10) finds the sum of x^2 with x running from 1 to 10.
SumType(String) - Constructor for class org.lsmp.djep.xjep.function.SumType
 
SumType() - Constructor for class org.lsmp.djep.xjep.function.SumType
 
SwitchTo(int) - Method in class org.nfunk.jep.ParserTokenManager
 
SymbolTable - class org.nfunk.jep.SymbolTable.
A Hashtable which holds a list of all variables.
SymbolTable(VariableFactory) - Constructor for class org.nfunk.jep.SymbolTable
SymbolTable should always be constructed an associated variable factory.
sb - Variable in class org.lsmp.djep.xjep.PrintVisitor
 
set(Complex) - Method in class org.nfunk.jep.type.Complex
Copies the values from the parameter object to this object
set(double, double) - Method in class org.nfunk.jep.type.Complex
Sets the real and imaginary values of the object.
setAllowAssignment(boolean) - Method in class org.nfunk.jep.JEP
Sets wheter assignment equations like y=x+1 are allowed.
setAllowUndeclared(boolean) - Method in class org.nfunk.jep.JEP
Sets the value for the undeclared variables option.
setBinaryInverseOp(Operator) - Method in class org.lsmp.djep.xjep.XOperator
 
setCoeffs(Number[]) - Method in class org.lsmp.djep.groupJep.values.Polynomial
Sub classes can change the coefficients.
setCurNumberOfParameters(int) - Method in class org.nfunk.jep.function.PostfixMathCommand
Sets the number of current number of parameters used in the next call of run().
setCurNumberOfParameters(int) - Method in interface org.nfunk.jep.function.PostfixMathCommandI
Sets the number of current number of parameters used in the next call of run().
setDebugStream(PrintStream) - Method in class org.nfunk.jep.ParserTokenManager
 
setDerivative(String[], PartialDerivative) - Method in class org.lsmp.djep.djep.DVariable
Sets the derivative wrt the variables specified in deriv names.
setDerivativeSorted(String[], PartialDerivative) - Method in class org.lsmp.djep.djep.DVariable
 
setDim(Dimensions) - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMFunNode
 
setDimensions(Dimensions) - Method in class org.lsmp.djep.matrixJep.MatrixPartialDerivative
 
setDimensions(Dimensions) - Method in class org.lsmp.djep.matrixJep.MatrixVariable
 
setDimensions(Dimensions) - Method in interface org.lsmp.djep.matrixJep.MatrixVariableI
Sets the dimension of the variable.
setDistributiveOver(Operator) - Method in class org.lsmp.djep.xjep.XOperator
 
setEle(int, Object) - Method in class org.lsmp.djep.vectorJep.values.MVector
 
setEle(int, Object) - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
setEle(int, int, Object) - Method in class org.lsmp.djep.vectorJep.values.Matrix
 
setEle(int, Object) - Method in interface org.lsmp.djep.vectorJep.values.MatrixValueI
sets the i-th element, treats data a a linear array.
setEle(int, Object) - Method in class org.lsmp.djep.vectorJep.values.Scaler
 
setEle(int, Object) - Method in class org.lsmp.djep.vectorJep.values.Tensor
 
setEles(MatrixValueI) - Method in class org.lsmp.djep.vectorJep.values.MVector
sets the elements to those of the arguments.
setEles(MatrixValueI) - Method in class org.lsmp.djep.vectorJep.values.Matrix
sets the elements to those of the arguments.
setEles(MatrixValueI) - Method in interface org.lsmp.djep.vectorJep.values.MatrixValueI
sets the elements to those of the arguments.
setEles(MatrixValueI) - Method in class org.lsmp.djep.vectorJep.values.Scaler
sets the elements to those of the arguments.
setEles(MatrixValueI) - Method in class org.lsmp.djep.vectorJep.values.Tensor
sets the elements to those of the arguments.
setEquation(Node) - Method in class org.lsmp.djep.djep.DVariable
sets the equation
setEquation(Node) - Method in class org.lsmp.djep.xjep.XVariable
sets the equation
setFinalType(int) - Method in class org.lsmp.djep.rpe.RpCommandList
 
setFunction(String, PostfixMathCommandI) - Method in class org.nfunk.jep.ASTFunNode
Sets the function for a node.
setIm(double) - Method in class org.nfunk.jep.type.Complex
Sets the imaginary component of the object
setImplicitMul(boolean) - Method in class org.nfunk.jep.JEP
Sets the value of the implicit multiplication option.
setInitialTokenManagerState(int) - Method in class org.nfunk.jep.Parser
Sets the initial state that the token manager is in.
setInverseOp(Operator) - Method in class org.lsmp.djep.xjep.XOperator
 
setIsConstant(boolean) - Method in class org.nfunk.jep.Variable
 
setMValue(MatrixValueI) - Method in class org.lsmp.djep.matrixJep.MatrixPartialDerivative
 
setMValue(MatrixValueI) - Method in class org.lsmp.djep.matrixJep.MatrixVariable
 
setMValue(MatrixValueI) - Method in interface org.lsmp.djep.matrixJep.MatrixVariableI
Sets the value of the variable (matrix aware).
setMaxLen(int) - Method in class org.lsmp.djep.xjep.PrintVisitor
Sets the maximium length printed per line.
setMode(int, boolean) - Method in class org.lsmp.djep.xjep.PrintVisitor
Set printing mode.
setNumParam(int) - Method in class org.nfunk.jep.evaluation.CommandElement
 
setOperator(Operator) - Method in class org.nfunk.jep.ASTFunNode
Sets the opID, name and pfmc for this node by looking up the values in the Operators class
setPFMC(PostfixMathCommandI) - Method in class org.nfunk.jep.Operator
 
setPFMC(PostfixMathCommandI) - Method in class org.nfunk.jep.evaluation.CommandElement
 
setPrecedence(int) - Method in class org.lsmp.djep.xjep.XOperator
 
setPrecedenceTable(Operator[][]) - Static method in class org.lsmp.djep.xjep.XOperatorSet
Sets the precedences of the operators according to order in the supplied array.
setRe(double) - Method in class org.nfunk.jep.type.Complex
Sets the real component of the object
setRootOp(Operator) - Method in class org.lsmp.djep.xjep.XOperator
 
setRootVal(Complex) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
Sets the value used to aproximate the root as a complex number.
setTolerance(double) - Method in class org.nfunk.jep.function.Comparative
Sets the tolerance used for comparing complex numbers
setTraverse(boolean) - Method in class org.nfunk.jep.JEP
Sets the value of the traverse option. setTraverse is useful for debugging purposes.
setType(int) - Method in class org.nfunk.jep.evaluation.CommandElement
 
setUp() - Method in class org.lsmp.djepJUnit.DJepTest
 
setUp() - Method in class org.lsmp.djepJUnit.GroupJepTest
 
setUp() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
setUp() - Method in class org.lsmp.djepJUnit.RpTest
 
setUp() - Method in class org.lsmp.djepJUnit.VectorJepTest
 
setUp() - Method in class org.lsmp.djepJUnit.XJepTest
 
setValidValue(boolean) - Method in interface org.lsmp.djep.matrixJep.MatrixVariableI
makes the vaule valid.
setValidValue(boolean) - Method in class org.nfunk.jep.Variable
Sets whether the value of variable is valid.
setValue(Object) - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMConstant
 
setValue(Object) - Method in class org.nfunk.jep.ASTConstant
 
setValue(Object) - Method in class org.nfunk.jep.Variable
Sets the value of the variable.
setValue(Object) - Method in class org.nfunk.jep.evaluation.CommandElement
 
setValueRaw(Object) - Method in class org.lsmp.djep.matrixJep.MatrixVariable
Sets the value of this variable.
setValueRaw(Object) - Method in class org.nfunk.jep.Variable
In general subclasses should override this method rather than setValue.
setVar(Variable) - Method in class org.lsmp.djep.matrixJep.nodeTypes.ASTMVarNode
 
setVar(Variable) - Method in class org.nfunk.jep.ASTVarNode
Sets the name of the variable.
setVarName(String) - Method in class org.nfunk.jep.evaluation.CommandElement
 
setVarValue(String, Object) - Method in class org.nfunk.jep.JEP
Sets the value of a variable.
setVarValue(String, Object) - Method in class org.nfunk.jep.SymbolTable
Sets the value of variable with the given name.
simplify(Node, XJep) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
must be implemented for subclasses.
simplify(Node) - Method in class org.lsmp.djep.xjep.XJep
Returns a simplification of an expression tree.
simplifyAdd(Node, Node) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
Simplifies an addition.
simplifyBuiltOperatorNode(Operator, Node, Node) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
First create a new node and then simplify it.
simplifyDivide(Node, Node) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
Simplifies a division.
simplifyMultiply(Node, Node) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
Simplifies a multiplication.
simplifyOp(ASTFunNode, Node[]) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
simplifies operators, does not decend into children
simplifyPower(Node, Node) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
Simplify a power.
simplifySubtract(Node, Node) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
Simplifies a subtraction.
simplifyTest(String, String) - Method in class org.lsmp.djepJUnit.DJepTest
 
simplifyTest(String, String) - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
simplifyTest(String, String) - Method in class org.lsmp.djepJUnit.XJepTest
 
simplifyTestString(String, String) - Method in class org.lsmp.djepJUnit.DJepTest
 
simplifyTestString(String, String) - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
simplifyTestString(String, String) - Method in class org.lsmp.djepJUnit.XJepTest
 
simplifyTripple(XOperator, Node, Node) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
Simplifies expresions like 2+(3+x) or (2+x)+3
simpv - Variable in class org.lsmp.djep.xjep.XJep
 
sin(Object) - Method in class org.nfunk.jep.function.Sine
 
sin() - Method in class org.nfunk.jep.type.Complex
Returns the sine of this complex number.
sinh(Object) - Method in class org.nfunk.jep.function.SineH
 
sinh() - Method in class org.nfunk.jep.type.Complex
 
specialConstructor - Variable in class org.nfunk.jep.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 org.nfunk.jep.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(Object) - Method in class org.nfunk.jep.function.SquareRoot
Calculates the square root of the parameter.
sqrt() - Method in class org.nfunk.jep.type.Complex
Calculates the square root of this object.
stack - Variable in class org.nfunk.jep.EvaluatorVisitor
Stack used for evaluating the expression
staticFlag - Static variable in class org.nfunk.jep.JavaCharStream
 
sub(Number, Number) - Method in interface org.lsmp.djep.groupJep.GroupI
Get the difference of the numbers.
sub(Object, Object) - Method in class org.lsmp.djep.groupJep.function.GSubtract
 
sub(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
sub(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
sub(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
sub(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
sub(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
sub(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
sub(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
sub(Number, Number) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
sub(Permutation) - Method in class org.lsmp.djep.groupJep.values.Permutation
 
sub(Polynomial) - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
sub(Rational) - Method in class org.lsmp.djep.groupJep.values.Rational
 
sub - Variable in class org.lsmp.djep.vectorJep.function.MMultiply
 
sub(Object, Object) - Method in class org.lsmp.djep.vectorJep.function.MSubtract
Adds two objects.
sub(MVector, MVector) - Method in class org.lsmp.djep.vectorJep.function.MSubtract
Adds two vectors.
sub(Matrix, Matrix) - Method in class org.lsmp.djep.vectorJep.function.MSubtract
Adds two matricies.
sub(Tensor, Tensor) - Method in class org.lsmp.djep.vectorJep.function.MSubtract
Adds two matricies.
sub(Object, Object) - Method in class org.nfunk.jep.function.Subtract
 
sub(Number, Number) - Method in class org.nfunk.jep.function.Subtract
 
sub(Complex, Complex) - Method in class org.nfunk.jep.function.Subtract
 
sub(Complex, Number) - Method in class org.nfunk.jep.function.Subtract
 
sub(Number, Complex) - Method in class org.nfunk.jep.function.Subtract
 
sub(Complex) - Method in class org.nfunk.jep.type.Complex
Adds the complex number with another complex value.
substitute(Node, String, Node, XJep) - Method in class org.lsmp.djep.xjep.SubstitutionVisitor
Substitutes all occurences of variable var with replacement.
substitute(Node, String[], Node[], XJep) - Method in class org.lsmp.djep.xjep.SubstitutionVisitor
Substitutes all occurences of a set of variable var with a set of replacements.
substitute(Node, String, Node) - Method in class org.lsmp.djep.xjep.XJep
Substitute all occurences of a named variable with an expression tree.
substitute(Node, String[], Node[]) - Method in class org.lsmp.djep.xjep.XJep
Substitute all occurences of a set of named variable with a set of expression tree.
subv - Variable in class org.lsmp.djep.xjep.XJep
 
suite() - Static method in class org.lsmp.djepJUnit.DJepTest
 
suite() - Static method in class org.lsmp.djepJUnit.GroupJepTest
 
suite() - Static method in class org.lsmp.djepJUnit.MatrixJepTest
 
suite() - Static method in class org.lsmp.djepJUnit.RpTest
 
suite() - Static method in class org.lsmp.djepJUnit.VectorJepTest
 
suite() - Static method in class org.lsmp.djepJUnit.XJepTest
 
symTab - Variable in class org.nfunk.jep.EvaluatorVisitor
The symbol table for variable lookup
symTab - Variable in class org.nfunk.jep.JEP
Symbol Table
symbol - Variable in class org.lsmp.djep.groupJep.groups.FreeGroup
 

T

TENSOR - Variable in class org.lsmp.djep.matrixJep.MatrixOperatorSet
 
THREE - Static variable in class org.lsmp.djep.vectorJep.Dimensions
 
TRANSITIVE - Static variable in class org.lsmp.djep.xjep.XOperator
Transative relations x=y and y=z implies x=z
TWO - Static variable in class org.lsmp.djep.vectorJep.Dimensions
 
TanH - class org.nfunk.jep.function.TanH.
 
TanH() - Constructor for class org.nfunk.jep.function.TanH
 
Tangent - class org.nfunk.jep.function.Tangent.
 
Tangent() - Constructor for class org.nfunk.jep.function.Tangent
 
Tensor - class org.lsmp.djep.vectorJep.values.Tensor.
Represents tensor (generalisation of Matrix/Vector).
Tensor(Dimensions) - Constructor for class org.lsmp.djep.vectorJep.values.Tensor
Creates a Tensor with the given dimension.
Tensor(Tensor) - Constructor for class org.lsmp.djep.vectorJep.values.Tensor
Creates a Tensor with same dimension as the arguments.
Tensor(int, Dimensions) - Constructor for class org.lsmp.djep.vectorJep.values.Tensor
Creates a tensor with dimensions [len,dims[0],...
Token - class org.nfunk.jep.Token.
Describes the input token stream.
Token() - Constructor for class org.nfunk.jep.Token
 
TokenMgrError - error org.nfunk.jep.TokenMgrError.
 
TokenMgrError() - Constructor for class org.nfunk.jep.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class org.nfunk.jep.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class org.nfunk.jep.TokenMgrError
 
TreeUtils - class org.lsmp.djep.xjep.TreeUtils.
A set of Utility functions for working with JEP expression trees.
TreeUtils() - Constructor for class org.lsmp.djep.xjep.TreeUtils
default constructor is private class can never in insantated.
tPoly - Variable in class org.lsmp.djep.groupJep.groups.FreeGroup
 
tan(Object) - Method in class org.nfunk.jep.function.Tangent
 
tan() - Method in class org.nfunk.jep.type.Complex
Returns the tangent of this complex number.
tanh(Object) - Method in class org.nfunk.jep.function.TanH
 
tanh() - Method in class org.nfunk.jep.type.Complex
 
test(ASTFunNode, Node[]) - Method in interface org.lsmp.djep.xjep.RewriteRuleI
 
test(ASTFunNode, Node[]) - Method in class org.lsmp.djep.xjep.rewriteRules.ExpandBrackets
 
test(ASTFunNode, Node[]) - Method in class org.lsmp.djep.xjep.rewriteRules.ExpandPower
 
testAssign() - Method in class org.lsmp.djepJUnit.DJepTest
 
testAssign() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testAssign() - Method in class org.lsmp.djepJUnit.RpTest
 
testAssign() - Method in class org.lsmp.djepJUnit.VectorJepTest
 
testAssign() - Method in class org.lsmp.djepJUnit.XJepTest
 
testAssign2() - Method in class org.lsmp.djepJUnit.DJepTest
 
testAssignDiff() - Method in class org.lsmp.djepJUnit.DJepTest
 
testAssignDiff() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testBad() - Method in class org.lsmp.djepJUnit.DJepTest
 
testBad() - Method in class org.lsmp.djepJUnit.GroupJepTest
 
testBad() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testBad() - Method in class org.lsmp.djepJUnit.VectorJepTest
 
testBad() - Method in class org.lsmp.djepJUnit.XJepTest
 
testComplex() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testComplex() - Method in class org.lsmp.djepJUnit.XJepTest
 
testDiff() - Method in class org.lsmp.djepJUnit.DJepTest
 
testDiff() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testDotInName() - Method in class org.lsmp.djepJUnit.XJepTest
 
testEval() - Method in class org.lsmp.djepJUnit.DJepTest
 
testFun() - Method in class org.lsmp.djepJUnit.RpTest
 
testGood() - Method in class org.lsmp.djepJUnit.DJepTest
 
testGood() - Method in class org.lsmp.djepJUnit.GroupJepTest
just test JUnit working OK
testGood() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testGood() - Method in class org.lsmp.djepJUnit.RpTest
 
testGood() - Method in class org.lsmp.djepJUnit.VectorJepTest
 
testGood() - Method in class org.lsmp.djepJUnit.XJepTest
just test JUnit working OK
testIf() - Method in class org.lsmp.djepJUnit.DJepTest
 
testIf() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testIf() - Method in class org.lsmp.djepJUnit.VectorJepTest
 
testIf() - Method in class org.lsmp.djepJUnit.XJepTest
 
testLogical() - Method in class org.lsmp.djepJUnit.RpTest
 
testMacroFun() - Method in class org.lsmp.djepJUnit.XJepTest
 
testMatrix() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testMatrix() - Method in class org.lsmp.djepJUnit.VectorJepTest
 
testNaN() - Method in class org.lsmp.djepJUnit.DJepTest
 
testOperators() - Method in class org.lsmp.djepJUnit.DJepTest
 
testOperators() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testOperators() - Method in class org.lsmp.djepJUnit.VectorJepTest
 
testOperators() - Method in class org.lsmp.djepJUnit.XJepTest
 
testPrint() - Method in class org.lsmp.djepJUnit.XJepTest
 
testQ() - Method in class org.lsmp.djepJUnit.GroupJepTest
Tests rationals
testQuartonians() - Method in class org.lsmp.djepJUnit.GroupJepTest
Tests rationals
testReentrant() - Method in class org.lsmp.djepJUnit.XJepTest
 
testRewrite() - Method in class org.lsmp.djepJUnit.XJepTest
 
testRp() - Method in class org.lsmp.djepJUnit.RpTest
 
testSimp() - Method in class org.lsmp.djepJUnit.DJepTest
 
testSimp() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testSimp() - Method in class org.lsmp.djepJUnit.XJepTest
 
testSimpleSum() - Method in class org.lsmp.djepJUnit.DJepTest
 
testSimpleSum() - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
testSimpleSum() - Method in class org.lsmp.djepJUnit.VectorJepTest
 
testSimpleSum() - Method in class org.lsmp.djepJUnit.XJepTest
 
testSqrt() - Method in class org.lsmp.djepJUnit.DJepTest
 
testSum() - Method in class org.lsmp.djepJUnit.DJepTest
 
testVariableReuse() - Method in class org.lsmp.djepJUnit.DJepTest
 
testVariableReuse() - Method in class org.lsmp.djepJUnit.XJepTest
 
testZ() - Method in class org.lsmp.djepJUnit.GroupJepTest
Tests very large numbers, 20!
testZ5thRootUnity() - Method in class org.lsmp.djepJUnit.GroupJepTest
 
testZRoot2Root5() - Method in class org.lsmp.djepJUnit.GroupJepTest
 
testZn() - Method in class org.lsmp.djepJUnit.GroupJepTest
Tests integers mod 5
testZroot2() - Method in class org.lsmp.djepJUnit.GroupJepTest
 
testZtau() - Method in class org.lsmp.djepJUnit.GroupJepTest
 
toFullString() - Method in class org.lsmp.djep.xjep.XOperator
returns a verbose representation of the operator and all its properties.
toString() - Method in interface org.lsmp.djep.djep.DiffRulesI
Returns a string representation of the rule.
toString() - Method in class org.lsmp.djep.djep.PartialDerivative
 
toString() - Method in class org.lsmp.djep.djep.diffRules.AdditionDiffRule
 
toString() - Method in class org.lsmp.djep.djep.diffRules.ChainRuleDiffRules
 
toString() - Method in class org.lsmp.djep.djep.diffRules.DivideDiffRule
 
toString() - Method in class org.lsmp.djep.djep.diffRules.MultiplyDiffRule
 
toString() - Method in class org.lsmp.djep.djep.diffRules.PassThroughDiffRule
 
toString() - Method in class org.lsmp.djep.djep.diffRules.PowerDiffRule
 
toString() - Method in class org.lsmp.djep.djep.diffRules.SubtractDiffRule
 
toString() - Method in class org.lsmp.djep.groupJep.groups.AlgebraicExtension
 
toString() - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
toString() - Method in class org.lsmp.djep.groupJep.groups.Group
 
toString() - Method in class org.lsmp.djep.groupJep.groups.Integers
 
toString() - Method in class org.lsmp.djep.groupJep.groups.Quartonians.Quartonian
 
toString() - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
toString() - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
toString() - Method in class org.lsmp.djep.groupJep.groups.Zn
 
toString() - Method in class org.lsmp.djep.groupJep.values.Permutation
 
toString() - Method in class org.lsmp.djep.groupJep.values.Polynomial
 
toString() - Method in class org.lsmp.djep.groupJep.values.Rational
 
toString() - Method in class org.lsmp.djep.rpe.RpCommandList
 
toString() - Method in class org.lsmp.djep.vectorJep.Dimensions
A string repsesentation.
toString() - Method in class org.lsmp.djep.vectorJep.values.MVector
Construct a Vector from a set of elements.
toString() - Method in class org.lsmp.djep.vectorJep.values.Matrix
Returns a string rep of matrix.
toString() - Method in class org.lsmp.djep.vectorJep.values.Scaler
 
toString() - Method in class org.lsmp.djep.vectorJep.values.Tensor
Returns a string rep of tensor.
toString(Node) - Method in class org.lsmp.djep.xjep.PrintVisitor
returns a String representation of the equation.
toString(Node) - Method in class org.lsmp.djep.xjep.XJep
Returns a string representation of a expresion tree.
toString(PrintVisitor) - Method in class org.lsmp.djep.xjep.XVariable
Returns a string rep of variable with its equation and value.
toString() - Method in class org.nfunk.jep.ASTConstant
 
toString() - Method in class org.nfunk.jep.ASTFunNode
Returns a string containing the function name.
toString() - Method in class org.nfunk.jep.ASTVarNode
Creates a string containing the variable's name and value
toString() - Method in class org.nfunk.jep.Operator
returns a verbose representation of the operator.
toString() - Method in class org.nfunk.jep.SimpleNode
 
toString(String) - Method in class org.nfunk.jep.SimpleNode
 
toString() - Method in class org.nfunk.jep.SymbolTable
Returns a list of variables, one per line.
toString() - Method in class org.nfunk.jep.Token
Returns the image.
toString() - Method in class org.nfunk.jep.Variable
Returns a string with the variable name followed by it's value.
toString() - Method in class org.nfunk.jep.type.Complex
Returns the value of this complex number as a string in the format: (real, imaginary).
token - Variable in class org.nfunk.jep.Parser
 
tokenImage - Variable in class org.nfunk.jep.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface org.nfunk.jep.ParserConstants
 
token_source - Variable in class org.nfunk.jep.Parser
 
tu - Variable in class org.lsmp.djep.xjep.XJep
A few utility functions.

U

UMinus - class org.nfunk.jep.function.UMinus.
 
UMinus() - Constructor for class org.nfunk.jep.function.UMinus
 
UNARY - Static variable in class org.lsmp.djep.xjep.XOperator
Unary operators, such as -x !
USE_BINDING_FOR_PRINT - Static variable in class org.lsmp.djep.xjep.XOperator
For non commutative operators printing can be determined by the left or right binding.
UnaryExpression() - Method in class org.nfunk.jep.Parser
 
UnaryExpressionNotPlusMinus() - Method in class org.nfunk.jep.Parser
 
UnaryOperatorI - interface org.lsmp.djep.vectorJep.function.UnaryOperatorI.
A matrix enabled unary operator.
UpdateLineColumn(char) - Method in class org.nfunk.jep.JavaCharStream
 
umin(Object) - Method in class org.lsmp.djep.vectorJep.function.MUMinus
Negate an objects.
umin(MVector) - Method in class org.lsmp.djep.vectorJep.function.MUMinus
negate a vector.
umin(Matrix) - Method in class org.lsmp.djep.vectorJep.function.MUMinus
negate a matrix.
umin(Tensor) - Method in class org.lsmp.djep.vectorJep.function.MUMinus
negate a tensor.
umin(Object) - Method in class org.nfunk.jep.function.UMinus
 
uminus(Object) - Method in class org.lsmp.djep.groupJep.function.GUMinus
 
unitPoly - Variable in class org.lsmp.djep.groupJep.groups.FreeGroup
 
update(Observable, Object) - Method in class org.lsmp.djep.djep.PartialDerivative
When the value of the root object is changed makes the value of this partial derivative invalid.
useBindingForPrint() - Method in class org.lsmp.djep.xjep.XOperator
 

V

VAR - Static variable in class org.nfunk.jep.evaluation.CommandElement
 
VList - class org.lsmp.djep.vectorJep.function.VList.
A enhanced version of List, allows matricies and tensors.
VList() - Constructor for class org.lsmp.djep.vectorJep.function.VList
 
VOperatorSet - class org.lsmp.djep.vectorJep.VOperatorSet.
 
VOperatorSet() - Constructor for class org.lsmp.djep.vectorJep.VOperatorSet
 
Variable() - Method in class org.nfunk.jep.Parser
 
Variable - class org.nfunk.jep.Variable.
Information about a variable.
Variable(String) - Constructor for class org.nfunk.jep.Variable
Constructors are protected.
Variable(String, Object) - Constructor for class org.nfunk.jep.Variable
Constructors are protected.
VariableFactory - class org.nfunk.jep.VariableFactory.
A factory class which is used to create variables.
VariableFactory() - Constructor for class org.nfunk.jep.VariableFactory
 
VectorExample - class org.lsmp.djepExamples.VectorExample.
Examples using vectors and matricies
VectorExample() - Constructor for class org.lsmp.djepExamples.VectorExample
 
VectorJep - class org.lsmp.djep.vectorJep.VectorJep.
An extension of JEP with support for basic vectors and matricies.
VectorJep() - Constructor for class org.lsmp.djep.vectorJep.VectorJep
 
VectorJep(JEP) - Constructor for class org.lsmp.djep.vectorJep.VectorJep
 
VectorJepTest - class org.lsmp.djepJUnit.VectorJepTest.
JUnit test for VectorJep
VectorJepTest(String) - Constructor for class org.lsmp.djepJUnit.VectorJepTest
 
VectorPrint - class org.lsmp.djepExamples.VectorPrint.
Examples using vectors and matricies
VectorPrint() - Constructor for class org.lsmp.djepExamples.VectorPrint
 
valueOf(String) - Method in interface org.lsmp.djep.groupJep.GroupI
returns number given by the string
valueOf(Number[]) - Method in class org.lsmp.djep.groupJep.groups.AlgebraicExtension
 
valueOf(String) - Method in class org.lsmp.djep.groupJep.groups.BigReals
 
valueOf(String) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
valueOf(Number[]) - Method in class org.lsmp.djep.groupJep.groups.FreeGroup
 
valueOf(String) - Method in class org.lsmp.djep.groupJep.groups.Integers
 
valueOf(String) - Method in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
valueOf(Number[]) - Method in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
valueOf(String) - Method in class org.lsmp.djep.groupJep.groups.Quartonians
 
valueOf(String) - Method in class org.lsmp.djep.groupJep.groups.Rationals
 
valueOf(String) - Method in class org.lsmp.djep.groupJep.groups.Reals
 
valueOf(String) - Method in class org.lsmp.djep.groupJep.groups.Zn
 
valueOf(Number[]) - Method in class org.lsmp.djep.groupJep.values.AlgebraicExtensionElement
sub classes should overright this to make the correct type.
valueOf(Number[]) - Method in class org.lsmp.djep.groupJep.values.FreeGroupElement
sub classes should overright this to make the correct type.
valueOf(Integer[]) - Method in class org.lsmp.djep.groupJep.values.Permutation
 
valueOf(Number[]) - Method in class org.lsmp.djep.groupJep.values.Permutation
 
valueOf(Number[]) - Method in class org.lsmp.djep.groupJep.values.Polynomial
sub classes should overright this to make the correct type.
valueOf(String) - Static method in class org.lsmp.djep.groupJep.values.Rational
 
valueOf(int) - Static method in class org.lsmp.djep.vectorJep.Dimensions
Factory method returns a Dimension for vector of given length.
valueOf(int, int) - Static method in class org.lsmp.djep.vectorJep.Dimensions
returns dimensions for a matrix.
valueOf(int, Dimensions) - Static method in class org.lsmp.djep.vectorJep.Dimensions
return a dimension [d,inDim[0],...
valueOf(Dimensions, int) - Static method in class org.lsmp.djep.vectorJep.Dimensions
return a dimension [inDim[0],...
valueOf(int[]) - Static method in class org.lsmp.djep.vectorJep.Dimensions
returns a dimensions with given dimensions.
valueTest(String, double) - Method in class org.lsmp.djepJUnit.DJepTest
 
valueTest(String, Object) - Method in class org.lsmp.djepJUnit.DJepTest
 
valueTest(String, double) - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
valueTest(String, Object) - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
valueTest(String, String) - Method in class org.lsmp.djepJUnit.MatrixJepTest
 
valueTest(String, double) - Method in class org.lsmp.djepJUnit.RpTest
 
valueTest(String, Object) - Method in class org.lsmp.djepJUnit.RpTest
 
valueTest(String, String) - Method in class org.lsmp.djepJUnit.RpTest
 
valueTest(String, double) - Method in class org.lsmp.djepJUnit.VectorJepTest
 
valueTest(String, Object) - Method in class org.lsmp.djepJUnit.VectorJepTest
 
valueTest(String, String) - Method in class org.lsmp.djepJUnit.VectorJepTest
 
valueTest(String, double) - Method in class org.lsmp.djepJUnit.XJepTest
 
valueTest(String, Object) - Method in class org.lsmp.djepJUnit.XJepTest
 
valueToStringTest(String, String) - Method in class org.lsmp.djepJUnit.GroupJepTest
 
vf - Variable in class org.nfunk.jep.SymbolTable
 
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.djep.DPrintVisitor
Prints the variable or its equation.
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.djep.DifferentiationVisitor
Applies differentiation to a function.
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.djep.DifferentiationVisitor
Differentiates a variable.
visit(ASTConstant, Object) - Method in class org.lsmp.djep.djep.DifferentiationVisitor
Differentiates a constant.
visit(SimpleNode, Object) - Method in class org.lsmp.djep.matrixJep.MatrixEvaluator
 
visit(ASTStart, Object) - Method in class org.lsmp.djep.matrixJep.MatrixEvaluator
 
visit(ASTConstant, Object) - Method in class org.lsmp.djep.matrixJep.MatrixEvaluator
constants
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.matrixJep.MatrixEvaluator
multidimensions differentiable variables
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.matrixJep.MatrixEvaluator
other functions
visit(SimpleNode, Object) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
 
visit(ASTStart, Object) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
 
visit(ASTConstant, Object) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
constants
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
multidimensions differentiable variables
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
visit functions and operators
visit(ASTStart, Object) - Method in class org.lsmp.djep.rpe.RpEval
 
visit(SimpleNode, Object) - Method in class org.lsmp.djep.rpe.RpEval
 
visit(ASTConstant, Object) - Method in class org.lsmp.djep.rpe.RpEval
 
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.rpe.RpEval
 
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.rpe.RpEval
 
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.xjep.CommandVisitor
 
visit(ASTConstant, Object) - Method in class org.lsmp.djep.xjep.DeepCopyVisitor
 
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.xjep.DeepCopyVisitor
 
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.xjep.DeepCopyVisitor
 
visit(SimpleNode, Object) - Method in class org.lsmp.djep.xjep.DoNothingVisitor
 
visit(ASTStart, Object) - Method in class org.lsmp.djep.xjep.DoNothingVisitor
 
visit(ASTConstant, Object) - Method in class org.lsmp.djep.xjep.DoNothingVisitor
 
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.xjep.DoNothingVisitor
 
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.xjep.DoNothingVisitor
 
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.xjep.PrintVisitor
 
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.xjep.PrintVisitor
 
visit(ASTConstant, Object) - Method in class org.lsmp.djep.xjep.PrintVisitor
 
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.xjep.RewriteVisitor
 
visit(ASTFunNode, Object) - Method in class org.lsmp.djep.xjep.SimplificationVisitor
 
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.xjep.SubstitutionVisitor
 
visit(ASTVarNode, Object) - Method in class org.lsmp.djep.xjep.XEvaluatorVisitor
Visit a variable node.
visit(SimpleNode, Object) - Method in class org.nfunk.jep.EvaluatorVisitor
This method should never be called when evaluation a normal expression.
visit(ASTStart, Object) - Method in class org.nfunk.jep.EvaluatorVisitor
This method should never be called when evaluating a normal expression.
visit(ASTFunNode, Object) - Method in class org.nfunk.jep.EvaluatorVisitor
Visit a function node.
visit(ASTVarNode, Object) - Method in class org.nfunk.jep.EvaluatorVisitor
Visit a variable node.
visit(ASTConstant, Object) - Method in class org.nfunk.jep.EvaluatorVisitor
Visit a constant node.
visit(SimpleNode, Object) - Method in class org.nfunk.jep.ParserDumpVisitor
 
visit(ASTStart, Object) - Method in class org.nfunk.jep.ParserDumpVisitor
 
visit(ASTFunNode, Object) - Method in class org.nfunk.jep.ParserDumpVisitor
 
visit(ASTVarNode, Object) - Method in class org.nfunk.jep.ParserDumpVisitor
 
visit(ASTConstant, Object) - Method in class org.nfunk.jep.ParserDumpVisitor
 
visit(SimpleNode, Object) - Method in interface org.nfunk.jep.ParserVisitor
 
visit(ASTStart, Object) - Method in interface org.nfunk.jep.ParserVisitor
 
visit(ASTFunNode, Object) - Method in interface org.nfunk.jep.ParserVisitor
 
visit(ASTVarNode, Object) - Method in interface org.nfunk.jep.ParserVisitor
 
visit(ASTConstant, Object) - Method in interface org.nfunk.jep.ParserVisitor
 
visit(ASTFunNode, Object) - Method in class org.nfunk.jep.evaluation.ExpressionCompiler
 
visit(ASTVarNode, Object) - Method in class org.nfunk.jep.evaluation.ExpressionCompiler
 
visit(ASTConstant, Object) - Method in class org.nfunk.jep.evaluation.ExpressionCompiler
 
visit(SimpleNode, Object) - Method in class org.nfunk.jep.evaluation.ExpressionCompiler
 
visit(ASTStart, Object) - Method in class org.nfunk.jep.evaluation.ExpressionCompiler
 
visitChildrenAsArray(Node, Object) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
Returns an array of matrix nodes which are the results of visiting each child.
visitDiff(ASTFunNode, Object) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
the differential opperator TODO move into an MDiff function
visitOp(ASTFunNode, Object) - Method in class org.lsmp.djep.matrixJep.MatrixPreprocessor
operators +,-,*,/

X

XAssign - class org.lsmp.djep.xjep.XAssign.
An assignment operator so we can do x=3+4.
XAssign() - Constructor for class org.lsmp.djep.xjep.XAssign
 
XEvaluatorVisitor - class org.lsmp.djep.xjep.XEvaluatorVisitor.
This class is used for the evaluation of an expression.
XEvaluatorVisitor() - Constructor for class org.lsmp.djep.xjep.XEvaluatorVisitor
Constructor.
XJep - class org.lsmp.djep.xjep.XJep.
An extended version of JEP adds various routines for working with trees.
XJep() - Constructor for class org.lsmp.djep.xjep.XJep
Create a new XJep will all the function of JEP plus printing and other features.
XJep(XJep) - Constructor for class org.lsmp.djep.xjep.XJep
Copy constructions, reuses all the componants of argument.
XJep(JEP) - Constructor for class org.lsmp.djep.xjep.XJep
Conversion constructor.
XJepExample - class org.lsmp.djepExamples.XJepExample.
Examples using differentation
XJepExample() - Constructor for class org.lsmp.djepExamples.XJepExample
 
XJepTest - class org.lsmp.djepJUnit.XJepTest.
 
XJepTest(String) - Constructor for class org.lsmp.djepJUnit.XJepTest
 
XMath - class org.lsmp.djep.xjep.XMath.
 
XMath() - Constructor for class org.lsmp.djep.xjep.XMath
 
XOperator - class org.lsmp.djep.xjep.XOperator.
An Operator with additional information about its commutativity etc.
XOperator(String, PostfixMathCommandI, int) - Constructor for class org.lsmp.djep.xjep.XOperator
construct a new operator.
XOperator(String, PostfixMathCommandI, int, int) - Constructor for class org.lsmp.djep.xjep.XOperator
Allows a given precedent to be set.
XOperator(String, String, PostfixMathCommandI, int) - Constructor for class org.lsmp.djep.xjep.XOperator
construct a new operator, with a different name and symbol
XOperator(String, String, PostfixMathCommandI, int, int) - Constructor for class org.lsmp.djep.xjep.XOperator
Allows a given precedent to be set.
XOperator(Operator, int, int) - Constructor for class org.lsmp.djep.xjep.XOperator
 
XOperator(Operator, int) - Constructor for class org.lsmp.djep.xjep.XOperator
 
XOperatorSet - class org.lsmp.djep.xjep.XOperatorSet.
An OperatorSet where the operators have information about their commutativity etc.
XOperatorSet(OperatorSet) - Constructor for class org.lsmp.djep.xjep.XOperatorSet
Creates the operator set from a given set.
XOperatorSet() - Constructor for class org.lsmp.djep.xjep.XOperatorSet
Create the standard set of operators.
XSymbolTable - class org.lsmp.djep.xjep.XSymbolTable.
An extension of the symbol table with a few new features.
XSymbolTable(VariableFactory) - Constructor for class org.lsmp.djep.xjep.XSymbolTable
Create a new XSymbolTable with the given variable factory.
XVariable - class org.lsmp.djep.xjep.XVariable.
Variables which have their equations stored.
XVariable(String) - Constructor for class org.lsmp.djep.xjep.XVariable
 
XVariable(String, Object) - Constructor for class org.lsmp.djep.xjep.XVariable
 
XVariableFactory - class org.lsmp.djep.xjep.XVariableFactory.
A VariableFactory which creates XVariables (which have equations).
XVariableFactory() - Constructor for class org.lsmp.djep.xjep.XVariableFactory
 

Z

ZERO - Static variable in class org.lsmp.djep.xjep.TreeUtils
Real zero.
Zn - class org.lsmp.djep.groupJep.groups.Zn.
The group of integers mod n.
Zn(BigInteger) - Constructor for class org.lsmp.djep.groupJep.groups.Zn
 
zeroPerm - Variable in class org.lsmp.djep.groupJep.groups.PermutationGroup
 
zeroPoly - Variable in class org.lsmp.djep.groupJep.groups.FreeGroup
 

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

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