如何从包括边界条件的 scipy.interpolate.Bspline.basis_element 合并边界条件和构造基函数?

问题描述

构建与 splrep 一致的基础元素的正确方法是什么?

例如考虑

import numpy as np
import scipy.interpolate as interpolate
x = np.linspace(0,1,11)
y = np.sin(x) + np.random.randn(11)
t = np.linspace(0.1,0.9,5)
f = interpolate.LSQUnivariateSpline(x,y,t)

假设您想要 $f''(0)=f''(1)=0$。

如何使用 scipy 将边界条件合并到元素中?即使您不想使用 scipy 来求解系统,降低边界节点自由度的典型方法是什么?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)