Comment #7 on issue 3405 by [email protected]: Add simplify keyword to inv
http://code.google.com/p/sympy/issues/detail?id=3405

You might also want to consider using ImmutableMatrices

In [1]: ImmutableMatrix([[sin(x)**2 + cos(x)**2]])
Out[1]:
⎡   2         2   ⎤
⎣sin (x) + cos (x)⎦

In [2]: im = ImmutableMatrix([[sin(x)**2 + cos(x)**2]])

In [3]: simplify(im)
Out[3]: [1]

This doesn't simplify in place and the standard SymPy simplify works fine. In general using ImmutableMatrix will almost always work better with core SymPy functions. You should only use Matrix if you really care about speed or mutability.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
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/sympy-issues?hl=en.

Reply via email to