| Modifier and Type | Method and Description |
|---|---|
Node |
DiffRulesI.differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep)
Returns the top node of of the derivative of this function
wrt to variable var.
|
Object |
DifferentiationVisitor.visit(ASTFunNode node,
Object data)
Applies differentiation to a function.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
SubtractDiffRule.differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep) |
Node |
PowerDiffRule.differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep) |
Node |
PassThroughDiffRule.differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep) |
Node |
MultiplyDiffRule.differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep) |
Node |
DivideDiffRule.differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep) |
Node |
ChainRuleDiffRules.differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep)
Use the chain rule to differentiate.
|
Node |
AdditionDiffRule.differentiate(ASTFunNode node,
String var,
Node[] children,
Node[] dchildren,
DJep djep) |
| Modifier and Type | Method and Description |
|---|---|
Object |
PolynomialVisitor.visit(ASTFunNode node,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
ASTFunNode |
MatrixNodeFactory.buildFunctionNode(ASTFunNode node,
Node[] children)
Builds a function with n arguments
|
ASTFunNode |
MatrixNodeFactory.buildFunctionNode(ASTFunNode node,
Node[] arguments,
Dimensions dim)
create a function node with a known dimension
|
ASTFunNode |
MatrixNodeFactory.buildFunctionNode(String name,
PostfixMathCommandI pfmc,
Node[] arguments)
Builds a function with n arguments
|
ASTFunNode |
MatrixNodeFactory.buildOperatorNode(Operator op,
Node[] arguments)
Builds a operator node with n arguments
|
ASTFunNode |
MatrixNodeFactory.buildOperatorNode(Operator op,
Node[] arguments,
Dimensions dim)
create a function node with a known dimension
|
ASTFunNode |
MatrixNodeFactory.buildUnfinishedOperatorNode(Operator op)
Creates an operator node, but don't fill in the children or calculate
its dimension.
|
| Modifier and Type | Method and Description |
|---|---|
ASTFunNode |
MatrixNodeFactory.buildFunctionNode(ASTFunNode node,
Node[] children)
Builds a function with n arguments
|
ASTFunNode |
MatrixNodeFactory.buildFunctionNode(ASTFunNode node,
Node[] arguments,
Dimensions dim)
create a function node with a known dimension
|
MatrixNodeI |
SpecialPreProcessorI.preprocess(ASTFunNode node,
MatrixPreprocessor visitor,
MatrixJep jep,
MatrixNodeFactory nf)
Subverts the preprocessing stage.
|
Object |
MatrixPreprocessor.visit(ASTFunNode node,
Object data)
visit functions and operators
|
Object |
MatrixEvaluator.visit(ASTFunNode node,
Object data)
other functions
|
Object |
MatrixPreprocessor.visitOp(ASTFunNode node,
Object data)
operators +,-,*,/
|
| Modifier and Type | Method and Description |
|---|---|
MatrixNodeI |
MPower.preprocess(ASTFunNode node,
MatrixPreprocessor visitor,
MatrixJep jep,
MatrixNodeFactory nf)
During preprocessing sets the function to the Cross function if necessary.
|
MatrixNodeI |
MMap.preprocess(ASTFunNode node,
MatrixPreprocessor visitor,
MatrixJep jep,
MatrixNodeFactory nf) |
MatrixNodeI |
MList.preprocess(ASTFunNode node,
MatrixPreprocessor visitor,
MatrixJep jep,
MatrixNodeFactory nf) |
MatrixNodeI |
MDiff.preprocess(ASTFunNode node,
MatrixPreprocessor visitor,
MatrixJep jep,
MatrixNodeFactory nf) |
MatrixNodeI |
MAssign.preprocess(ASTFunNode node,
MatrixPreprocessor visitor,
MatrixJep mjep,
MatrixNodeFactory nf) |
| Modifier and Type | Class and Description |
|---|---|
class |
ASTMFunNode |
| Modifier and Type | Method and Description |
|---|---|
Object |
MRpEval.visit(ASTFunNode node,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
Node |
RewriteRuleI.apply(ASTFunNode node,
Node[] children)
Rewrites the node
|
Node |
ExpandPower.apply(ASTFunNode node,
Node[] children) |
Node |
ExpandBrackets.apply(ASTFunNode node,
Node[] children) |
Node |
CollectPowers.apply(ASTFunNode node,
Node[] children) |
boolean |
RewriteRuleI.test(ASTFunNode node,
Node[] children)
Returns true if node needs to be rewritten, according to this rule.
|
boolean |
ExpandPower.test(ASTFunNode node,
Node[] children) |
boolean |
ExpandBrackets.test(ASTFunNode node,
Node[] children) |
boolean |
CollectPowers.test(ASTFunNode node,
Node[] children) |
Object |
RewriteVisitor.visit(ASTFunNode node,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
Object |
RpEval.visit(ASTFunNode node,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
Object |
PolynomialCreator.visit(ASTFunNode node,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
Object |
VectorEvaluator.visit(ASTFunNode node,
Object data)
Visit a function node.
|
| Modifier and Type | Method and Description |
|---|---|
ASTFunNode |
NodeFactory.buildFunctionNode(ASTFunNode node,
Node[] arguments)
Builds a function with n arguments and same fun as specified in arguments.
|
ASTFunNode |
NodeFactory.buildFunctionNode(String name,
PostfixMathCommandI pfmc,
Node[] arguments)
Builds a function with n arguments
This method should be sub-classed
|
ASTFunNode |
NodeFactory.buildOperatorNode(Operator op,
Node child)
creates a unary function.
|
ASTFunNode |
NodeFactory.buildOperatorNode(Operator op,
Node[] arguments)
Builds a operator node with n arguments
This method should be sub-classed
|
ASTFunNode |
NodeFactory.buildOperatorNode(Operator op,
Node lhs,
Node rhs)
creates a binary function.
|
ASTFunNode |
NodeFactory.buildUnfinishedOperatorNode(Operator op)
An unfinished node.
|
| Modifier and Type | Method and Description |
|---|---|
ASTFunNode |
NodeFactory.buildFunctionNode(ASTFunNode node,
Node[] arguments)
Builds a function with n arguments and same fun as specified in arguments.
|
Node |
SimplificationVisitor.simplifyOp(ASTFunNode node,
Node[] children)
simplifies operators, does not descend into children
|
Object |
SimplificationVisitor.visit(ASTFunNode node,
Object data) |
Object |
PrintVisitor.visit(ASTFunNode node,
Object data) |
Object |
DoNothingVisitor.visit(ASTFunNode node,
Object data) |
Object |
DeepCopyVisitor.visit(ASTFunNode node,
Object data) |
Object |
CommandVisitor.visit(ASTFunNode node,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
Object |
ParserVisitor.visit(ASTFunNode node,
Object data) |
Object |
ParserDumpVisitor.visit(ASTFunNode node,
Object data) |
Object |
EvaluatorVisitor.visit(ASTFunNode node,
Object data)
Visit a function node.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ExpressionCompiler.visit(ASTFunNode node,
Object data) |
Copyright © 2018. All rights reserved.