StackedFunction
class StackedFunction(memberFunctions: List<UnivariateFunction>, operation: (operands: List<Double>) -> Double, defaultValue: Double = Double.NaN) : UnivariateFunction
Stacks multiple functions and outputs the value according to the defined operation.
Parameters
memberFunctions
functions to be stacked together
operation
operation which combines the values of each member function
defaultValue
the default value, if one of the member functions is not defined at the requested parameter
Constructors
Link copied to clipboard
fun StackedFunction(memberFunction: UnivariateFunction, operation: (operands: List<Double>) -> Double, defaultValue: Double = Double.NaN)
Link copied to clipboard
fun StackedFunction(memberFunctions: List<UnivariateFunction>, operation: (operands: List<Double>) -> Double, defaultValue: Double = Double.NaN)
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard