25.18 CyclicGroup for Ag Groups

AgWordsOps.CyclicGroup( D, n )
AgWordsOps.CyclicGroup( D, n, str )

Let n be a nonnegative integer. AgWordsOps.CyclicGroup returns the cyclic group of order n.

Let n be a composite number with r prime factors. If no str is given, the names of the r generators are c<n>_1, ..., c<n>_r. Otherwise, the names of the r generators are <str>1, ..., <str>r, where str must be a string of letters, digits and the special symbol ``_".

If the order n is a prime, the name of the generator is either c<n> or <str>.

    gap> CyclicGroup( AgWords, 31 );
    Group( c31 )
    gap> AgWordsOps.CyclicGroup( AgWords, 5 * 5, "e" );
    Group( e1, e2 ) 

Previous Up Top Next
Index

GAP 3.4.4
April 1997