Looks cool! It is quite different to Hecke. You work in the field of all algebraic numbers, while Hecke works with elements inside an algebraic number field.
I skimmed over the code and noticed that you use ZZ. If you care about performance, you might want to change ZZ to FlintZZ. The variabe ZZ is a global variable, while FlintZZ is a constant variable. On Wednesday, July 13, 2016 at 2:21:18 AM UTC+2, Alireza Nejati wrote: > > Ever wanted to do exact arithmetic, geometry, and so on? Well now you can: > > https://github.com/anj1/AlgebraicNumbers.jl >