public class LnOp extends FunctionOpNode
m_base, m_children, m_exponent, m_factor, m_isEdited, m_parent, MULTOP, POWEROP, PRINT_ALL, PRINT_EXPONENT, PRINT_EXPONENT_SIGN, PRINT_EXPRESSION, PRINT_FACTOR, PRINT_PARENTHESES, PRINT_SIGN, REPLACEMENT_IDENTIFIER
m_numberClass
Constructor and Description |
---|
LnOp(java.lang.Class entryClass) |
LnOp(OpNode child) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculate()
Simply calls MNumber.log(child).
|
protected void |
calculateDouble()
Simply calls Math.log(child).
|
OpNode |
getDerivative(java.lang.String variable)
Implements ln(f(x))' = f'(x)/f(x).
|
OpNode |
getInverseOp(OpNode newChild)
Returns the inverse function of this node.
|
RelNode |
getMonotonicDecreasingRel(OpNode operand)
Returns the relation that must be satisfied, so that this node
with
operand as child represents a monotonously
falling operation |
RelNode |
getMonotonicIncreasingRel(OpNode operand)
Returns the relation that must be satisfied, so that this node
with
operand as child represents a monotonously
rising operation. |
RelNode |
getNodeDefinedRel(OpNode operand)
Returns the relation subtree for which this operation with
operand as child is defined. |
RelNode |
getZeroRel(OpNode operand)
Returns the relation for which this operation with
operand as
child is zero. |
java.lang.String |
nodeToString()
Returns the string representation for this node (without children).
|
getMathMLNode, getMaxChildrenNr, getMinChildrenNr, nodeToContentMathML, simpleSolveStepFor, solveStepFor, toString
children, clone, compareTo, containedConstants, containedVariables, deepCopy, deriveNode, equals, equalWithoutFactor, equalWithoutFactorAndExponent, extractNode, getAllNodesOfType, getChildren, getChildrenDefinedRel, getChildrenWithVariableCount, getChildrenWithVariablesCount, getChildrenWithVariablesCount, getContainedConstants, getContainedVariables, getDefinedRel, getExponent, getExponentString, getFactor, getFactorString, getFirstChildOfType, getFirstDescendantOfType, getLeaves, getMathMLNode, getMaxAbsPowerOfVariable, getMaxPowerOfVariable, getMonotonicDecreasingRel, getMonotonicIncreasingRel, getParent, getPolynomialHolder, getRationalHolder, getResult, getResult, getResultDouble, getSign, getZeroRel, insertNode, insertNodes, isAffine, isCommutativeOperation, isEdited, isIrreducibleFor, isNeutralElementFor, isOfLesserPrecedenceThan, isPolynomial, isRational, leafEquals, multiplyExponent, multiplyFactor, needsParanthesises, negateExponent, negateFactor, nodeToOpML, parent, parenthesesNeeded, printFactorAndExponent, replace, replace, replaced, replaceWith, setChildren, setChildren, setExponent, setFactor, setFactor, setParent, setParent, toContentMathML, toDebugString, toOpML, toString, toString, transferFactorAndExponent, writeFactorAndExponent
contains, extractNode, getDepth, getNumberClass, insertNode, isLeaf, replace, replaceByValue, replaceWith
public LnOp(java.lang.Class entryClass)
public LnOp(OpNode child)
public java.lang.String nodeToString()
OpNode
nodeToString
in class OpNode
public OpNode getInverseOp(OpNode newChild)
FunctionOpNode
getInverseOp
in class FunctionOpNode
protected void calculate()
protected void calculateDouble()
calculateDouble
in class OpNode
public RelNode getMonotonicDecreasingRel(OpNode operand)
OpNode
operand
as child represents a monotonously
falling operationgetMonotonicDecreasingRel
in class OpNode
public RelNode getMonotonicIncreasingRel(OpNode operand)
OpNode
operand
as child represents a monotonously
rising operation.getMonotonicIncreasingRel
in class OpNode
public RelNode getNodeDefinedRel(OpNode operand)
OpNode
operand
as child is defined. It does not consider the
exponent of this node, which is be checked in OpNode.getDefinedRel()
.getNodeDefinedRel
in class OpNode
public RelNode getZeroRel(OpNode operand)
OpNode
operand
as
child is zero.getZeroRel
in class OpNode
public OpNode getDerivative(java.lang.String variable)
getDerivative
in class OpNode
Further documentation and examples can be found under www.mathletfactory.de.