Advanced Analysis Library Only
AnalysisLibErrType CxPolyRootsEx (NIComplexNumber polynomialCoefficients[], int numberOfCoefficients, NIComplexNumber polynomialRoots[]);
Calculates the roots of a complex polynomial with high precision.
| Input | ||
| Name | Type | Description |
| polynomialCoefficients | complex number array | The coefficients of the polynomial in ascending order of power. |
| numberOfCoefficients | integer | The length of polynomialCoefficients. |
| Output | ||
| Name | Type | Description |
| polynomialRoots | complex number array | The roots of the polynomial. The length of this parameter is numberOfCoefficients - 1. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |