numpy.polynomial.chebyshev.Chebyshev.interpolate

方法

classmethod polynomial.chebyshev.Chebyshev.interpolate(func, deg, domain=None, args=())[源代码]

在第一类切比雪夫点内插函数。

返回插入的序列 func 在切比雪夫点的第一类缩放和转移到 domain . 结果序列趋向于 func 当函数在域中连续时。

1.14.0 新版功能.

参数
func功能

要插值的函数。它必须是表单中单个变量的函数 f(x, a, b, c...), where a, b, c... 是否在 args 参数。

deg利息

插值多项式的次数。

domain{None, [beg, end]}, optional

在哪个域上 func 是内插的。默认值为“无”,在这种情况下,域为 [-1, 1] .

args可选元组

要在函数调用中使用的额外参数。默认值是没有额外参数。

返回
polynomial切比雪夫实例

插入chebyshev实例。

笔记

numpy.polynomial.chebfromfunction 了解更多详细信息。