Does this do it? sage: G = GL(2,7) sage: z = G.center().an_element() sage: reps = [x.Representative() for x in gap(G).ConjugacyClasses()] sage: reps.index(gap(z)) 8 sage: table = gap(G).CharacterTable().Irr() sage: chi = table[2] sage: chi[8] 1
On Sun, Nov 9, 2008 at 12:58 PM, Martin Mereb <[EMAIL PROTECTED]> wrote: > > this is on the notebook of sagenb.org > > G=GL(2,7) > Z=G.center().an_element() > > it will be grat to evaluate every irreducible character at Z (for instance) > > but: > 1) G. has no "charactertable" funcion member > 2) when I do > > table=gap(G).CharacterTable().Irr() > g=gap(Z).Representative() > chi=table[2] > > I don't know how to evaluate chi at Z > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---