> < ^ Date: Wed, 16 Jul 2003 15:34:54 +0200
> < ^ From: Nicola Sottocornola <Nicola.Sottocornola@wanadoo.fr >
> ^ Subject: Matrice powers
This is a multi-part message in MIME format.
--------------090605020906050805020300
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Dear GAP-Forum,

I have a programme starting with

Indeterminate(Rationals,"x");;
p:=UnivariatePolynomial(Rationals,[1,-2,-2,-2,1],1);;
e:=FieldExtension(Rationals,p);;
t:=RootOfDefiningPolynomial(e);
si:=2*t/(1+t^2); co:=(1-t^2)/(1+t^2);
idm:=IdentityMat(5,e);; 
A:=idm*[[0,0,0,0,1],
[1,0,0,0,0],
[0,1,0,0,0],
[0,0,1,0,0],
[0,0,0,1,0]];;

I don't understand why I obtain the following output

gap> A^(-1);
Error, no method found! For debugging hints type ?Recovery from
NoMethodFound
Error, no 2nd choice method found for `INV_MUT' on 1 arguments called from
<function>( <arguments> ) called from read-eval-loop
Entering break read-eval-print loop ...
you can 'quit;' to quit to outer loop, or
you can 'return;' to continue
brk>

while I can compute positive powers of A.

Thanks, Nicola

--------------090605020906050805020300
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">
Dear GAP-Forum,<br>
<br>
I have a programme starting with<br>
<br>
<i>Indeterminate(Rationals,"x");;<br>
p:=UnivariatePolynomial(Rationals,[1,-2,-2,-2,1],1);;<br>
e:=FieldExtension(Rationals,p);;<br>
t:=RootOfDefiningPolynomial(e); <br>
si:=2*t/(1+t^2); co:=(1-t^2)/(1+t^2);<br>
idm:=IdentityMat(5,e);;&nbsp; <br>
A:=idm*[[0,0,0,0,1],<br>
[1,0,0,0,0],<br>
[0,1,0,0,0],</i><br>
<i>[0,0,1,0,0],<br>
[0,0,0,1,0]];;<br>
<br>
</i>I don't understand why I obtain the following output<br>
<br>
gap&gt; A^(-1);<br>
Error, no method found! For debugging hints type ?Recovery from
NoMethodFound<br>
Error, no 2nd choice method found for `INV_MUT' on 1 arguments called
from<br>
&lt;function&gt;( &lt;arguments&gt; ) called from read-eval-loop<br>
Entering break read-eval-print loop ...<br>
you can 'quit;' to quit to outer loop, or<br>
you can 'return;' to continue<br>
brk&gt; <br>
<br>
while I can compute positive powers of A.<br>
<br>
Thanks, Nicola<br>
</body>
</html>

--------------090605020906050805020300--

> < [top]