On Monday, February 3, 2014 1:12:32 PM UTC+1, Rajath Shashidhara wrote: > > I was basically looking for something that is a convergence of both > Physics and Computer Science > > You're in the right place :)
> Is there any package related to *relativity* in SymPy? > Has anybody worked on it? > Do you mean special relativity or general relativity? Regarding special relativity, I would suggest to create objects representing 4-vectors, Lorentz tensors and spinor representation, and represent the corresponding Lorentz/Poincaré transformations (both tensor and spinor ones). I wrote some draft by myself which I did not share, as it is incomplete, about tensor/spinor representations of 4-vectors and Dirac spinors, using the tensor module http://docs.sympy.org/latest/modules/tensor/tensor.html The tensor module approach to special relativity has some advantages over the matrix/vector approach: - you can work with more than 2 rank tensors (matrix is a 2 rank, vector a 1 rank, the number of indices I mean). - you can mark the tensor index type, i.e. the representation the tensor/spinor undergoes with a Lorentz/Poincaré transformation. I think that it would also be interesting to create objects for the Dirac and Klein-Gordon fields, so we have a relativistic generalization of the quantum module. Concerning general relativity, have a look at this: http://krastanov.files.wordpress.com/2012/07/schwarzschild.pdf I hope to have a good time contributing to this project. > > - RAJATH S > > -- 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.
