| Package | Description |
|---|---|
| parsii.eval |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryFunction
Represents a binary function.
|
class |
UnaryFunction
Represents an unary function.
|
| Modifier and Type | Field and Description |
|---|---|
static Function |
Functions.ABS
Provides access to
Math.abs(double) |
static Function |
Functions.ACOS
Provides access to
Math.acos(double) |
static Function |
Functions.ASIN
Provides access to
Math.asin(double) |
static Function |
Functions.ATAN
Provides access to
Math.atan(double) |
static Function |
Functions.ATAN2
Provides access to
Math.atan2(double, double) |
static Function |
Functions.CEIL
Provides access to
Math.ceil(double) |
static Function |
Functions.COS
Provides access to
Math.cos(double) |
static Function |
Functions.COSH
Provides access to
Math.cosh(double) |
static Function |
Functions.DEG
Provides access to
Math.toDegrees(double) |
static Function |
Functions.EXP
Provides access to
Math.exp(double) |
static Function |
Functions.FLOOR
Provides access to
Math.floor(double) |
static Function |
Functions.IF
Provides an if-like function
It expects three arguments: A condition, an expression being evaluated if the condition is non zero and an
expression which is being evaluated if the condition is zero.
|
static Function |
Functions.LN
Provides access to
Math.log(double) |
static Function |
Functions.LOG
Provides access to
Math.log10(double) |
static Function |
Functions.MAX
Provides access to
Math.max(double, double) |
static Function |
Functions.MIN
Provides access to
Math.min(double, double) |
static Function |
Functions.POW
Provides access to
Math.pow(double, double) |
static Function |
Functions.RAD
Provides access to
Math.toRadians(double) |
static Function |
Functions.RND
Provides access to
Math.random() which will be multiplied by the given argument. |
static Function |
Functions.ROUND
Provides access to
Math.round(double) |
static Function |
Functions.SIGN
Provides access to
Math.signum(double) |
static Function |
Functions.SIN
Provides access to
Math.sin(double) |
static Function |
Functions.SINH
Provides access to
Math.sinh(double) |
static Function |
Functions.SQRT
Provides access to
Math.sqrt(double) |
static Function |
Functions.TAN
Provides access to
Math.tan(double) |
static Function |
Functions.TANH
Provides access to
Math.tanh(double) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Parser.registerFunction(String name,
Function function)
Registers a new function which can be referenced from within an expression.
|
void |
FunctionCall.setFunction(Function function)
Sets the function to evaluate.
|
Copyright © 2018. All rights reserved.