Related topic. Why does Basic have attributes like is_Rational? Shouldn't
that be under Expr?
There has also been talk of not using these in favor of isinstance(obj,
obj.func)
On Fri, Jun 21, 2013 at 12:24 AM, Chris Smith smi...@gmail.com wrote:
One of the solutions which Christopher Smith
Hello everyone,
I was trying to fix an error which arises due to the missing attributes in
MutableMatrix. Eg Matrix.eye(3).is_Piecewise fails but
S(Matrix.eye(3)).is_Piecewise
returns false which doesn't mean that S() turns it into an ImmutableMatrix.
These are attributes which are
One of the solutions which Christopher Smith suggested was to define a
BasicBase class in basic.py and migrate these attributes to that class.
My thinking here is to allow non-Basic entities (like Matrix) that may be
encountered (e.g. in solve) to at least have the is_Foo attributes at least