|
|
|
|
|
by amrx431
2568 days ago
|
|
Few questions: 1. Where can I find that algorithm you are talking about? 2. The algorithm which you stated seems a bit complex from the algos taught in the undergrad level, so what are the pre-requisites for understanding it that I must be aware of? 3. What books or papers you would suggest for reading? 4. How the hell you remember something you read decades ago :)? |
|
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.