numpy / 1.18.5 / reference / generated / numpy.polynomial.legendre.legendre.roots.html /

numpy.polynomial.legendre.Legendre.roots

method

Legendre.roots(self) [source]

Return the roots of the series polynomial.

Compute the roots for the series. Note that the accuracy of the roots decrease the further outside the domain they lie.

Returns
rootsndarray

Array containing the roots of the series.

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.polynomial.legendre.Legendre.roots.html