Scilab 5.4.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
gcd
Greatest Common Divisor
Calling Sequence
[pgcd, U]=gcd(p)
Arguments
- p
a polynomial row vector
p=[p1, ..., pn]
or an integer row vector (type equal to 8).
Description
[pgcd, U]=gcd(p)
computes the gcd of components of p
(pgcd
) and an
unimodular matrix (with polynomial inverse) U
, with minimal degree such that
p*U=[0 ... 0 pgcd]
.
In mathematics, an unimodular matrix
U
is a square integer matrix having
determinant +1
or -1
.
Examples
See Also
Report an issue | ||
<< factorial | Discrete mathematics | lcm >> |