Eigenvalues on symmetric real matrix are reals. However

n=184
l=range(1,n+1)
M=matrix([[floor(n/lcm(i,j)) for i in l] for j in l])
f=factor(M.characteristic_polynomial())
f[4][0].roots(AA, multiplicities=False)

gives AssertionError. Is this a bug? It works for 2 <= n <= 183.

When using QQbar instead of AA it seems that calculation stucks.

--
Jori Mäntysalo

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to