Sep-03-2020, 06:13 AM
(Sep-03-2020, 06:10 AM)buran Wrote: what object is used to represent a point - tuple/named tuple, custom class?
this lineif x(i)=x(j) and y(i)=y(j) and z(i)=z(j) and p(i)=p(j)
suggest you have separate collections for each attribute, but using () to access elements would not work. unless this is pseudo-code.
Hello
i have x,y,z and P in separated columns,,,i have one list for x, one for y , ...
i am looking for a new programming logic or simplify my for in for loop, because for 10000 points it should compare 10000 x 10000 states and it rakes a lot of time with no answer at the end!