AbstractGenerators( string, n )
AbstractGenerators returns a list of n new abstract generators.
These new generators are printed using string1, string2, ...,
stringn.
gap> AbstractGenerators( "a", 3 );
[ a1, a2, a3 ]
AbstractGenerators could be defined as follows (see
AbstractGenerator).
AbstractGenerators := function ( string, n )
local gens, i;
gens := [];
for i in [1..n] do
Add( gens,
AbstractGenerator(
ConcatenationString( string, String(i) ) ) );
od;
return gens;
end;
GAP 3.4.4