numpy.polynomial.legendre.Legendre.identity#

method

classmethod polynomial.legendre.Legendre.identity(domain=None, window=None, symbol='x')[源代码]#

恒等函数.

如果 p 是返回的级数,则对于 x 的所有值,都有 p(x) == x .

参数:
domain{None, 类数组}, 可选

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

window{None, 类数组}, 可选

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

symbolstr, optional

表示自变量的符号.默认为 ‘x’.

返回:
new_seriesseries

表示恒等式的级数.