On Fri, Apr 17, 2009 at 07:32:42PM -0700, Luke wrote: > > I am working with some sympy Functions that are dependent upon a sympy > Symbol 't'. For example: > t = Symbol('t') > q1 = Function('q1')(t) > > When q1 is printed I get: > q1(t) > Similarly, when q1.diff(t) is printed I get: > D(q1(t), t) > > I would instead like the following behavior: > In: print q1 > Out: q1 > In: print q1.diff(t) > Out: q1'
This it not possible with the current sympy as far as I know. > Basically, the Functions that I am working with are generalized > coordinates, and their time dependence is implied so having the (t) > just makes all the expressions really long and hard to look at. > Similarly for q1.diff(t). May be you can do your calculations with two different symbols: q1, q1_dot (or Dq1) You could tell us more about your problem in hope we can find a practical solution. By, Friedrich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---