ZeroPolynomial.ComputeRoots Method (Double[]) |
Computes the roots of the polynomial with real coefficients.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic Complex[] ComputeRoots(
double[] coef
)
Public Function ComputeRoots (
coef As Double()
) As Complex()
public:
array<Complex>^ ComputeRoots(
array<double>^ coef
)
member ComputeRoots :
coef : float[] -> Complex[]
Parameters
- coef
- Type:System.Double[]
A double array containing the polynomial coefficients.
Return Value
Type:
Complex[]
A
Complex array containing the roots of the polynomial.
Exceptions
See Also