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

Home » Public Forums » archive » Speed problem
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: Speed problem [message #42900 is a reply to message #42813] Wed, 02 March 2005 10:19 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
Why do you even do the first where? Why not just do:

b = where( (y-pixel_y)^2+(z-pixel_z)^2 le radius^2 ) ?

Anyway, Your code only takes me about 20 ms?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL + Linux (Ubuntu) ??
Next Topic: make_dll and call_external....

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

Current Time: Wed Oct 08 19:55:20 PDT 2025

Total time taken to generate the page: 0.00375 seconds