Another approach would be to write a traditional vector calculus module that uses the geometric algebra package in the background. I don't know enough about geometric algebra to know if that is actually possible. But maybe. Alan could probably comment.
The sympy.physics.vector module can be improved, but keep in mind that Prasoon's work is essentially what that is. We'd ideally need a vector calculus package that is in the top level name space of sympy which would replace sympy.physics.vector functionality. The main hurdle is the fact that we rely heavily on immutability in sympy.physics.vector and the new vector classes should be immutable and based on core SymPy classes. Jason moorepants.info +01 530-601-9791 On Mon, Feb 17, 2014 at 9:22 AM, Sachin Joglekar <[email protected]>wrote: > Thats definitely a plan. I am going to send a PR soon with the grad, curl, > divergence and scalar potential functions that a basic electrostatics > module would need. What further enhancements can you think of to the > module? Have a look at the code and share your ideas. > About implementing a vector module for SymPy, there are various upsides to > that. First off, having a core based on SymPy's architecture would probably > be much faster than the current implementation (Provided we can provide it > as much flexibility as the current one has, with the constraint of > immutability). Second, we would like the physics vector-related stuff to be > more homogeneous with the rest of SymPy, which it currently is not. > However, last summer we did realise that's not an easy job. I would still > suggest you look at Prasoon's code (and the the small amount I tried) and > see whether you can build such a module. > > > On Monday, February 10, 2014 7:09:44 PM UTC+5:30, Rajath Shashidhara wrote: > >> Hello, >> >> I'm interested in implementing electrodynamics in sympy. >> Any thoughts about this? >> >> I don't seem to find any documentation about grad, divergence, and curl. >> Are they implemented? >> I'm willing to do this as well. >> >> Please give me feedback. >> >> Thanks. >> > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
