public class Addition extends BinaryOperator
Modifier and Type | Class and Description |
---|---|
(package private) class |
Addition.AdditionSimplifier
Addition simplifier
|
Function.DefaultSimplifier
Modifier and Type | Field and Description |
---|---|
private Addition.AdditionSimplifier |
additionSimplifier
Simplifier linked to the addition
|
parameter1, parameter2
COMPARATOR, references
Constructor and Description |
---|
Addition(Function parameter1,
Function parameter2)
Constructs the addition
|
Modifier and Type | Method and Description |
---|---|
(package private) static Function[] |
compressConstant(Function[] array)
Compress constant of addition list
|
Function |
derive(Variable variable)
Derive the function
|
(package private) static Function[] |
extractAdditionParameters(Addition addition)
Extract real addition parameters
|
(package private) static Function[] |
extractAdditions(Function function)
Extract addition parameters from function
|
boolean |
functionIsEquals(Function function)
Indicates if a function is equals to this function
|
protected boolean |
functionIsEqualsMoreSimple(Function function)
Indicates if function is equals, the equality test is more simple than
functionIsEquals(Function) its use
internally for Function.simplifyMaximum() Parent documentation: Indicates if function is equals, the equality test is more simple than Function.functionIsEquals(Function) its use
internally for Function.simplifyMaximum() |
Function |
getCopy()
Copy the function
|
FunctionSimplifier |
obtainFunctionSimplifier()
The addition simplifier
|
Function |
replace(Variable variable,
Function function)
Replace variable list by function
|
compareToInternal, getParameter1, getParameter2, isRealValueNumber, obtainRealValueNumber, parseBinaryOperator, toString, variableList
allEquals, compareTo, createAddition, createMultiplication, derive, derive, derive, equals, getArgument, parse, realString, replace, replace, replace, setConstantsReferences, simplify, simplifyMaximum, simplifyMaximum, totalDerive
private Addition.AdditionSimplifier additionSimplifier
static Function[] compressConstant(Function[] array)
array
- Array to compressstatic Function[] extractAdditionParameters(Addition addition)
addition
- Addition where extractstatic Function[] extractAdditions(Function function)
function
- Function where extractprotected boolean functionIsEqualsMoreSimple(Function function)
functionIsEquals(Function)
its use
internally for Function.simplifyMaximum()
Function.functionIsEquals(Function)
its use
internally for Function.simplifyMaximum()
functionIsEqualsMoreSimple
in class Function
function
- Function to compare withtrue
if equalsFunction.functionIsEqualsMoreSimple(jhelp.util.math.formal.Function)
public Function derive(Variable variable)
derive
in class Function
variable
- Variable for deriveFunction.derive(jhelp.util.math.formal.Variable)
public boolean functionIsEquals(Function function)
functionIsEquals
in class Function
function
- Function testedtrue
if there sure equals. false
dosen't mean not equals, but not sure about equalityFunction.functionIsEquals(jhelp.util.math.formal.Function)
public Function getCopy()
getCopy
in class Function
Function.getCopy()
public FunctionSimplifier obtainFunctionSimplifier()
obtainFunctionSimplifier
in class Function
public Function replace(Variable variable, Function function)
replace
in class Function
variable
- Variable to replacefunction
- Function for replaceFunction.replace(jhelp.util.math.formal.Variable, jhelp.util.math.formal.Function)