IMSL C# Numerical Library

ZeroPolynomial.ComputeRoots Method

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

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]

public Complex[] ComputeRoots(Complex[]);

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]

public Complex[] ComputeRoots(double[]);

See Also

ZeroPolynomial Class | Imsl.Math Namespace