comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: data inside a circle
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: data inside a circle [message #44356 is a reply to message #44355] Fri, 10 June 2005 15:46 Go to previous messageGo to previous message
Rob Dimeo is currently offline  Rob Dimeo
Messages: 17
Registered: November 1999
Junior Member
You might want to check out the following:

http://www.dfanning.com/code_tips/slowloops.html


angela wrote:
> Hello,
> I have a list of x,y coordinates and I am trying to make circles of
> different centers and radii and find how many of the data points are
> inside in the different circles. Do you happen to know an elegant way
> to do that?
> I have tried to do that using FOR loops but my data points are about
> 10,000 and the number of circles are about 160,000, so it takes about
> 2-3 hours for my program to run. I was wondering if you know of a
> faster way to do that.
>
> Thank you,
> Angela
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Determine if class has method/property
Next Topic: JAI and HDF

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 29 00:41:17 PDT 2025

Total time taken to generate the page: 0.03731 seconds