abstract class IntegersBinaryMathFunction: BinaryMathFunction
Constructors
<init>
constructor(name: String)
Base class to implement math functions accepting only integers
Parameters
Name | Description |
---|---|
name: String
|
the function name |
Methods
mathFunction
protected open fun mathFunction(real: Real, integer: Integer, context: ExecutionContext): Numeric
Parameters
Name | Description |
---|---|
real: Real
|
|
integer: Integer
|
|
context: ExecutionContext
|
ReturnValue
Name | Description |
---|---|
Numeric
|
mathFunction
protected open fun mathFunction(integer: Integer, real: Real, context: ExecutionContext): Numeric
Parameters
Name | Description |
---|---|
integer: Integer
|
|
real: Real
|
|
context: ExecutionContext
|
ReturnValue
Name | Description |
---|---|
Numeric
|
mathFunction
protected open fun mathFunction(real1: Real, real2: Real, context: ExecutionContext): Numeric
The actual math function implementation, for Reals
Parameters
Name | Description |
---|---|
real1: Real
|
|
real2: Real
|
|
context: ExecutionContext
|
ReturnValue
Name | Description |
---|---|
Numeric
|
Base class to implement math functions accepting only integers