Re: Avoiding FOR loops (version googleplex.infinity) [message #59781 is a reply to message #59696] |
Thu, 10 April 2008 23:15   |
Gaurav
Messages: 50 Registered: January 2007
|
Member |
|
|
Dear Tom,
The trouble is that coming into this group, I always feel I am a
novice with IDL programming and algorithm designing. Hence, my
reluctance in asserting my views.
For example, my perusal of IDL help documents has led me to the belief
that creating temporary arrays help hasten things up while you mention
something to the contrary. I shall definitely look this up and would
appreciate pointers in the right direction.
As far as your code generating a result different from mine at the
edges is concerned, that-of course-is true. In that respect, my code
produces the same effect as the normal FOR loop, and this has been
verified.
And as for the bug in my code, I definitely stand corrected for my
code would fail if all the array elements in the kernel are different.
Thanks indeed for pointing it out to me.
Thanks indeed,
Gaurav
|
|
|