yeah, you're right, sorry --- my workday started 14 hours ago...
OK, I'll follow your hint, thanks!

On Feb 2, 10:53 pm, YannLC <[email protected]> wrote:
> Read again my proposal
>
> sage: set([tuple(x.values()) for x in G.irreducible_characters()]) ==
> expected
>
> you need tuple... just add it!
>
> On Feb 2, 3:50 pm, Dima Pasechnik <[email protected]> wrote:
>
>
>
> > G.irreducible_characters() is a list of lists, not a list of tuples,
> > so one cannot just
> > take set() of them.
>
> > On Feb 2, 10:01 pm, YannLC <[email protected]> wrote:
>
> > > Maybe just using sets:
>
> > > sage: G = GL(2,3)
> > > sage: k.<zeta8> = CyclotomicField(8)
> > > sage: expected = set([(3, 0, 3, 0, -1, 1, 1, -1), (1, 1, 1, 1, 1, 1,
> > > 1, 1), (1, 1, 1, 1, 1, -1, -1, -1), (2, -1, 2, -1, 2, 0, 0, 0), (4,
> > > -1, -4, 1, 0, 0, 0, 0), (2, 1, -2, -1, 0, zeta8^3 + zeta8, -zeta8^3 -
> > > zeta8, 0), (2, 1, -2, -1, 0, -zeta8^3 - zeta8, zeta8^3 + zeta8, 0),
> > > (3, 0, 3, 0, -1, -1, -1, 1)])
> > > sage: set([tuple(x.values()) for x in G.irreducible_characters()]) ==
> > > expected
> > > True
>
> > > On Feb 2, 2:25 pm, Dima Pasechnik <[email protected]> wrote:
>
> > > > On Feb 2, 8:54 pm, YannLC <[email protected]> wrote:
> > > > Unfortunately for irreducible characters (see  groups/
> > > > class_function.py patch)
> > > > reduce seems to be the only way so far :-(

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to