Backward-flat interpolation between discrete points
the $ x $ values must be sorted.
tells whether extrapolation is enabled
disable extrapolation in subsequent calls
enable extrapolation in subsequent calls
Backward-flat interpolation between discrete points