class Division.DivisionSimplifier extends java.lang.Object implements FunctionSimplifier
Constructor and Description |
---|
Division.DivisionSimplifier() |
Modifier and Type | Method and Description |
---|---|
Function |
simplify()
Simplify the division
Parent documentation: Call when simplify the function |
private Function |
simplify(Constant constant1,
Constant constant2)
Simplify C1/C2 -> C3
|
private Function |
simplify(Constant constant,
Function function)
Simplify C/f
|
private Function |
simplify(Constant constant,
Multiplication multiplication)
Simplify
C1/(C2*f) -> C3/f
C1/(f*C2) -> C3/f
C1/(f1*f2)
|
private Function |
simplify(Cosinus cosinus,
Sinus sinus)
Simplify cos(f)/sin(f) -> 1/tan(f)
|
private Function |
simplify(Division division1,
Division division2)
Simplify (f1/f2)/(f3/f4) -> (f1*f4)/(f2*f3)
|
private Function |
simplify(Division division,
Function function)
Simplify (f1/f2)/f3 -> f1/(f2*f3)
|
private Function |
simplify(Exponential exponential1,
Exponential exponential2)
Simplify ef1/ef2 -> ef1-f2
|
private Function |
simplify(Function function,
Constant constant)
Simplify f/C1 -> C2*f
|
private Function |
simplify(Function function,
Division division)
f1/(f2/f3) -> (f1*f3)/f2
|
private Function |
simplify(Function numerator,
Function denominator)
Simplify f1/f2
|
private Function |
simplify(Function function,
MinusUnary minusUnary)
f1/(-f2) -> -(f1/f2)
|
private Function |
simplify(MinusUnary minusUnary,
Function function)
(-f1)/f2 -> -(f1/f2)
|
private Function |
simplify(MinusUnary minusUnaryNumerator,
MinusUnary minusUnaryDenominator)
(-f1)/-(f2) -> f1/f2
|
private Function |
simplify(Multiplication multiplication,
Constant constant)
(f1*f2)/C1 -> C2*f1*f2
|
private Function |
simplify(Sinus sinus,
Cosinus cosinus)
sin(f)/cos(f) -> tan(f)
|
private Function |
simplifyDivisionOfConstantMultiplication(Constant constant,
Constant parameterConstant,
Function parameter)
C1/(C2*f) -> C3/f
|
private Function |
simplifyDivisionOfConstantMultiplication(Constant constant,
Function parameter,
Constant parameterConstant)
C1/(f*C2) -> C3/f
|
private Function |
simplifyDivisionOfConstantMultiplication(Constant constant,
Function parameter1,
Function parameter2)
Simplify C/(f1*f2)
|
private Function |
simplifyDivisionOfMultiplicationConstant(Constant parameterConstant,
Function parameter,
Constant constant)
(C1*f)/C2 -> C3*f
|
private Function |
simplifyDivisionOfMultiplicationConstant(Function parameter,
Constant parameterConstant,
Constant constant)
(f*C1)/C2 -> C3*f
|
private Function |
simplifyDivisionOfMultiplicationConstant(Function parameter1,
Function parameter2,
Constant constant)
Simplify (f1*f2)/C
|
private Function simplify(Constant constant1, Constant constant2)
constant1
- Constant C1constant2
- Constant C2private Function simplify(Constant constant, Function function)
constant
- Constant Cfunction
- Function fprivate Function simplify(Constant constant, Multiplication multiplication)
constant
- Constant C1multiplication
- Multiplication (C2*f, f*C2 or f1*f2)private Function simplify(Cosinus cosinus, Sinus sinus)
cosinus
- Cosinus functionsinus
- Sinus functionprivate Function simplify(Division division1, Division division2)
division1
- First division f1/f2division2
- Second division f3/f4private Function simplify(Division division, Function function)
division
- Division f1/f2function
- Function f3private Function simplify(Exponential exponential1, Exponential exponential2)
exponential1
- First exponential ef1exponential2
- Second exponential ef2private Function simplify(Function function, Constant constant)
function
- Function fconstant
- Constant C1private Function simplify(Function function, Division division)
function
- f1division
- f2/f3private Function simplify(Function numerator, Function denominator)
numerator
- f1denominator
- f2private Function simplify(Function function, MinusUnary minusUnary)
function
- f1minusUnary
- -f2private Function simplify(MinusUnary minusUnary, Function function)
minusUnary
- -f1function
- f2private Function simplify(MinusUnary minusUnaryNumerator, MinusUnary minusUnaryDenominator)
minusUnaryNumerator
- -f1minusUnaryDenominator
- -f2private Function simplify(Multiplication multiplication, Constant constant)
multiplication
- f1*f2constant
- C1private Function simplify(Sinus sinus, Cosinus cosinus)
sinus
- sin(f)cosinus
- cos(f)private Function simplifyDivisionOfConstantMultiplication(Constant constant, Constant parameterConstant, Function parameter)
constant
- C1parameterConstant
- C2parameter
- fprivate Function simplifyDivisionOfConstantMultiplication(Constant constant, Function parameter, Constant parameterConstant)
constant
- C1parameter
- fparameterConstant
- C2private Function simplifyDivisionOfConstantMultiplication(Constant constant, Function parameter1, Function parameter2)
constant
- Cparameter1
- f1parameter2
- f2private Function simplifyDivisionOfMultiplicationConstant(Constant parameterConstant, Function parameter, Constant constant)
parameterConstant
- C1parameter
- fconstant
- C2private Function simplifyDivisionOfMultiplicationConstant(Function parameter, Constant parameterConstant, Constant constant)
parameter
- fparameterConstant
- C1constant
- C2private Function simplifyDivisionOfMultiplicationConstant(Function parameter1, Function parameter2, Constant constant)
parameter1
- f1parameter2
- f2constant
- Cpublic Function simplify()
simplify
in interface FunctionSimplifier
FunctionSimplifier.simplify()