Re: [sympy] symbol with double colon

2021-11-15 Thread Giorgino R
zer, I have written a guide here that goes over > it https://www.asmeurer.com/brown-water-python/ > > Aaron Meurer > > On Thu, Nov 11, 2021 at 3:32 PM Giorgino R wrote: > >> Hi Oscar, >> >> Many thanks for this, I see. I just went through the documentation and I

Re: [sympy] symbol with double colon

2021-11-11 Thread Giorgino R
start=(1, 6), end=(1, 7), > line='l_::p+3'), > > TokenInfo(type=4 (NEWLINE), string='', start=(1, 7), end=(1, 8), line=''), > > TokenInfo(type=0 (ENDMARKER), string='', start=(2, 0), end=(2, 0), > line='')] > > > I guess you can add

[sympy] symbol with double colon

2021-11-11 Thread Giorgino R
Hi all, I am using `parse_exr` to parse some strings as sympy symbols and then generate cxx code with `cxxcode`. When I use an expression with double colon, parse_expr is trying to split it. In contrast, if I define this expression with Sympy Symbol, I can create cxx code (see below). [image: ima

[sympy] Sympy Geometry polylines

2019-09-27 Thread Giorgino R
Hi there, I was just wondering whether the Geometry module will support polylines or linestrings in future. Is there any work around to create polylines (line consisted of many points) and calculate intersections? Or should I create verctors with segments and iterate through to find the interse