MTM[lcm] - least common multiple
|
Calling Sequence
|
|
lcm(M1, M2)
|
|
Parameters
|
|
M1
|
-
|
array or expression
|
M2
|
-
|
array or expression
|
|
|
|
|
Description
|
|
•
|
The lcm(M1,M2) function computes the element-wise least common multiple of M1 and M2.
|
•
|
If M1 is a scalar, then gcd computes least common multiple of M1 and each element of M2.
|
•
|
Arrays M1 and M2 must be the same size.
|
|
|
Download Help Document
Was this information helpful?