cupyx.scipy.interpolate.pchip_interpolate#
- cupyx.scipy.interpolate.pchip_interpolate(xi, yi, x, der=0, axis=0)[source]#
pchip 插值的便捷函数。
xi 和 yi 是用于近似函数 f 的值数组,其中
yi = f(xi)
。插值函数使用单调三次样条曲线来查找新点 x 的值及其导数。详情请参见 scipy.interpolate.PchipInterpolator 。- 参数:
另请参阅
PchipInterpolator
PCHIP 1-D 单调三次插值器。
- 返回值:
y – 结果,长度为 R 或长度为 M 或 M x R。
- 返回类型:
标量或 array_like