public abstract class UnaryOperator extends Function
Function.DefaultSimplifier| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
operator
Operator symbol
|
private static java.lang.String[] |
OPERATORS
Symbols of unary operators
|
protected Function |
parameter
Operator parameter
|
COMPARATOR, references| Constructor and Description |
|---|
UnaryOperator(java.lang.String operator,
Function parameter)
Constructs the operator
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
compareToInternal(Function function)
Internal comparison
Parent documentation: Internal comparison |
Function |
getParameter()
The parameter
|
boolean |
isRealValueNumber()
Indicates if function can see as real number, that is to say that the value of
obtainRealValueNumber() as as
meaning |
double |
obtainRealValueNumber()
Real value of function, if the function can be represents by a real number.
|
protected static UnaryOperator |
parserOperateurUnaire(java.lang.String string)
Try to parse a string to a unary operator.
|
java.lang.String |
toString()
String that represents the function
|
VariableList |
variableList()
Variable list contains in this function
|
allEquals, compareTo, createAddition, createMultiplication, derive, derive, derive, derive, equals, functionIsEquals, functionIsEqualsMoreSimple, getArgument, getCopy, obtainFunctionSimplifier, parse, realString, replace, replace, replace, replace, setConstantsReferences, simplify, simplifyMaximum, simplifyMaximum, totalDeriveprivate static final java.lang.String[] OPERATORS
private final java.lang.String operator
protected final Function parameter
public UnaryOperator(java.lang.String operator,
Function parameter)
operator - Operator symbolparameter - Parameterprotected static UnaryOperator parserOperateurUnaire(java.lang.String string)
null is returnstring - String to parsenullprotected int compareToInternal(Function function)
compareToInternal in class Functionfunction - Function sure be the instance of the functionFunction.compareToInternal(jhelp.util.math.formal.Function)public Function getParameter()
public boolean isRealValueNumber()
obtainRealValueNumber() as as
meaningisRealValueNumber in class Functiontrue if the function can see as real numberFunction.isRealValueNumber()public double obtainRealValueNumber()
Double.NaN is returnobtainRealValueNumber in class FunctionDouble.NaN if not defineFunction.obtainRealValueNumber()public java.lang.String toString()
toString in class FunctionFunction.toString()public VariableList variableList()
variableList in class FunctionFunction.variableList()