ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 09 Oct 2011 09:15:34 -0500Editing entries of matrixhttp://ask.sagemath.org/question/8366/editing-entries-of-matrix/I'm looking at a matrix, say adjacency matrix of a graph, g.am(). I want to change some of the entries now. I am told it's a vector and it's immutable. What can I do?
One thought I had is adding some other matrix to it with only one nonblank entry. But, is there some easy way to do that?
Another thought I had was turning it into a list, list(g.am()). Maybe that's acceptable. I'm not 100% sure yet for what I'm working on. If I go that way, is there a way to print it in a matrix form again, i.e., entries print in a square shape.
Thanks for any helpG-SageSun, 09 Oct 2011 09:15:34 -0500http://ask.sagemath.org/question/8366/