To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/bb8833fa-0877-433a-ab7f-e935f0e5fdaf%40googlegroups.com.--
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 sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
Hello,
a couple of things struck me when I was looking at the mail regarding a proposed
group theory project by Vamsi.
a) The manifolds in rn.py just need to setup a coordinate system, since the parameterisation
is the identity map. How would one describe, say, Sn?
b) can we simply do plot(manifold) to visualise it?
Since this seems to be of a more elementary nature as compared to the LieGroup thing,I think it will be a good exercise to write sn.py in the nature of rn.py which implementsS1 and S2. It should also help me get a better hang of the code.
Supposing you mean the N-sphere by Sn, a sphere cannot be mapped by one single patch. You need at least two. Patches are currently just containers, there is no way as of now to define coordinate transition functions between overlapping patches.
Anyways, I don't think that a manifold should be represented by its embedding into the Euclidean space (in the case of Sn, a map from one vector of Sn to a vector in R_(n+1) ). Once you have a coordinate system on a patch, you can define your own function mapping its coordinates to the Euclidean space.
Visualizing a manifold depends on the embedding you choose. A plot is basically a projection from the manifold to 2D or 3D Euclidean space, so as soon as you have a map to do that, you can plot the manifold.
As there are currently no ways to define transition functions among patches, defining S1 and S2 is identicaly to define R1 and R2.
Thanks, Francesco.Supposing you mean the N-sphere by Sn, a sphere cannot be mapped by one single patch. You need at least two. Patches are currently just containers, there is no way as of now to define coordinate transition functions between overlapping patches.Yes, I noticed that the Patch class would not be able to do this. Hence, I was thinking being able to representSn consistently would be a useful use-case to add the required machinery, if you think something like this makes
sense.
Anyways, I don't think that a manifold should be represented by its embedding into the Euclidean space (in the case of Sn, a map from one vector of Sn to a vector in R_(n+1) ). Once you have a coordinate system on a patch, you can define your own function mapping its coordinates to the Euclidean space.I agree with you, this is probably the correct approach. Then the question is, where would this function existwithin Sympy? Should a Manifold class, which would contain the patches, contain an optional Embedding class/attributecorresponding to each Patch?
Visualizing a manifold depends on the embedding you choose. A plot is basically a projection from the manifold to 2D or 3D Euclidean space, so as soon as you have a map to do that, you can plot the manifold.Agreed. Going back to my previous paragraph, what do you think is the best way to handle such a map (and hence the
plotting capability)?
As there are currently no ways to define transition functions among patches, defining S1 and S2 is identicaly to define R1 and R2.Then, the only way to tell S1 and R1 apart would be to associate them with a metric? Then again, where should thismetric be stored?
--
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 sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CA%2BphhE%3D9n8yVPoBid%2BCZ%3DOqa7vc39XyPop3EzEuEfXEQgfhvEg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/54A00C67.6080202%40verizon.net.