Open asmeurer opened 13 years ago
Hrm, the Symbol(...)(t) syntax is new to me.
A temporary fix might be to disable this syntax for MatrixSymbols until someone builds a MatrixFunction class. I may get to this but its not likely to be in the immediate future.
More long term is the goal here to have matrix valued functions? What are some compelling use cases? Most of the time when I think of derivatives and matrices I think more of gradients of vector valued functions, not differentiating w.r.t. a matrix symbol (although this happens too of course).
Original comment: http://code.google.com/p/sympy/issues/detail?id=2756#c1 Original author: https://code.google.com/u/109882876523836932473/
So actually we would want to support functions of matrices as well as functions of real (or complex) parameters. I guess we could just have one MatrixFunction and it could be inferred from the type of the argument.
Symbol()(t) converts to Function()(t) because this allows the parser to just convert all unknown names into Symbols, without having to check if they really should be Functions. Since the parser won't handle MatrixSymbol, I think just disabling this for now is a good fix.
Original comment: http://code.google.com/p/sympy/issues/detail?id=2756#c2 Original author: https://code.google.com/u/asmeurer@gmail.com/
See also issue 5858 (which is a much more important issue to fix, btw, as our computed derivatives with respect to matrices are simply wrong).
Referenced issues: #5858 Original comment: http://code.google.com/p/sympy/issues/detail?id=2756#c3 Original author: https://code.google.com/u/asmeurer@gmail.com/
**Status:** Valid
Original comment: http://code.google.com/p/sympy/issues/detail?id=2756#c4 Original author: https://code.google.com/u/asmeurer@gmail.com/
Is this still worked on, if not, is there an alternative to being able to to define vectors/matrices that are "dynamic symbols" (i.e. functions of t) for use with kinematics/dynamics package?
Original issue for #5855: http://code.google.com/p/sympy/issues/detail?id=2756 Original author: https://code.google.com/u/asmeurer@gmail.com/ Referenced issues: #3539 Original owner: https://code.google.com/u/asmeurer@gmail.com/