private Function |
simplify(Multiplication multiplication)
Simplification :
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
simplifyDivision
private Function simplifyDivision(Constant constant,
Function function)
Simplification : -(C1/X) -> C2 / x
- Parameters:
constant - Constant argument C1function - Function argument X
- Returns:
- Simplification
-
simplifyDivision
private Function simplifyDivision(Function function,
Constant constant)
Simplification : -(X/C1) -> X/C2
- Parameters:
function - Function argument Xconstant - Constant argument C1
- Returns:
- Simplification
-
simplifyDivision
private Function simplifyDivision(Function function1,
Function function2)
Simplification : -(X/Y) -> -(X/Y)
- Parameters:
function1 - Function argument Xfunction2 - Function argument Y
- Returns:
- Simplification
-
simplifyMultiplication
private Function simplifyMultiplication(Constant constant,
Function function)
Simplification : -(C1*X) -> C2*X
- Parameters:
constant - Constant argument C1function - Function argument X
- Returns:
- Simplification
-
simplifyMultiplication
private Function simplifyMultiplication(Function function,
Constant constant)
Simplification : -(X*C1) -> C2*X
- Parameters:
function - Function argument Cconstant - Constant argument C1
- Returns:
- Simplification
-
simplifyMultiplication
private Function simplifyMultiplication(Function function1,
Function function2)
Simplification : -(X*Y) -> -(X*Y)
- Parameters:
function1 - Function argument Xfunction2 - Function argument Y
- Returns:
- Simplification
|