Determine which array elements are primitive roots
returns a logical array containing TF
= isPrimitiveRoot(G
,N
)1 (true)
for the corresponding
elements of G
that are primitive roots
modulo N
, and 0 (false)
for the corresponding
elements that are not primitive roots. The elements of G
must be
integers, and the elements of N
must be positive integers.