Done. It's http://trac.sagemath.org/sage_trac/ticket/4487


On Sun, Nov 9, 2008 at 3:10 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Sun, Nov 9, 2008 at 10:29 AM, Martin Mereb <[EMAIL PROTECTED]> wrote:
>>
>> thank you so much
>> it worked!!
>
> David, Thanks!
> Could you make a trac ticket about this and paste in
> something that will make it easy for you or somebody
> to add this functionality later?
>
> William
>
>>
>> On Sun, Nov 9, 2008 at 12:27 PM, David Joyner <[EMAIL PROTECTED]> wrote:
>>>
>>> Yes, I'll try to implement that in a future version.
>>> Thanks for the suggestion.
>>>
>>>
>>> On Sun, Nov 9, 2008 at 1:15 PM, Martin Mereb <[EMAIL PROTECTED]> wrote:
>>>>
>>>> probably, I'll check it in a second
>>>> but it is it possible to imlpement something like
>>>> chi(Z)
>>>> or chi.eval(Z) or something like that?
>>>> or making the CharachterTable function available for groups in SAGE, like 
>>>> GL
>>>> not only the permutationgroups, as GAP does?
>>>> (like.. in a future)
>>>>
>>>> On Sun, Nov 9, 2008 at 12:11 PM, David Joyner <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>> 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
>>>>>>
>>>>>> >
>>>>>>
>>>>>
>>>>> >
>>>>>
>>>>
>>>> >
>>>>
>>>
>>> >
>>>
>>
>> >
>>
>
>
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washington
> http://wstein.org
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to