class="resources"
Creates polynomial P(x) from its roots. You can use this polymorphic VI to create a real polynomial or a complex polynomial. The data type you wire to the Roots input determines the polymorphic instance to use. Details

![]() |
Roots contains the real roots for a polynomial. If Roots is empty, the VI sets P(x) to one. |
![]() |
P(x) returns the real polynomial coefficients in ascending order of power. |
![]() |
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. |

![]() |
Roots contains the complex roots for a polynomial. If Roots is empty, the VI sets P(x) to one. |
![]() |
P(x) returns the complex polynomial coefficients in ascending order of power. |
![]() |
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. |
The VI uses the following equation to create P(x).
P(x) = (x r1)(x r2) (x rn) = xn + Pn 1xn 1 + + P1x + P0