SciPy

numpy.polynomial.legendre.Legendre.roots

Legendre.roots()

Return list of roots.

Return ndarray of roots for this series. See legroots for full documentation. Note that the accuracy of the roots is likely to decrease the further outside the domain they lie.

See also

legroots
similar function
legfromroots
function to go generate series from roots.