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 

Previous Up Top Next
Index

GAP 3.4.4
April 1997