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

Home » Public Forums » archive » Re: Maximum radius of SEARCH2D/SEARCH3D
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: Maximum radius of SEARCH2D/SEARCH3D [message #34730 is a reply to message #34729] Mon, 14 April 2003 13:41 Go to previous messageGo to previous message
Alexander Gro� is currently offline  Alexander Gro�
Messages: 7
Registered: April 2003
Junior Member
Hi David,

thank you very much. It's working good. For the distance caluculation I used
a for loop. I did not implement the square root function for distance
calculation since this costs CPU time. I raised the allowed maximum radius
to the power of two and compare it to the computed distance each time.

Only for my understanding: Is is possible to do this without the "evil" for
loop? Is there another way to tell IDL that the operation has to be done for
each element of the subscripts array?

Thank you very much for sharing your deep insight of IDL. :-)

Alex

_______________________________________

Alexander Gro�
Dipl.-Ing. (BA) f�r Informationstechnik
AlexanderGross@gmx.de
http://www.it99.org/axl
+49 (0) 1 75/ 410 72 68
ICQ# 36765668
_______________________________________
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Image Plots
Next Topic: Re: Image Plots

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

Current Time: Fri Oct 10 19:06:30 PDT 2025

Total time taken to generate the page: 7.11697 seconds