H = H3.change_ring(ZZ) should work. It's not surprising that eigenvalues
are so slow over the symbolic ring, though obviously it could be improved
in the case that the entries are actually numbers of some kind.
David
On Fri, Mar 15, 2013 at 1:34 AM, Jan Groenewald wrote:
> Hi
>
> A computation
Hi
A computation with matrices reached:
type(H3) # gives
H3.eigenvalues() # never finishes, or is really slow, at least several hours
However, if I reassign the same values of the matrix to a new matrix, it
finishes in a fraction of a second:
H=matrix([(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,