Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/s/c/scikits.statsmodels-0.3.1/scikits/statsmodels/miscmodels/try_mlecov.py   scikits.statsmodels(Download)
    if insideroots.any():
        pr[np.abs(pr)<1] = 1./pr[np.abs(pr)<1]
        pnew = poly.Polynomial.fromroots(pr)
        mainv = pn.coef/pnew.coef[0]
        wasinvertible = False

src/s/t/statsmodels-0.5.0/statsmodels/miscmodels/try_mlecov.py   statsmodels(Download)
    if insideroots.any():
        pr[np.abs(pr)<1] = 1./pr[np.abs(pr)<1]
        pnew = poly.Polynomial.fromroots(pr)
        mainv = pn.coef/pnew.coef[0]
        wasinvertible = False

src/s/t/statsmodels-HEAD/statsmodels/miscmodels/try_mlecov.py   statsmodels(Download)
    if insideroots.any():
        pr[np.abs(pr)<1] = 1./pr[np.abs(pr)<1]
        pnew = poly.Polynomial.fromroots(pr)
        mainv = pn.coef/pnew.coef[0]
        wasinvertible = False

src/k/r/krypy-2.1.1/krypy/utils.py   krypy(Download)
        '''
        from numpy.polynomial import Polynomial as P
        p = P.fromroots(self.roots)
        return p.deriv(1).roots()
 

src/k/r/krypy-HEAD/krypy/utils.py   krypy(Download)
        '''
        from numpy.polynomial import Polynomial as P
        p = P.fromroots(self.roots)
        return p.deriv(1).roots()