class="resources" Polynomial Roots (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Polynomial Roots (Not in Base Package)

Finds the roots of polynomial P(x). You can use this polymorphic VI to find the roots of a real polynomial or a complex polynomial. The data type you wire to the P(x) input determines the polymorphic instance to use.

Polynomial Roots (DBL)

P(x) contains the real polynomial coefficients in ascending order of power.
option specifies the option for root finding. The default is simple classification.

0general—Specifies that the real polynomial P(x) is regarded as a complex polynomial. Roots might not be exact real or complex conjugate.
1simple classification—Based on the results of the general option, the roots are divided into two kinds: real (remove the imaginary part) or complex conjugate (average the real parts and imaginary parts respectively).
2refinement—Based on the results of the simple classification option, the roots are refined again by the Newton method for real roots and the Bairstow method for complex conjugate roots. This option can be more accurate, but it might be numerically unstable.
Roots returns the real and complex conjugate roots of P(x).
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Polynomial Roots (CDB)

P(x) contains the complex polynomial coefficients in ascending order of power.
Roots returns the complex roots of P(x).
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit