Hi, The following assignment behaves unexpectedly:
a=matrix(2) #makes a zero matrix b=a b[0,1]=2 One would expect a to stay zero, and only b to change to [0 2 0 0], but a changes as well! Is there a way to leave a fixed when changing b? If a and b were numbers, changing b does not change a as well, as one would expect. Thanks, Alex Popa --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
