Admin Production ni-theme
Current Publication

CxPolyRootsEx

LabWindows/CVI

CxPolyRootsEx

Advanced Analysis Library Only

AnalysisLibErrType CxPolyRootsEx (NIComplexNumber polynomialCoefficients[], int numberOfCoefficients, NIComplexNumber polynomialRoots[]);

Purpose

Calculates the roots of a complex polynomial with high precision.

Parameters

Input
Name Type Description
polynomialCoefficients NIComplexNumber [] The coefficients of the polynomial in ascending order of power.
numberOfCoefficients int The length of polynomialCoefficients.
Output
Name Type Description
polynomialRoots NIComplexNumber [] The roots of the polynomial. The length of this parameter is numberOfCoefficients - 1.

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 8.0 and later