Package net.objecthunter.exp4j.function
Class Functions
java.lang.Object
net.objecthunter.exp4j.function.Functions
Class representing the builtin functions available for use in expressions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function
Wrapper forMath.abs(double)
.static final Function
Wrapper forMath.acos(double)
.static final Function
Wrapper forMath.asin(double)
.static final Function
Wrapper forMath.atan(double)
.static final Function
Wrapper forMath.cbrt(double)
.static final Function
Wrapper forMath.ceil(double)
.static final Function
Wrapper forMath.cos(double)
.static final Function
Wrapper forMath.cosh(double)
.static final Function
Wrapper forMath.E
.static final Function
Wrapper forMath.exp(double)
.static final Function
Wrapper forMath.expm1(double)
.static final Function
Wrapper forMath.floor(double)
.static final Function
Wrapper forMath.log(double)
.static final Function
Wrapper forMath.log10(double)
.static final Function
Wrapper forMath.log1p(double)
.static final Function
Base 2 Logarithmstatic final Function
Wrapper forMath.PI
.static final Function
Wrapper forMath.pow(double, double)
.static final Function
Wrapper forMath.signum(double)
.static final Function
Wrapper forMath.sin(double)
.static final Function
Wrapper forMath.sinh(double)
.static final Function
Wrapper forMath.sqrt(double)
.static final Function
Wrapper forMath.tan(double)
.static final Function
Wrapper forMath.tanh(double)
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Function
getBuiltinFunction
(String name) Get the builtin function for a given name.static Function[]
Array with all the available functions
-
Field Details
-
SIN
Wrapper forMath.sin(double)
. -
COS
Wrapper forMath.cos(double)
. -
TAN
Wrapper forMath.tan(double)
. -
LOG
Wrapper forMath.log(double)
. -
LOG1P
Wrapper forMath.log1p(double)
. -
LOG10
Wrapper forMath.log10(double)
. -
LOG2
Base 2 Logarithm -
ABS
Wrapper forMath.abs(double)
. -
ACOS
Wrapper forMath.acos(double)
. -
ASIN
Wrapper forMath.asin(double)
. -
ATAN
Wrapper forMath.atan(double)
. -
CBRT
Wrapper forMath.cbrt(double)
. -
CEIL
Wrapper forMath.ceil(double)
. -
FLOOR
Wrapper forMath.floor(double)
. -
SINH
Wrapper forMath.sinh(double)
. -
SQRT
Wrapper forMath.sqrt(double)
. -
TANH
Wrapper forMath.tanh(double)
. -
COSH
Wrapper forMath.cosh(double)
. -
POW
Wrapper forMath.pow(double, double)
. -
EXP
Wrapper forMath.exp(double)
. -
EXPM1
Wrapper forMath.expm1(double)
. -
SGN
Wrapper forMath.signum(double)
. -
PI
Wrapper forMath.PI
. -
E
Wrapper forMath.E
.
-
-
Method Details
-
getFunctions
Array with all the available functions -
getBuiltinFunction
Get the builtin function for a given name.
-