I'm doing something like this: my_matrix = matrix(3,10, [0 for x in 30])
I now want to do some loops and update certain entries of the matrix. But the entries seem immutable, e.g. one can do: my_matrix[0][0] += 1 and the entry is still zero, although no exception seems to be raised. So my question is, how can one manipulate individual matrix entries? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@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-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---