numpy.polynomial.legendre.Legendre.identity#

方法

类方法 polynomial.legendre.Legendre.identity(domain=None, window=None, symbol='x')[source]#

恒等函数。

如果 p 是返回的级数,那么对于所有 x 值,p(x) == x

参数:
domain{None, array_like},可选

如果给定,数组必须是 [beg, end] 形式,其中 begend 是域的端点。如果给定 None,则使用类域。默认值为 None。

window{None, array_like},可选

如果给定,结果数组必须是 [beg, end] 形式,其中 begend 是窗口的端点。如果给定 None,则使用类窗口。默认值为 None。

symbolstr,可选

表示自变量的符号。默认值为 'x'。

返回:
new_series级数

表示恒等式的级数。