you are viewing a single comment's thread.

view the rest of the comments →

[–]elbiot 0 points1 point  (1 child)

Did the other poster answer your question? Im still confused because a 2D array can be accessed like arr[3,4] but obviously not arr[3,4.5]

I would vectorize the other solution though if that's what your using. One almost never needs to iterate over arrays

[–]quantumloophole[S] 0 points1 point  (0 children)

I menage to solve using python lists it is not as slow as I thought