Hello,

I think I found a bug in the eigenvalues method of Matrices over
QQbar:
Eigenvalues that are found over AA are not found when using QQbar.

H_AA = Matrix(AA, 8, lambda i, j: 1/(i + j + 1))
H_QQbar = Matrix(QQbar, 8, lambda i, j: 1/(i + j + 1))

E_AA = H_AA.eigenvalues()
E_QQbar = H_QQbar.eigenvalues()

print len(E_AA)
print len(E_QQbar)


This gives 8 for the first and 7 for the second value.
H_QQbar.eigenspaces_right() reports a multiplicity of one for each
eigenvalue.
This is on sagenb.org, Version 4.7.2, the same appears in 4.7



E_AA =
[1.695938996921950?, 0.2981252113169308?, 0.02621284357811905?,
0.001467688117741868?, 0.00005436943369749943?, 1.294332091872812?e-6,
1.798873745817577?e-8, 1.111538966372443?e-10]


E_QQbar =
[1.695938996921950?, 0.2981252113169308?, 0.02621284357811905?,
0.001467688117741868?, 0.00005436943369749943?, 1.294332091872812?e-6
+
0.?e-82*I, 1.111538966372443?e-10]

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to