CxPolyRoots

Advanced Analysis Library Only

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

Purpose

Calculates the roots of a real polynomial.

This function is obsolete. Use PolyRootsEx instead.

Parameters

Input
Name Type Description
polynomialCoefficients double-precision array The coefficients of the polynomial in descending order of power.
numberOfCoefficients integer The length of polynomialCoefficients.
Output
Name Type Description
polynomialRoots complex number array 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.