Defined in header <scicpp/polynomials.hpp>
Compute the roots of a polynomial.
T, std::size_t N>polyroots(const std::array<T, N> &P)¶Compute the roots of a polynomial whose coefficients are stored in a std::array.
Compute the roots of a polynomial whose coefficients are stored in a std::vector.