ofSum

fun ofSum(memberFunctions: List<UnivariateFunction>, defaultValue: Double = Double.NaN): StackedFunction
fun ofSum(vararg memberFunctions: UnivariateFunction, defaultValue: Double = Double.NaN): StackedFunction

Creates a StackedFunction which serves sum of each memberFunctions.

Parameters

memberFunctions

member functions to be summed

defaultValue

used value if one of the memberFunctions is not defined at the requested parameter