[sympy] How to create a vector function in sympy with actual vectors, that can be transformed between coordinate systems?

2021-10-22 Thread Andreas Schuldei
I saw this https://stackoverflow.com/questions/46993819/how-to-create-a-vector-function-in-sympy which uses Matrix() as a workaround to create a vector. The author says, that it can not be transformed between coordinate systems, like real vectors, though. I need to transform my input and o

Re: [sympy] How to create a vector function in sympy with actual vectors, that can be transformed between coordinate systems?

2021-10-22 Thread Andreas Schuldei
t; perhaps I could give you an example of how to do it in galgebra. > On 10/22/21 3:15 AM, Andreas Schuldei wrote: > > I saw this > https://stackoverflow.com/questions/46993819/how-to-create-a-vector-function-in-sympy > > which uses Matrix() as a workaround to create a vector. Th

Re: [sympy] How to create a vector function in sympy with actual vectors, that can be transformed between coordinate systems?

2021-10-24 Thread Andreas Schuldei
um 03:33:38 UTC+2: > Attached is the code and pdf output for all three cases. > On 10/23/21 2:11 AM, Andreas Schuldei wrote: > > I am putting together the components of a vector field (a magnetic field, > caused by a current in several conductors) in cartesian coordinates. The >

Re: [sympy] How to create a vector function in sympy with actual vectors, that can be transformed between coordinate systems?

2021-10-25 Thread Andreas Schuldei
p.dot(p) a**2 + b**2 + c**2 dot(p,p) Traceback (most recent call last): File "", line 1, in File "C:\Users\Andreas Schuldei\PycharmProjects\lissajous-achse\venv\lib\site-packages\sympy\physics\vector\functions.py", line 31, in dot raise TypeError('Dot produ

[sympy] How to narrow down "Invalid argument types for subtraction" in a system of equations?

2021-10-29 Thread Andreas Schuldei
I have a system of longish equations and when calling .solve() on it, I get this traceback: Traceback (most recent call last): File "C:/Users/Andreas Schuldei/PycharmProjects/lissajous-achse/hgü-kabel-detektion-symbolic.py", line 109, in result = solve(equations, (CM0, theta_

[sympy] Re: How to narrow down "Invalid argument types for subtraction" in a system of equations?

2021-10-30 Thread Andreas Schuldei
it cannot handle vector > equations. There should probably be separate equations for the components. > > Kalevi Suominen > On Saturday, October 30, 2021 at 9:28:06 AM UTC+3 Andreas Schuldei wrote: > >> I have a system of longish equations and when calling .solve() on it,

[sympy] Re: How to narrow down "Invalid argument types for subtraction" in a system of equations?

2021-10-30 Thread Andreas Schuldei
ions. There should probably be separate equations for the components. > > Kalevi Suominen > On Saturday, October 30, 2021 at 9:28:06 AM UTC+3 Andreas Schuldei wrote: > >> I have a system of longish equations and when calling .solve() on it, I >> get this traceback: >

[sympy] Re: How to narrow down "Invalid argument types for subtraction" in a system of equations?

2021-10-30 Thread Andreas Schuldei
:28:06 AM UTC+3 Andreas Schuldei wrote: > >> I have a system of longish equations and when calling .solve() on it, I >> get this traceback: >> >> Traceback (most recent call last): >> File "C:/Users/Andreas >> Schuldei/PycharmProjects/lissajo

Re: [sympy] Re: How to narrow down "Invalid argument types for subtraction" in a system of equations?

2021-10-31 Thread Andreas Schuldei
gorithm at this problem, even though that most likely would work, because I hope to better understand the problem (and solution) by solving it symbolically. Oscar schrieb am Sonntag, 31. Oktober 2021 um 12:45:36 UTC+1: > On Sat, 30 Oct 2021 at 15:41, Andreas Schuldei > wrote: >

Re: [sympy] Re: How to narrow down "Invalid argument types for subtraction" in a system of equations?

2021-11-01 Thread Andreas Schuldei
Remember Hamilton's i, > j, and k are isomorphic to the basis vectors but they are not vectors > themselves. > > On 10/31/21 6:50 PM, Oscar Benjamin wrote: > > On Sun, 31 Oct 2021 at 20:10, Andreas Schuldei > wrote: > >> Thank you very much, Oscar. That is

Re: [sympy] Re: Plotting

2021-11-11 Thread Andreas Schuldei
Asymptote is capable of creating high-quality drawings, on par with what you would find in Springer books. I feel it produces superior results. Am Do., 11. Nov. 2021 um 14:02 Uhr schrieb Alan Bromborsky < abrombo...@gmail.com>: > FYI attached is a figure I generated with Asymptote for a Foucault

Re: [sympy] Looking for reviewers: Update of German SymPy webpage

2022-01-14 Thread Andreas Schuldei
I started a review. not sure if you can see that already. I will continue as i manage. Am Fr., 14. Jan. 2022 um 01:03 Uhr schrieb Sebastian Ehlert < awv...@gmail.com>: > Hi everybody, > > this is my first time posting here. I'm actually not a SymPy user, but > came across the SymPy webpage by a r