Computes the roots of the polynomial.

p(x) = {\rm coef}[n] \times x^n + {\rm coef}[n-1] \times x^{n-1} + \ldots + {\rm coef}[0]

Overload List

NameDescription
ComputeRoots(array<Complex>[]()[])
Computes the roots of the polynomial with Complex coefficients.

p(x) = {\rm coef}[n] \times x^n + {\rm coef}[n-1] \times x^{n-1} + \ldots + {\rm coef}[0]

ComputeRoots(array<Double>[]()[])
Computes the roots of the polynomial with real coefficients.

p(x) = {\rm coef}[n] \times x^n + {\rm coef}[n-1] \times x^{n-1} + \ldots + {\rm coef}[0]

See Also