Scilab 5.3.1
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
lcm
least common multiple
Calling Sequence
[pp,fact]=lcm(p)
Arguments
- p
- fact
polynomial vector or integer vector (type equal to 8)
- pp
polynomial or integer
Description
pp=lcm(p)
computes the lcm pp
of polynomial vector p
.
[pp,fact]=lcm(p)
computes in addition the vector fact
such that:
p.*fact=pp*ones(p)
Examples
<< invr | Polynomials | lcmdiag >> |