OpenLvVision_OpenCv.lvlib:SolvePoly.vim

Finds the real roots of a cubic equation.

The function solvePoly finds the complex roots of a polynomial equation:

$ \sum_{i=0}^{n} \texttt{coeffs}[i] x^{n-i} = \texttt{coeffs}[0] x^n + \texttt{coeffs}[1] x^{n-1} + \dots + \texttt{coeffs}[n] = 0 $

The function computes all complex roots of the polynomial and stores them in the roots array.

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:SolvePoly.vim

cerrcodeclst

error in

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cbool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ci32

    code

    cstr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Coeffs

equation coefficients, an array of 3 or 4 elements.

ci32

MaxIters

maximum number of iterations the algorithm does.

ierrcodeclst

error out

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ibool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ii32

    code

    istr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

i1dcdb

Roots

output array of real roots that has 1 or 3 elements.

    icdb

    Numeric