Return the roots of the series polynomial. Compute the roots for the series. Note that the accuracy of the roots decreases the further outside the `domain` they lie. Returns ------- roots : ndarray Array containing the roots of the series.
(self)
| 906 | return self.__class__(coef, self.domain, self.window, self.symbol) |
| 907 | |
| 908 | def roots(self): |
| 909 | """Return the roots of the series polynomial. |
| 910 | |
| 911 | Compute the roots for the series. Note that the accuracy of the |
| 912 | roots decreases the further outside the `domain` they lie. |
| 913 | |
| 914 | Returns |
| 915 | ------- |
| 916 | roots : ndarray |
| 917 | Array containing the roots of the series. |
| 918 | |
| 919 | """ |
| 920 | roots = self._roots(self.coef) |
| 921 | return pu.mapdomain(roots, self.window, self.domain) |
| 922 | |
| 923 | def linspace(self, n=100, domain=None): |
| 924 | """Return x, y values at equally spaced points in domain. |