> < ^ Date: Fri, 22 Oct 1999 23:45:43 +0200 (MET DST)
> < ^ From: Dmitrii Pasechnik <d.pasechnik@twi.tudelft.nl >
> < ^ Subject: Re: matrices

Dear Forum,

On Fri, 22 Oct 1999, Kurt Ewald wrote:
>I have
>gap> x:=GL(3,3);
>GL(3,3)
>gap> Random(x);
>[ [ Z(3)^0, Z(3)^0, Z(3)^0 ], [ Z(3)^0, Z(3), Z(3) ],
>  [ 0*Z(3), Z(3)^0, Z(3) ] ]
>Is there a command to get the matrix in a quadratic form as:
>
> [ Z(3)^0, Z(3)^0, Z(3)^0 ]
> [ Z(3)^0, Z(3), Z(3) ]
>[ 0*Z(3), Z(3)^0, Z(3) ] 
>
Try 
PrintArray(Random(x));

It should work at least in GAP3.

---
Dima

http://www.cs.uu.nl/~dima/


> < [top]