We need to have some way to store unevaluated immutable matrix multiplications. I use this on rare occasion, mostly for the latex printing.
So we can do MatMul(..., evaluate=False) in this case but this is a bit misleading because I want the MatMul to simplify the expression in all ways except explicitly multiplying the ImmutableMatrices. Is there a problem with just having ImmutableMatrix.__mul__ look out for interactions with other ImmutableMatrices before creating a MatMul? This is a relatively clean short-circuit. This also maintains the separation between the expression and dense matrix sub-modules. I.e. it would be unfortunate to have checks for ImmutableMatrix in MatExpr land. We would have to cross sub-modules. On Sat, Mar 24, 2012 at 9:19 AM, [email protected] < [email protected]> wrote: > How about making MatExpr evaluate by default as it is the thing most > frequently requested at the moment and leaving the rest until the need > for it arises? > > -- > You received this message because you are subscribed to the Google Groups > "sympy" 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?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
