[sympy] Re: vector calculus (cylindrical/spherical coordinates)

2014-08-13 Thread Sachin Joglekar
Hello Thomas, Can you give an example of the kind of operations you would like to do with the vector module? Maybe we can think of ideas those things could be implemented in the vector module and plan it that way. As Jason mentioned, the documentation for the current stuff will be up on Sphnix

[sympy] Coefficients of functions and derivatives of functions

2014-08-13 Thread Alan Bromborsky
If I have a sympy expression that contains general functions, say F1, F2, etc. and partial derivatives of the functions what is the best way to determine the coefficients of the functions and derivatives assuming the expression is a linear function of F1, F2, etc. and the partial derivatives an

Re: [sympy] Coefficients of functions and derivatives of functions

2014-08-13 Thread Alan Bromborsky
On 08/13/2014 04:40 PM, Alan Bromborsky wrote: If I have a sympy expression that contains general functions, say F1, F2, etc. and partial derivatives of the functions what is the best way to determine the coefficients of the functions and derivatives assuming the expression is a linear function

Re: [sympy] Default value for Symbol

2014-08-13 Thread Aaron Meurer
On Sun, Aug 10, 2014 at 8:58 PM, Stewart Wadsworth < stewart.wadswo...@gmail.com> wrote: > Aaron, > > Thanks for the tip. _eval_evalf made it a lot simpler. > > The problem I'm having now is I'm trying to do some multiple inheritance > where I inherit from Symbol and another class that I've writte

[sympy] dynamics and IPython notebook

2014-08-13 Thread Rathmann
Hello, I have been watching the lectures of Susskind's "Theoretical Minimum" course, and using Sympy with IPython notebook to take notes, and work through some of the examples. Sympy is serious overkill for this purpose, but overall it has been working well. A couple of questions: - What

Re: [sympy] dynamics and IPython notebook

2014-08-13 Thread Jason Moore
You can subclass a printer and have it do what you want. You can see here: https://github.com/sympy/sympy/blob/master/sympy/physics/vector/printing.py#L145 where we subclass the latex printer and get the \dot{} notation for derivatives, for example. There is also an example here: http://docs.sym

Re: [sympy] dynamics and IPython notebook

2014-08-13 Thread Jason Moore
Oh, you should use sympy.physics.vector.init_printing() If you want the dot notation in latex in your notebooks. Jason moorepants.info +01 530-601-9791 On Wed, Aug 13, 2014 at 10:23 PM, Jason Moore wrote: > You can subclass a printer and have it do what you want. You can see here: > > > htt

Re: [sympy] dynamics and IPython notebook

2014-08-13 Thread Tim Lahey
Hi, Since Euler-Lagrange equations are useful outside of physics, that's why there's a method in the calculus module. But, like Jason said, you'll probably want to use the one in the physics module to take advantage of the other features. Cheers, Tim. On 2014-08-14, at 1:13 AM, Rathmann wro