[GAP Forum] Writing custom action on a set of list

Pierre-Alain BOURDIL pabourdi at laas.fr
Thu May 7 12:55:33 BST 2015


Hi,

I've tryed unsuccesfuly to implement an action on a set of list.


Say G=S_2, Omega = [[1,rc1,2],[2,rc2,1]]  where rc1, rc2 are rightcosets 
of Stabilizer(G,1) and  a function :

Act := function (x,g)
   local repr,comp,rc,orbital,g;
   #extract args
   comp := args[1];
   rc := args[2];
   orbital := args[3];
   g := args[4];
   # compute the coset
   repr:=rc*g;
   return [comp^g,repr,orbital];
end;;

Now
A:=Action(G,Omega,Act)
gives a no method found errors. With ShowArguments i see that  x and g 
are set with 1 and rc1 respectively. I do not find a way for x to be set 
to [1,rc1,2] and g with the current G's element.

How can i implement such an action function  ?



-- 
Pierre-Alain BOURDIL
pabourdi at laas.fr <mailto:pabourdi at laas.fr>


More information about the Forum mailing list