Owning Class: basic
Requires: MathScript RT Module
c = lcm(a, b)
Computes the pairwise least common multiple of the input elements.
|a||Specifies a scalar or matrix. All elements of a must be positive integers.|
|b||Specifies a scalar or matrix. All elements of b must be positive integers.|
|c||Returns the pairwise least common multiple of the elements in a and b. c is a matrix of the same size as the larger of a and b.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = 234
B = 98
C = lcm(A, B)