On Fri, Oct 25, 2015 at 06:04:45AM -0700, William Stein wrote: [...] > > At least you can do "v = m.row(0); v.set_immutable()".
There is some issue with this when trying to use set comprehension, see http://ask.sagemath.org/question/30102/how-do-i-define-and-work-with-a-set-of-matrices/ Perhaps should we have a "mutable" argument (True by default to be consistent with the current behaviour) in the matrix/vector constructors, so that we can do: {vector(m.row(0), mutable=False) for m in blah} Ciao, Thierry -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.