Justin,I don't think there is a debate. We have a very nice vector representation in the physics package, but it is based on mutable types and isn't very general. We created the sympy.vector package to make a more general vector object that was based on immutable types with the idea that the physics vector could eventually be deprecated. Our new implementation may not be general enough for the mathematicians' taste and we are willing to improve it so that it is, but we would still want it to eventually allow us to deprecate sympy.physics.vector. The addition of vectors from different coordinate systems is essential to this plan. So whatever you want to do to improve the package will have my support but I hope that you will keep this intended use case in mind when you think about bigger design changes.
I will remove the post in 10 minutes.Regards,Justin
--
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/62ee7903-d029-4c59-9a87-7d45c5354bb2%40googlegroups.com.
On Fri, Oct 23, 2015 at 6:25 PM, Justin <jbly...@gmail.com> wrote:I have a terrible way of wording things.. more of a discussion between myself and the author where he mentioned that I should ask the community what they think.
On Friday, October 23, 2015 at 6:43:51 PM UTC-4, Jason Moore wrote:Justin,I don't think there is a debate. We have a very nice vector representation in the physics package, but it is based on mutable types and isn't very general. We created the sympy.vector package to make a more general vector object that was based on immutable types with the idea that the physics vector could eventually be deprecated. Our new implementation may not be general enough for the mathematicians' taste and we are willing to improve it so that it is, but we would still want it to eventually allow us to deprecate sympy.physics.vector. The addition of vectors from different coordinate systems is essential to this plan. So whatever you want to do to improve the package will have my support but I hope that you will keep this intended use case in mind when you think about bigger design changes.I come from a physics background and can't see when or why this would be useful so my opinion is certainly biased. As to the generality of the package there are no constrains on doing this and, bias and all, this tells me there ought to be some. I am new to contributing so I will keep my head down and add functionality as you mentioned. I am not trying to step on toes here...A vector (e.g. the mathematical object, not necessarily its representation) should be independent of the coordinate system, no? So long as there are well-defined translations between the coordinate systems, it should certainly be possible to do arithmetic operations on two vectors whose representations are written down in different coordinate systems.
--
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/e1c47552-167f-4cb1-aa33-19bb896af677%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "sympy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sympy/63HmWN4GgCU/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAP7f1AgFKCvB3BnyZejf-kCvGmoPE3%3DYqRMUF78C3mNwuMKffw%40mail.gmail.com.
In my opinion, the second case should raise an exception. It's about calculating a differential operator, not about building the expression which should always be possible.
I don't think there is a debate.