StackedFunction

constructor(memberFunction: UnivariateFunction, operation: (operands: List<Double>) -> Double, defaultValue: Double = Double.NaN)


constructor(memberFunctions: List<UnivariateFunction>, operation: (operands: List<Double>) -> Double, defaultValue: Double = Double.NaN)

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