pydsm.delsig.evalRPoly

pydsm.delsig.evalRPoly(roots, x, k=1)

Compute the value of a polynomial that is given in terms of its roots. Roots at infinity are removed before the computation.

Parameters:

roots : array_like

roots of polynomial

x : complex or array_like of complex

complex value or vector of complex values where tf is to be evaluated

k -> real, optional

gain, defaults to 1.

Returns:

y : ndarray

value of polynomial at the given complex values.