Hello everybody !!! Working on Minh's patches for new graph generators, I had to create Dihedral groups, which took me more than.... half a second. Which mean it can be improved :-D
More seriously, the way I found to create them was to use the DihedralGroup() method, which one does not have to import first. It is nice, but it also means that I still do not know how to list all the group Sage knows how to build.. Well, for graphs and words we already have something nice : We create a graph/word with the Graph/Word constructor, which appears in the namespace. If we omit the upper case, we have a graphs/words object, whose methods are the different constructors of graphs/words. So graphs.<tab>/words.<tab> gives you the list of all constructors, which is the best way to find one quickly. What about doing the same with groups, or finding a common way to organise this ? :-) Nathann P.S. (if anybody has any smart idea about how to deal with classes having *far too many* different methods, I am also very interested. Something will have to be decided soon for the Graph class anyway... :-/ ) -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org