> Can you elaborate on this? What do you mean by 'nicely wraps'? I wrote the > ClassFunction class that wraps GAP's ClassFunction command, but I'd like to > know what more could/should be done. I am not a GAP expert so the code > would definitely benefit from someone more knowledgeable about GAP taking a > look at it and providing suggestions.
Hello, At least for when I tried to use representation theory in finite groups, I hit bugs like reported here; http://sagetrac.org/sage_trac/ticket/5618 Or, you can't compare characters for equality. For example; G = AlternatingGroup(4) # A routine to generate all cyclic subgroups of any groups cyclicSubgroup = [] for g in G.list(): K = G.subgroup([g]) if K not in cyclicSubgroup: cyclicSubgroup.append(K) # Induce all characters of cyclic subgroups to A4 and string them together charsOfG = [] for grp in cyclicSubgroup: for char in grp.irreducible_characters(): c = char.induct(H) if c not in charsOfG: charsOfG += [char.induct(H)] print [charsOfG[16](g) for g in G.list()] [6, 0, 0, -2, 0, 0, 0, 0, -2, 0, 0, -2] print [charsOfG[18](g) for g in G.list()] [6, 0, 0, -2, 0, 0, 0, 0, -2, 0, 0, -2] For now, I do something like the following to compare characters. equal = False for ch in charsOfG: if c.values() == ch.values(): equal = True if equal==False: charsOfH += [char.induct(H)] Jerome --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---