A library to manipulate algebraic numbers
To generate the documentation,run:
nox
https://ydethe.gitlab.io/algebraicnumber/docs
>>> z = AlgebraicNumber.unity() + AlgebraicNumber.imaginary()
>>> z.poly.printCoeff()
'[2,-2,1]'
>>> p = z*z.conj()
>>> p.poly.printCoeff()
'[-2,1]'