private Function |
simplify(Addition addition,
Function function)
Simplification :
Function
Simplification
( X + Y ) - X
Y
( X + Y ) - Y
X
( X + Y ) - Z
( X - Z ) + Y
private Function |
simplify(Constant constant1,
Constant constant2)
Simplification : C1-C2 -> C3
|
private Function |
simplify(Constant constant,
Function function)
Simplification : C1-X -> C1-X
|
private Function |
simplify(Function function,
Addition addition)
Simplification :
Function
Simplification
X - ( X + Y )
-Y
X - ( Y + X )
-Y
X - ( Y + Z )
( X - Y ) - Z
private Function |
simplify(Function function,
Constant constant)
Simplification : X-C1 -> C2+X
|
private Function |
simplify(Function function1,
Function function2)
Simplification :
(X1+X2+...
|
private Function |
simplify(Function function,
MinusUnary minusUnary)
Simplification : X-(-Y) -> X+Y
|
private Function |
simplify(Function function,
Multiplication multiplication)
Simplification :
Function
Simplification
X - ( X * C1 )
C2 * X
X - ( C1 * X )
C2 * X
X - ( Y * Z )
X - ( Y * Z )
private Function |
simplify(Function function,
Subtraction subtraction)
Simplification : X-(Y-Z) -> X+(Z-Y)
|
private Function |
simplify(Logarithm logarithm1,
Logarithm logarithm2)
Simplification : ln(X)-ln(Y) -> ln(X/Y)
|
private Function |
simplify(MinusUnary minusUnary,
Function function)
Simplification : (-X)-Y -> -(X+Y)
|
private Function |
simplify(MinusUnary minusUnary1,
MinusUnary minusUnary2)
Simplification : (-X)-(-Y) -> Y-X
|
private Function |
simplify(Multiplication multiplication,
Function function)
Simplification :
Function
Simplification
( X * C1) - X
C2 * X
( C1 * X ) - X
C2 * X
( X * Y ) - Z
( X * Y ) - Z
private Function |
simplify(Multiplication multiplication1,
Multiplication multiplication2)
Simplification :
Function
Simplification
(C1 * X ) - ( C2 * X )
C3 * X
(C1 * X ) - ( X * C2 )
C3 * X
( X * C1 ) - ( C2 * X )
C3 * X
( X * C1 ) - ( X * C2 )
C3 * X
(C1 * X ) - X
C2 * X
( X * C1 ) - X
C2 * X
X - (C1 * X )
C2 * X
X - ( X * C1 )
C2 * X
( cos(X) * cos(Y) ) - ( sin(X) * sin(Y) )
cos(X + Y)
( cos(X) * sin(Y) ) - ( sin(X) * cos(Y) )
sin(X - Y)
( sin(Y) * cos(X) ) - ( sin(X) * cos(Y) )
sin(X - Y)
( cos(X) * sin(Y) ) - ( cos(Y) * sin(X) )
sin(X - Y)
( sin(Y)*cos(X) ) - ( cos(Y) * sin(X) )
sin(X - Y)
( sin(X) * sin(Y) ) - ( cos(X) * cos(Y) )
-cos(X + Y)
(X1 * ...
private Function |
simplify(Subtraction subtraction,
Function function)
Simplification : (X-Y)-Z -> (X-Z)-Y
|
private Function |
simplify(Subtraction subtraction1,
Subtraction subtraction2)
Simplification : (X-Y)-(Z-A) -> (X-Z)+(A-Y)
|
private Function |
simplifyMultipleMultiplication(Function function1,
Function function2)
Simplification : (X1 * ... * Xn * C1 * Y1 * ... * Ym) - (X1 * ... * Xn * C2 * Y1 * ... * Ym) -> C3 * X1 * ... * Xn * Y1
* ... * Ym
|
private Function |
simplifySubtractionOfMultiplications(Constant constant1,
Function function1,
Constant constant2,
Function function2)
Simplification :
Function
Simplification
(C1 * X ) - ( C2 * X )
C3 * X
(C1 * X ) - ( C2 * Y )
(C1 * X ) - ( C2 * Y )
private Function |
simplifySubtractionOfMultiplications(Constant constant1,
Function function1,
Function function2,
Constant constant2)
Simplification :
Function
Simplification
(C1 * X ) - ( X * C2 )
C3 * X
(C1 * X ) - ( Y * C2 )
(C1 * X ) - ( C2 * Y )
private Function |
simplifySubtractionOfMultiplications(Cosinus cosinus1,
Cosinus cosinus2,
Sinus sinus1,
Sinus sinus2)
(cos(f1)*cos(f2))-(sin(f1)*sin(f2)) => cos(f1+f2)
|
private Function |
simplifySubtractionOfMultiplications(Cosinus cosinus1,
Sinus sinus1,
Cosinus cosinus2,
Sinus sinus2)
((cos(f1)*sin(f2))-(cos(f2)*sin(f1)) => sin(f1-f2)
|
private Function |
simplifySubtractionOfMultiplications(Cosinus cosinus1,
Sinus sinus1,
Sinus sinus2,
Cosinus cosinus2)
((cos(f1)*sin(f2))-(sin(f1)*cos(f2)) => sin(f1-f2)
|
private Function |
simplifySubtractionOfMultiplications(Function function1,
Constant constant1,
Constant constant2,
Function function2)
Simplification :
Function
Simplification
(X * C1 ) - (C2 * X )
C3 * X
(X * C1 ) - (C2 * Y )
(C1 * X ) - ( C2 * Y )
private Function |
simplifySubtractionOfMultiplications(Function function1,
Constant constant1,
Function function2,
Constant constant2)
Simplification :
Function
Simplification
(X * C1 ) - ( X * C2 )
C3 * X
(X * C1 ) - ( Y * C2 )
(C1 * X ) - ( C2 * Y )
private Function |
simplifySubtractionOfMultiplications(Function function1,
Function function2,
Function function3,
Function function4)
(f1*f2)-(f3*f4) => (f1*f2)-(f3*f4)
|
private Function |
simplifySubtractionOfMultiplications(Sinus sinus1,
Cosinus cosinus1,
Cosinus cosinus2,
Sinus sinus2)
(sin(f1)*cos(f2))-(cos(f1)*sin(f2)) => sin(f1-f2)
|
private Function |
simplifySubtractionOfMultiplications(Sinus sinus1,
Cosinus cosinus1,
Sinus sinus2,
Cosinus cosinus2)
(sin(f1)*cos(f2))-(sin(f2)*cos(f1)) => sin(f1-f2)
|
private Function |
simplifySubtractionOfMultiplications(Sinus sinus1,
Sinus sinus2,
Cosinus cosinus1,
Cosinus cosinus2)
(sin(f1)*sin(f2))-(cos(f1)*cos(f2)) => -cos(f1+f2)
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
simplify
private Function simplify(Function function,
Subtraction subtraction)
Simplification : X-(Y-Z) -> X+(Z-Y)
- Parameters:
function - Function argument Xsubtraction - Subtraction argument Y-Z
- Returns:
- Simplification
-
simplify
private Function simplify(Logarithm logarithm1,
Logarithm logarithm2)
Simplification : ln(X)-ln(Y) -> ln(X/Y)
- Parameters:
logarithm1 - Logarithm argument ln(X)logarithm2 - Logarithm argument ln(Y)
- Returns:
- Simplification
-
simplify
private Function simplify(MinusUnary minusUnary,
Function function)
Simplification : (-X)-Y -> -(X+Y)
- Parameters:
minusUnary - Minus unary argument -Xfunction - Function argument Y
- Returns:
- Simplification
-
simplify
private Function simplify(MinusUnary minusUnary1,
MinusUnary minusUnary2)
Simplification : (-X)-(-Y) -> Y-X
- Parameters:
minusUnary1 - Minus unary argument -XminusUnary2 - Minus unary argument -Y
- Returns:
- Simplification
-
simplify
private Function simplify(Subtraction subtraction,
Function function)
Simplification : (X-Y)-Z -> (X-Z)-Y
- Parameters:
subtraction - Subtraction argument X-Yfunction - Function argument Z
- Returns:
- Simplification
-
simplify
private Function simplify(Subtraction subtraction1,
Subtraction subtraction2)
Simplification : (X-Y)-(Z-A) -> (X-Z)+(A-Y)
- Parameters:
subtraction1 - Subtraction argument X-Ysubtraction2 - Subtraction argument Z-A
- Returns:
- Simplification
-
simplifyMultipleMultiplication
private Function simplifyMultipleMultiplication(Function function1,
Function function2)
Simplification : (X1 * ... * Xn * C1 * Y1 * ... * Ym) - (X1 * ... * Xn * C2 * Y1 * ... * Ym) -> C3 * X1 * ... * Xn * Y1
* ... * Ym
- Parameters:
function1 - First function argumentfunction2 - Second function argument
- Returns:
- Simplification or
null if arguments not match to the simplification
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Constant constant1,
Function function1,
Constant constant2,
Function function2)
Simplification :
Function
|
Simplification
|
(C1 * X ) - ( C2 * X )
|
C3 * X
|
(C1 * X ) - ( C2 * Y )
|
(C1 * X ) - ( C2 * Y )
|
- Parameters:
constant1 - Constant argument C1function1 - Function argument Xconstant2 - Constant argument C2function2 - Function argument X or Y
- Returns:
- Simplification
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Constant constant1,
Function function1,
Function function2,
Constant constant2)
Simplification :
Function
|
Simplification
|
(C1 * X ) - ( X * C2 )
|
C3 * X
|
(C1 * X ) - ( Y * C2 )
|
(C1 * X ) - ( C2 * Y )
|
- Parameters:
constant1 - Constant argument C1function1 - Function argument Xfunction2 - Function argument X or Yconstant2 - Constant argument C2
- Returns:
- Simplification
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Cosinus cosinus1,
Cosinus cosinus2,
Sinus sinus1,
Sinus sinus2)
(cos(f1)*cos(f2))-(sin(f1)*sin(f2)) => cos(f1+f2)
- Parameters:
cosinus1 - cos(f1)cosinus2 - cos(f2)sinus1 - sin(f1)sinus2 - sin(f2)
- Returns:
- cos(f1+f2)
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Cosinus cosinus1,
Sinus sinus1,
Cosinus cosinus2,
Sinus sinus2)
((cos(f1)*sin(f2))-(cos(f2)*sin(f1)) => sin(f1-f2)
- Parameters:
cosinus1 - cos(f1)sinus1 - sin(f2)cosinus2 - cos(f2)sinus2 - sin(f1)
- Returns:
- sin(f1-f2)
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Cosinus cosinus1,
Sinus sinus1,
Sinus sinus2,
Cosinus cosinus2)
((cos(f1)*sin(f2))-(sin(f1)*cos(f2)) => sin(f1-f2)
- Parameters:
cosinus1 - cos(f1)sinus1 - sin(f2)sinus2 - sin(f1)cosinus2 - cos(f2)
- Returns:
- sin(f1-f2)
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Function function1,
Constant constant1,
Constant constant2,
Function function2)
Simplification :
Function
|
Simplification
|
(X * C1 ) - (C2 * X )
|
C3 * X
|
(X * C1 ) - (C2 * Y )
|
(C1 * X ) - ( C2 * Y )
|
- Parameters:
function1 - Function argument Xconstant1 - Constant argument C1constant2 - Constant argument C2function2 - Function argument X or Y
- Returns:
- Simplification
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Function function1,
Constant constant1,
Function function2,
Constant constant2)
Simplification :
Function
|
Simplification
|
(X * C1 ) - ( X * C2 )
|
C3 * X
|
(X * C1 ) - ( Y * C2 )
|
(C1 * X ) - ( C2 * Y )
|
- Parameters:
function1 - Function argument Xconstant1 - Constant argument C1function2 - Function argument X or Yconstant2 - Constant argument C2
- Returns:
- Simplification
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Function function1,
Function function2,
Function function3,
Function function4)
(f1*f2)-(f3*f4) => (f1*f2)-(f3*f4)
- Parameters:
function1 - f1function2 - f2function3 - f3function4 - f4
- Returns:
- (f1*f2)-(f3*f4)
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Sinus sinus1,
Cosinus cosinus1,
Cosinus cosinus2,
Sinus sinus2)
(sin(f1)*cos(f2))-(cos(f1)*sin(f2)) => sin(f1-f2)
- Parameters:
sinus1 - sin(f1)cosinus1 - cos(f2)cosinus2 - cos(f1)sinus2 - sin(f2)
- Returns:
- sin(f1-f2)
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Sinus sinus1,
Cosinus cosinus1,
Sinus sinus2,
Cosinus cosinus2)
(sin(f1)*cos(f2))-(sin(f2)*cos(f1)) => sin(f1-f2)
- Parameters:
sinus1 - sin(f1)cosinus1 - cos(f2)sinus2 - sin(f2)cosinus2 - cos(f1)
- Returns:
- sin(f1-f2)
-
simplifySubtractionOfMultiplications
private Function simplifySubtractionOfMultiplications(Sinus sinus1,
Sinus sinus2,
Cosinus cosinus1,
Cosinus cosinus2)
(sin(f1)*sin(f2))-(cos(f1)*cos(f2)) => -cos(f1+f2)
- Parameters:
sinus1 - sin(f1)sinus2 - sin(f2)cosinus1 - cos(f1)cosinus2 - cos(f2)
- Returns:
- -cos(f1+f2)
| | | | | | | | |