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
pabou...@laas.fr <mailto:pabou...@laas.fr>
_______________________________________________
Forum mailing list
Forum@mail.gap-system.org
http://mail.gap-system.org/mailman/listinfo/forum

Reply via email to