Re: [sage-devel] AlgebraicReal.minpoly slow

2016-09-20 Thread Vincent Delecroix
Yes: have a look at composed_op from #18356 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send em

[sage-devel] AlgebraicReal.minpoly slow

2016-09-20 Thread Clemens Heuberger
I am running x = polygen(QQ) equation = -96000*x^7 + 41600*x^6 - 6640*x^5 + 560*x^4 - 28*x^3 + 8400*x^2 - 140*x + 1 roots = equation.roots(QQbar) a_root = roots[-1][0] abs_root = abs(a_root) %time abs_root.minpoly() and am surprised that it takes approx. three minutes. Conse