Thanks people for your replies. On Sat, Dec 15, 2012 at 7:07 AM, Aaron Meurer <asmeu...@gmail.com> wrote: > If you use ImmutableMatrix instead of Matrix, then it will have the > replace method (as well as any other method of Basic). The downside > is that the matrix won't be mutable.
OK, but I don't get it -- what is an ImmutableMatrix useful for other than being able to do replace? Looks like I can convert any matrix to immutable using as_immutable and then do replace and back to MutableMatrix (though using applyfunc is the easiest option) -- but still what can be done using applyfunc can be provided out of the box IMO -- just like is available with simplify(). -- Shriramana Sharma -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.