{ } Raw JSON

bundles / scipy 1.18.0 / scipy / interpolate / _interpolate / interp1d / _call_previousnext

function

scipy.interpolate._interpolate:interp1d._call_previousnext

source: /scipy/interpolate/_interpolate.py:537

Signature

def _call_previousnext(self, x_new)

Summary

Use previous/next neighbor of x_new, y_new = f(x_new).

Aliases

  • scipy.interpolate.interp1d._call_previousnext