skzeros.poles_residues¶
- skzeros.poles_residues(z, f, w, residue=False)¶
Compute the poles and residues of the rational function in barycentric form.
- Parameters:
z (1D array) – Support points of the rational function.
f (1D array) – Values of the rational function at the support points.
w (1D array) – Barycentric weights of the rational function.
residue (bool, optional) – Whether to return the residue of the computed poles, by default False
- Returns:
poles (1D array) – Poles of the rational function.
residues (1D array, optional) – Residues of the poles, if residue is True.