InputType
- The type of the input to the scalar function.public interface ScalarFunction<InputType> extends Evaluator<InputType,java.lang.Double>
Modifier and Type | Method and Description |
---|---|
default java.lang.Double |
evaluate(InputType input)
Returns the result of calling
evaluateAsDouble . |
double |
evaluateAsDouble(InputType input)
Evaluates the scalar function as a double.
|
double evaluateAsDouble(InputType input)
input
- The input value.