24.3 CentralWeight

CentralWeight( g )

CentralWeight returns the central weight of an ag word g, with respect to the central series used in the combinatorial collector, as integer.

This presumes that g belongs to a parent group for which the combinatorial collector is used. See ChangeCollector for details.

If g is the identity, 0 is returned.

Note that CentralWeight allows records that mimic ag words as arguments.

    gap> d8 := AgGroup( Subgroup( s4, [ a, c, d ] ) );
    Group( g1, g2, g3 )
    gap> ChangeCollector( d8, "combinatorial" );
    gap> List( d8.generators, CentralWeight );
    [ 1, 1, 2 ] 

Previous Up Top Next
Index

GAP 3.4.4
April 1997