Re: [sympy] Cylindrical polar unit vectors

2021-08-13 Thread Oscar Benjamin
On Fri, 13 Aug 2021 at 14:06, Davide Sandona' wrote: >> >> Although the scalars are r, theta and z the unit vectors are i, j and >> k. How would I get vectors like e_r and e_theta to work with those? > > As of now, that's not possible. It is hard-coded and it only represents cartesian unit vectors

Re: [sympy] Cylindrical polar unit vectors

2021-08-13 Thread Davide Sandona'
By the way, what are the differences between sympy.vector and sympy.physics.vector ? Why two different modules? Davide. Il giorno ven 13 ago 2021 alle ore 15:06 Davide Sandona' < sandona.dav...@gmail.com> ha scritto: > Although the scalars are r, theta and z the unit vectors are i, j and >> k.

Re: [sympy] Cylindrical polar unit vectors

2021-08-13 Thread Davide Sandona'
> > Although the scalars are r, theta and z the unit vectors are i, j and > k. How would I get vectors like e_r and e_theta to work with those? > As of now, that's not possible. It is hard-coded and it only represents cartesian unit vectors [1] As per the SO question, I don't think SymPy is curre

[sympy] Cylindrical polar unit vectors

2021-08-13 Thread Oscar Benjamin
Hi all, Does anyone know how to use cylindrical polars with SymPy's vector module? I just saw this SO question here: https://stackoverflow.com/questions/68767945/how-do-i-work-with-vectors-in-cylindrical-and-spherical-systems-with-sympy We can define a coordinate system like this: In [25]: from