"Justin C. Walker" <[EMAIL PROTECTED]> writes: > if self[i,j] != self[j,i]: return False
One more thought: this could be creating Python ints for i and j each repetition; optimized indexing might avoid that. Nick --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---