Adds two polynomials P(x) and Q(x). The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.


icon

Inputs/Outputs

  • c1dcdb.png P(x)

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

  • c1dcdb.png Q(x)

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

  • cdbl.png threshold

    threshold specifies the level at which the VI removes from P(x)+Q(x) the trailing elements whose absolute values or relative values are less than or equal to threshold.

    If all the elements in P(x)+Q(x) are less than or equal to threshold, P(x)+Q(x) returns a one-element array.

  • cu16.png threshold type

    threshold type specifies how the VI removes the trailing elements from P(x)+Q(x). If threshold type is Absolute Value, the VI removes the trailing elements from P(x)+Q(x) whose absolute values are less than or equal to threshold. If threshold type is Relative Value, the VI removes the trailing elements from P(x)+Q(x) whose absolute values are less than or equal to threshold * |x|, where x is the coefficient which has the maximum absolute value in resulting polynomial.

    0Absolute Value (default)
    1Relative Value
  • i1dcdb.png P(x)+Q(x)

    P(x)+Q(x) returns the complex coefficients, in ascending order of power, of the polynomial that results from the addition of P(x) and Q(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.