GAP Manual: 24.4. CompositionLength

CompositionLength( g )

Let G be the parent group of the ag word g. Then CompositionLength returns the length of the AG-series of G as integer.

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

    gap> CompositionLength( c );
    5 

[next] [prev] [up]