public class Multiplication extends BinaryOperator
Modifier and Type | Class and Description |
---|---|
(package private) class |
Multiplication.MultiplicationSimplifier
Multiplication simplifier
|
Function.DefaultSimplifier
Modifier and Type | Field and Description |
---|---|
private Multiplication.MultiplicationSimplifier |
multiplicationSimplifier
Multiplication simplifier
|
parameter1, parameter2
COMPARATOR, references
Constructor and Description |
---|
Multiplication(Function parameter1,
Function parameter2)
Constructs the multiplication
|
Modifier and Type | Method and Description |
---|---|
(package private) static Function[] |
compressConstant(Function[] array)
Compress constant of multiplication list
|
Function |
derive(Variable variable)
Derive the function
|
(package private) static Function[] |
extractMultiplicationParameters(Multiplication multiplication)
Extract real multiplication parameters
|
(package private) static Function[] |
extractMultiplications(Function function)
Extract all multiplication parameters
|
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()
Multiplication simplifier
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 Multiplication.MultiplicationSimplifier multiplicationSimplifier
static Function[] compressConstant(Function[] array)
array
- Array to compressstatic Function[] extractMultiplicationParameters(Multiplication multiplication)
multiplication
- Multiplication where extractstatic Function[] extractMultiplications(Function function)
function
- Function where extract parametersprotected 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
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)