by pfdietz · 7y ago · 0 comments
It turns out this can be done (to sufficient accuracy) in nearly linear time using something called the fast multipole method.
http://www.umiacs.umd.edu/labs/cvl/pirl/vikas/publications/F...
I wouldn't consider the "O(log n) chunks" trick all that complex, btw, although Tarjan did have to point it out to me when I should have used it.