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