LCM of P(x) and Q(x) (DBL) VI
- Updated2025-07-30
- 2 minute(s) read
Computes the least common multiple of two polynomials P(x) and Q(x) with the tolerance you specify. The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.

Inputs/Outputs
P(x)
—
P(x) contains the real polynomial coefficients in ascending order of power.
Q(x)
—
Q(x) contains the real polynomial coefficients in ascending order of power.
tolerance
—
tolerance specifies the numerical threshold to use for the calculation.
algorithm
—
algorithm specifies the algorithm this VI uses to compute the polynomial least common multiple. Euclidean (0) is the classical method for polynomial LCM calculation. Approximate GCD (1) is more suitable in calculating the LCM of one polynomial and its derivative.
Least Common Multiple
—
Least Common Multiple returns the least common multiple of P(x) and Q(x).
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. |
P(x)
—
tolerance
—
algorithm
—
Least Common Multiple
—
error
—