Search
Search Results
Search finished, found 7 page(s) matching the search query.
- numpy.polynomial.legendre.Legendre.fromroots
...numpy.polynomial.legendre) numpy.polynomial.legendre.Legendre numpy.polynomial.legendre.Legendre.fromroots...
- numpy.polynomial.legendre.Legendre.fromroots (Python method, in numpy.polynomial.legendre.Legendre.fromroots)
numpy.polynomial
...l x Poly.fit(x, y, deg) – p of degree deg with coefficients determined by the least-squares fit to the data x, y Poly.fromroots(roots) – p with specified roots p.copy() – Create a copy of p Conversion Methods for convertin...
- numpy.polynomial.legendre.Legendre.fromroots
...numpy.polynomial.legendre) numpy.polynomial.legendre.Legendre numpy.polynomial.legendre.Legendre.fromroots...
- Polynomials
...) p = Polynomial([3, 2, 1]) Create a polynomial object from roots r = np.poly([-1, 1]) p = np.poly1d(r) p = Polynomial.fromroots([-1, 1]) Fit a polynomial of degree deg to data np.polyfit(x, y, deg) Polynomial.fit(x, y, deg) [1] Not...
- Using the convenience classes
...rated below: >>> from numpy.polynomial import Polynomial as P >>> from numpy.polynomial import Chebyshev as T >>> p = P.fromroots([1, 2, 3]) >>> p Polynomial([-6., 11., -6., 1.], domain=[-1., 1.], window=[-1., 1.], symbol='x') >>> p.conv...
- numpy.polynomial.legendre.legfromroots (Python function, in numpy.polynomial.legendre.legfromroots)