|Download Help (Windows Only)|
Owning Class: polynomials
Requires: MathScript RT Module
c = roots(a)
Computes the roots of a polynomial.
|a||Specifies the coefficients in descending order of power of the polynomial whose roots you want to compute. a is a real or complex vector.|
|c||Returns the roots of a. c is a vector of real or complex numbers.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = [5, 4, 3, 2, 1]
C = roots(A)