title: Finding roots of polynomial in Java
body: <p>I need to find a (approximate, numerical) solution to a <a href="https://en.wikipedia.org/wiki/Legendre_polynomials" rel="nofollow noreferrer">Legendre polynomial</a>. I tried several Java libraries, but none have what I am looking for (the closest is commons-math which even has code for finding the solutions in the <a href="https://en.wikipedia.org/wiki/Laguerre%27s_method" rel="nofollow noreferrer">Laguerre solver</a>, but it does not expose the method). Is there an existing solution or do I need to implement my own?</p>