Finds the roots of polynomial P(x). This VI removes leading coefficients of the polynomial that are equal to zero. Wire data to the P(x) input to determine the polymorphic instance to use or manually select the instance.


icon

Inputs/Outputs

  • c1dcdb.png P(x)

    P(x) contains the complex polynomial coefficients in ascending order of power.

  • cu16.png option

    option specifies the option for root finding. The default is General.

    0General—Performs the Newton-based method to find the roots. This root-finding method is fast but has low precision.
    3Advanced Refinement—Finds the roots more accurately and stably, especially when the polynomial has repeated roots. Due to the computation complexity, this method is time-consuming.
  • i1dcdb.png Roots

    Roots returns the complex roots of P(x).

  • ii32.png error

    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.