isPrimitiveRoot
Determine which array elements are primitive roots
Description
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.
Examples
Input Arguments
More About
Version History
Introduced in R2020a