CxPolyRoots
Advanced Analysis Library Only
AnalysisLibErrType CxPolyRoots (double polynomialCoefficients[], int numberOfCoefficients, NIComplexNumber polynomialRoots[]);
Purpose
![]() |
Note This function has been superseded by CxPolyRootsEx. |
Parameters
| Input | ||
| Name | Type | Description |
| polynomialCoefficients | double [] | The coefficients of the polynomial in descending order of power. |
| numberOfCoefficients | int | The length of polynomialCoefficients. |
| Output | ||
| Name | Type | Description |
| polynomialRoots | NIComplexNumber [] | The roots of the polynomial. |
Return Value
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |
Additional Information
Library: Advanced Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later
Example
Refer to analysis\stabilty.cws for an example of using the CxPolyRoots function.
