I've run into an eigenvalue problem where I need to compute the roots of a cubic polynomial. This is a straight-forward problem to solve analytically, but I want to avoid reinventing the wheel if possible. The boost::math doc mentions some root-finding functions, but they all seem to be iterative - which should not be neccesary in my case.
Can anyone tell me if boost includes any functions for analytically computing the roots of quadratic, cubic and possibly quartic polynomials?
Thanks in advance,
Fredrik Orderud