int solvepoly(float coef, float &roots, int maxiter=0)
An array of coefficients of the polynomial.
You must order the coefficients such that
coef[i] should be
This is reverse of the order you would write the polynomial out normally.
The function overwrites this array with the real roots of the polynomial, in ascending order.
The number of real roots.