ShapeFunction
class ShapeFunction(val functions: SortedMap<Double, UnivariateFunction>, val extrapolateX: Boolean = false, val extrapolateY: Boolean = false) : BivariateFunction
The bivariate shape function is defined by a list of functions that are parallel to the y axis and placed at different positions on the x axis.
Parameters
functions
univariate functions parallel to the y axis, whereas the key denotes the location on the x axis
extrapolateX
if true, the last (or first) function is used when exceeding (or falling below)
extrapolateY
if true, the last (or first) value is used, which is still within the domain of the respective function
Constructors
Link copied to clipboard
constructor(functions: SortedMap<Double, UnivariateFunction>, extrapolateX: Boolean = false, extrapolateY: Boolean = false)