numpy.polynomial.laguerre.Laguerre.fromroots

Laguerre.fromroots(roots, domain=[], window=None)[source]

返回具有指定根的序列实例。

Returns a series representing the product (x - r[0])*(x - r[1])*...*(x - r[n-1]), where r is a list of roots.

参数:

:array_like

根的列表。

domain:{[],None,array_like},可选

结果系列的域。如果无,则域是从最小根到最大的间隔。如果[]域是类域。默认值为[]。

窗口:{None,array_like},可选

返回系列的窗口。如果为None,则使用类窗口。默认值为None。

返回:

new_series:series

具有指定根的系列。