public class PositiveSign extends UnaryOperation
simplify()
and differentiate(Symbol)
depending
on this certain Expression.operand, type
Constructor and Description |
---|
PositiveSign()
Creates a new PositiveSign object with no operand.
|
PositiveSign(Expression op)
Creates a new PositiveSign object with the specified operand.
|
Modifier and Type | Method and Description |
---|---|
Expression |
differentiate(Symbol s)
Returns the derivative of this PositiveSign with respect to s.
|
Expression |
simplify()
Returns this' operand simplified.
|
dissolveFunctionCalls, equals, getEssentialVariables, getEvaluator, getOperand, getPriority, getType, isComplete, isConstant, replaceSymbol, setOperand, toString
differentiate, getEssentialVariables
public PositiveSign()
UnaryOperation.UnaryOperation(int, int)
.public PositiveSign(Expression op)
UnaryOperation.UnaryOperation(int, int, Expression)
.op
- public Expression differentiate(Symbol s)
differentiate
in class Expression
public Expression simplify()
simplify
in class Expression