I have this: H is a real-valued Matrix
z=abs(H[i,j]/H[j,j])
if z!=infinity:
print H[i,j], H[i,j].parent()
print H[j,j], H[j,j].parent()
print z
But it doesn't work:
H[ 2 , 1 ]= -0.0243252127705267 Real Field with 53 bits of
precision
H[ 1 , 1 ]= 0.000000000000000 Real Field with 53 bits of
precision
z=+infinity
This was printed although z=infinity.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---