1

在 SciPy 的插值模块中有一个名为interp1d的函数。文档说它是样条插值:http ://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp1d.html但是我无法找到端点上的边界条件。例如,在三次样条的情况下,应该指定端点处的导数(或二阶导数)。interp1d 使用的值是什么?

4

1 回答 1

1

CubicSpline,这是 scipy 0.18 中的新功能,允许用户控制边界条件。FITPACK 和 interp1d 都没有。

于 2016-08-19T10:25:08.183 回答