Next: runcum, Previous: roll, Up: Internal Routines [Contents][Index]
r = root3(a, b, c)
Returns the real roots of the third-degree polynomial equation
x^3 + a*x^2 + b*x + c = 0
. The number of such roots is between
1 and 3, inclusive. Multiple coinciding roots are all returned
separately.