On 29 fév, 19:53, Matthew Rocklin <[email protected]> wrote:
> So, the simple answer is that SymPy doesn't currently support matrix
> exponentials. I.e. we don't support expressions of the type a**B where B is
> a matrix.
I've guessed that reading the code. Would it be hard for me to
implement the missing MatPow function ?

> <http://code.google.com/p/sympy/issues/detail?id=3119>For your immediate
> problem it's possible you could find a solution. You've gotten surprisingly
> far already. Whenever you multiply by I you're forcing sympy to turn the
> expression back into a matrix.
Would it be possible to create a specific exp function, that inherits
from ExpBase, or Exp, and that would return expr that have
MatrixSymbol type ?

It may avoid to add the "I" matrix to coerce expression into the
matrixSymbol type, no ? And hence the simplification should work ?

> Are you working off of a git branch
> somewhere?
>

Following your coding guidelines, I've created a github repository :
[email protected]:kayhman/sympy.git.

-- 
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.

Reply via email to