Enum CArExpression.Operator
- java.lang.Object
-
- java.lang.Enum<CArExpression.Operator>
-
- org.chocosolver.solver.expression.continuous.arithmetic.CArExpression.Operator
-
- All Implemented Interfaces:
Serializable,Comparable<CArExpression.Operator>
- Enclosing interface:
- CArExpression
public static enum CArExpression.Operator extends Enum<CArExpression.Operator>
List of available operator for arithmetic expression
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSabsolute operatorACOSinverse cosine operatorACOSHinverse hyperbolic cosine operatorADDaddition operatorASINinverse sine operatorASINHinverse hyperbolic sine operatorATANinverse tangent operatorATAN2atan2 operatorATANHinverse hyperbolic tangent operatorCOScosine operatorCOSHhyperbolic cosine operatorDIVdivision operatorEXPexponential operatorLNneperian operatorMAXmax operatorMINmin operatorMULmultiplication operatorNEGnegation operatorPOWpower operatorSINsine operatorSINHhyperbolic sine operatorSQRTsquare root operatorSUBsubtraction operatorTANtangent operatorTANHhyperbolic tangent operator
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CArExpression.OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static CArExpression.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEG
public static final CArExpression.Operator NEG
negation operator
-
ABS
public static final CArExpression.Operator ABS
absolute operator
-
ADD
public static final CArExpression.Operator ADD
addition operator
-
SUB
public static final CArExpression.Operator SUB
subtraction operator
-
MUL
public static final CArExpression.Operator MUL
multiplication operator
-
DIV
public static final CArExpression.Operator DIV
division operator
-
POW
public static final CArExpression.Operator POW
power operator
-
MIN
public static final CArExpression.Operator MIN
min operator
-
MAX
public static final CArExpression.Operator MAX
max operator
-
ATAN2
public static final CArExpression.Operator ATAN2
atan2 operator
-
EXP
public static final CArExpression.Operator EXP
exponential operator
-
LN
public static final CArExpression.Operator LN
neperian operator
-
SQRT
public static final CArExpression.Operator SQRT
square root operator
-
COS
public static final CArExpression.Operator COS
cosine operator
-
SIN
public static final CArExpression.Operator SIN
sine operator
-
TAN
public static final CArExpression.Operator TAN
tangent operator
-
ACOS
public static final CArExpression.Operator ACOS
inverse cosine operator
-
ASIN
public static final CArExpression.Operator ASIN
inverse sine operator
-
ATAN
public static final CArExpression.Operator ATAN
inverse tangent operator
-
COSH
public static final CArExpression.Operator COSH
hyperbolic cosine operator
-
SINH
public static final CArExpression.Operator SINH
hyperbolic sine operator
-
TANH
public static final CArExpression.Operator TANH
hyperbolic tangent operator
-
ACOSH
public static final CArExpression.Operator ACOSH
inverse hyperbolic cosine operator
-
ASINH
public static final CArExpression.Operator ASINH
inverse hyperbolic sine operator
-
ATANH
public static final CArExpression.Operator ATANH
inverse hyperbolic tangent operator
-
-
Method Detail
-
values
public static CArExpression.Operator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CArExpression.Operator c : CArExpression.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CArExpression.Operator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-