> < ^ Date: Fri, 05 Sep 2003 18:09:59 +0200
< ^ From: Nicola Sottocornola <Nicola.Sottocornola@wanadoo.fr >
> < ^ Subject: Re: Matrice powers
This is a multi-part message in MIME format.
--------------000706050205080902050209
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Dear GAP-Forum, dear A. Hulpke,

the patch you send me seems to contain an error because I obtain the
message

Variable: 'IsAlgebraicElementCollCollColl' must have a value

Error, no method found! For debugging hints type ?Recovery from
NoMethodFound
Error, no 2nd choice method found for
`GeneratorsOfLeftOperatorRingWithOne' on 1 arguments called from
GeneratorsOfLeftOperatorRingWithOne( A ) called from
GeneratorsOfLeftOperatorRing( A ) called from
Basis( V ) called from
Enumerator( D ) called from
Field( fg ) called from

Thanks, Nicola

Alexander Hulpke wrote:

############################################################################# 

##
#M DefaultFieldOfMatrixGroup( <elms> )
##
InstallMethod(DefaultFieldOfMatrixGroup,"alg elms",
[IsGroup and IsAlgebraicElementCollCollColl and HasGeneratorsOfGroup],0,
function(g)
local l,f,i,j,k,gens;
l:=GeneratorsOfGroup(g);
if Length(l)=0 then
l:=[One(g)];
fi;
gens:=l[1][1];
f:=DefaultFieldByGenerators(gens); # ist row
# are all elts in this?
for i in l do
for j in i do
for k in j do
if not k in f then
gens:=Concatenation(gens,[k]);
f:=DefaultFieldByGenerators(gens);
fi;
od;
od;
od;
return f;
end);

--------------000706050205080902050209
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<div class="moz-text-flowed" style="font-size: 16px;" lang="x-western">Dear
GAP-Forum, dear A. Hulpke,
<br>
<br>
the patch you send me seems to contain an error because I obtain the
message
<br>
<br>
Variable: 'IsAlgebraicElementCollCollColl' must have a value
<br>
<br>
Error, no method found! For debugging hints type ?Recovery from
NoMethodFound
<br>
Error, no 2nd choice method found for
`GeneratorsOfLeftOperatorRingWithOne' on 1 arguments called from
<br>
GeneratorsOfLeftOperatorRingWithOne( A ) called from
<br>
GeneratorsOfLeftOperatorRing( A ) called from
<br>
Basis( V ) called from
<br>
Enumerator( D ) called from
<br>
Field( fg ) called from
<br>
<br>
Thanks, Nicola
<br>
<br>
<br>
<br>
Alexander Hulpke wrote:
<br>
<br>
<blockquote type="cite" style="font-size: large;">#############################################################################
<br>
##
<br>
#M&nbsp; DefaultFieldOfMatrixGroup( &lt;elms&gt; )
<br>
##
<br>
InstallMethod(DefaultFieldOfMatrixGroup,"alg elms",
<br>
&nbsp;[IsGroup and IsAlgebraicElementCollCollColl and
HasGeneratorsOfGroup],0,
<br>
function(g)
<br>
local l,f,i,j,k,gens;
<br>
&nbsp;l:=GeneratorsOfGroup(g);
<br>
&nbsp;if Length(l)=0 then
<br>
&nbsp;&nbsp; l:=[One(g)];
<br>
&nbsp;fi;
<br>
&nbsp;gens:=l[1][1];
<br>
&nbsp;f:=DefaultFieldByGenerators(gens); # ist row
<br>
&nbsp;# are all elts in this?
<br>
&nbsp;for i in l do
<br>
&nbsp;&nbsp; for j in i do
<br>
&nbsp;&nbsp;&nbsp;&nbsp; for k in j do
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if not k in f then
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gens:=Concatenation(gens,[k]);
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; f:=DefaultFieldByGenerators(gens);
<br>
&nbsp;&nbsp;&nbsp;&nbsp; fi;
<br>
&nbsp;&nbsp;&nbsp;&nbsp; od;
<br>
&nbsp;&nbsp; od;
<br>
&nbsp;od;
<br>
&nbsp;return f;
<br>
end);
<br>
<br>
<br>
<br>
&nbsp;
<br>
<br>
</blockquote>
<br>
<br>
<br>
</div>
</body>
</html>

--------------000706050205080902050209--

Miles-Receive-Header: reply


> < [top]