68.2 GapObject

GapObject( mtxobj )

returns the GAP object corresponding to the MeatAxe object mtxobj which may be a MeatAxe matrix, a MeatAxe permutation, a MeatAxe matrix algebra, or a MeatAxe module.

Applied to an ordinary GAP object, GapObject simply returns this object.

    gap> m:= [ [ 0, 1, 0 ], [ 0, 0, 1 ], [ 1, 0, 0 ] ] * GF(2).one;;
    gap> mam:= MeatAxeMat( m, "file2" );;
    #I  calling 'maketab' for field of size 2
    gap> GapObject( mam );
    [ [ 0*Z(2), Z(2)^0, 0*Z(2) ], [ 0*Z(2), 0*Z(2), Z(2)^0 ], 
      [ Z(2)^0, 0*Z(2), 0*Z(2) ] ]
    gap> map:= MeatAxePerm( (1,2,3), 3 );;
    gap> perm:= GapObject( map );
    (1,2,3)
    gap> GapObject( perm );
    (1,2,3) 

Previous Up Top Next
Index

GAP 3.4.4
April 1997