Numeric.Interpolation.Piecewise
interpolate
interpolateConstantExt