it looks OK just to coerse to integer and then do the python's abs:
ZZ(d).abs()

By the way, the determinant of a character table is either in Z or in
sqrt(-1)Z

DIma

On Feb 3, 12:34 pm, Nick Alexander <ncalexan...@gmail.com> wrote:
> > sage: d = M.determinant()
> > sage: d.norm().abs()       # take norm to get an integer
> > 712483534798848
>
> I thought of this as well, but it could be wrong since there might be  
> an element of the appropriate norm in the cyclotomic field that is  
> erroneously returned!  I suggest QQ(d).abs() :)
>
> Nick

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

Reply via email to