> Having immutability by default would be particuarly annoying in the > following case > > sage: a = identity_matrix(ZZ, 3) > sage: b = a + a # immutable > sage: b[0,1] = 2 # niet
Why would identity_matrix return an immutable matrix ? Or did I miss something ? All that we need is that the sum/product of immutable matrices return an immutable matrix, and that does not seem in conflict with your example. Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.