public class Subtraction extends BinaryOperator
Modifier and Type | Class and Description |
---|---|
(package private) class |
Subtraction.SubtractionSimplifier
Subtraction simplifier
|
Function.DefaultSimplifier
Modifier and Type | Field and Description |
---|---|
private Subtraction.SubtractionSimplifier |
subtractionSimplifier
Simplifier linked
|
parameter1, parameter2
COMPARATOR, references
Constructor and Description |
---|
Subtraction(Function parameter1,
Function parameter2)
Constructs the Subtraction
|
Modifier and Type | Method and Description |
---|---|
Function |
derive(Variable variable)
Derive the function
|
boolean |
functionIsEquals(Function function)
Indicates if a function is equals to this function
|
protected boolean |
functionIsEqualsMoreSimple(Function function)
Quickly compare with an other function
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()
Simplifier attach to this subtraction
Parent documentation: Obtain the simplifier of the function. |
Function |
replace(Variable variable,
Function function)
Replace variable 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 Subtraction.SubtractionSimplifier subtractionSimplifier
protected boolean functionIsEqualsMoreSimple(Function function)
Function.functionIsEquals(Function)
its use
internally for Function.simplifyMaximum()
functionIsEqualsMoreSimple
in class Function
function
- Function to compare withtrue
if equals, false
not sure about equalityFunction.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
Function.obtainFunctionSimplifier()
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)