############################################################################# ## ## This file is part of GAP, a system for computational discrete algebra. ## ## Copyright of GAP belongs to its developers, whose names are too numerous ## to list here. Please refer to the COPYRIGHT file for details. ## ## SPDX-License-Identifier: GPL-2.0-or-later ##
############################################################################# ## #M ReeGroupCons( <IsMatrixGroup>, <q> ) ##
InstallMethod(ReeGroupCons,"matrix",true,
[IsMatrixGroup,IsPosInt],0, function ( filter, q )
local theta, m, f, bas, one, zero, x, h, r, gens, G, i;
m:=Int((LogInt(q,3)-1)/2); if m<0 or q<>3^(1+2*m) then
Error("Usage: ReeGroup(<filter>,3^(1+2m))"); fi;
# this generating set is not very good -- there is a 2-generator set. AH
gens:=[]; for i in bas do
Add(gens,x(i,zero,zero));
Add(gens,x(zero,i,zero));
Add(gens,x(zero,zero,i));
od;