sympy/sympy — pull request #1015 by mrocklin (2012-01-23 03:26:04+00:00)
Title: ImmutableMatrix

This pull request adds an ImmutableMatrix type that inherits from Basic.

It does this by splitting the current Matrix class into a MatrixBase and an inherited MutableMatrix I.e. we have

MatrixBase:
MutableMatrix (the old matrix, still aliased to Matrix)
ImmutableMatrix (this is a Basic that acts like Matrix except for mutability

This pull also includes some additional work in making MatrixExpr's interact nicely with explicitly defined matrices (I.e. MatrixBase objects ). This was related so I merged the two branches.

This pull is not ready for serious review, it is just up to enable commenting.

Issue: http://code.google.com/p/sympy/issues/detail?id=3021
E-mail Thread: https://groups.google.com/group/sympy/browse_thread/thread/f9882fa106ac9726