SHARE
TWEET

Untitled

a guest Apr 26th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## Creamos el grupo:
  2. gap> s3:=SymmetricGroup(3);
  3. Sym( [ 1 .. 3 ] )
  4.  
  5. ## Tiene 3 clases de conjugaciones de elementos:
  6. gap> cc:=ConjugacyClasses(s3);
  7. [ ()^G, (1,2)^G, (1,2,3)^G ]
  8. gap> Length(cc);
  9. 3
  10.  
  11. ## Tomemos por ejemplo el segundo de ellos:
  12. gap> c:=cc[2];
  13. (1,2)^G
  14.  
  15. ## Vemos que contiene 3 elementos
  16. gap> Size(c);
  17. 3
  18.  
  19. ## Generamos una lista con todos los elementos de la clase escogida
  20. gap> AsList(c);
  21. [ (1,2), (2,3), (1,3) ]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top