Rank( t )
For a transformation t on X, the rank of t is defined as
the size of the image of t, i.e.
mid {t(x) mid x in X} mid,
or, in GAP
language: Length( Image( t ) )
.
Rank
returns the rank of the transformation t.
gap> t1; Transformation( [ 1, 2, 3 ], [ 1, 1, 2 ] ) gap> Rank( t1 ); 2 gap> gap> gt; Transformation( Group( (1,2), (3,4) ), [ 4, 2, 2, 1 ] ) gap> Rank(gt); 3
GAP 3.4.4