Main Content
iscoprime
Syntax
Description
[
checks if pairs of elements of iscp
,ispcp
,pidx
,pgcd
] = iscoprime(x
)x
have a greatest common divisor greater
than 1. This syntax also returns the indices of all pairs of elements of
x
and the greatest common divisor of each pair. Each element in
pgcd
is the greatest common divisor of the two elements in
x
identified by the indices in the corresponding column of
pidx
.
Examples
Input Arguments
Output Arguments
More About
Extended Capabilities
Version History
Introduced in R2021a
See Also
coincidence
| crt
| gcd