class="resources"
Computes the least common multiple of two polynomials P(x) and Q(x) with the tolerance you specify. You can use this polymorphic VI to compute the least common multiple for real polynomials or complex polynomials. The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.

![]() |
P(x) contains the real polynomial coefficients in ascending order of power. |
![]() |
Q(x) contains the real polynomial coefficients in ascending order of power. |
![]() |
tolerance specifies the numerical threshold for calculating Least Common Multiple. |
![]() |
Least Common Multiple returns the least common multiple of P(x) and Q(x). |
![]() |
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. |

![]() |
P(x) contains the complex polynomial coefficients in ascending order of power. |
![]() |
Q(x) contains the complex polynomial coefficients in ascending order of power. |
![]() |
tolerance specifies the numerical threshold for calculating Least Common Multiple. |
![]() |
Least Common Multiple returns the least common multiple of P(x) and Q(x). |
![]() |
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. |