[GAP Forum] A Question about For Loops

Robert Morse rm43 at evansville.edu
Tue Feb 11 11:40:10 GMT 2014


gap> F := FreeGroup(200,"d");

should give you what you what.

Robert

On Tue, Feb 11, 2014 at 12:31 PM, Minghui Liu <matliumh at gmail.com> wrote:
> Dear All,
>
> In GAP I would like to create a free group with 200 generators and call the
> nth generator dn. I tried the following commands but it does not work:
>
> gap> F:=FreeGroup(200);
> gap> a:=[1..200];
> gap> for x in a do
>> dx:=F.x;
>> od;
>
> The error message is
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum



More information about the Forum mailing list