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

Home » Public Forums » archive » Re: Sum along diagonals
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: Sum along diagonals [message #21457 is a reply to message #21455] Fri, 25 August 2000 00:00 Go to previous messageGo to previous message
mole6e23 is currently offline  mole6e23
Messages: 31
Registered: December 1998
Member
craigmnet@cow.physics.wisc.edu wrote:
> How about this solution. It's not a one-liner, and it uses two loops,
> [snip]

That works just fine! Once again, I am duly impressed. I'm sure it took me
longer to figure out your code than it did for you to write it! Absolutely
amazing. Having read this newsgroup for a while, I'm beginning to wonder
if there is an IDL question you can't answer. (Rhetorical - not meant to
open a can of worms such as the top requested feature thread!)

> There you go! This is a speedy devil on my machine.

It sure is! I put your code into my code, and the running time went from
3.66 seconds <ahem> down to 0.15 seconds for each 512x512 image. It took a
2700x2700 'image' to make your code take 3.6 seconds!

Todd
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Texture mapping onto DEM
Next Topic: Re: IDL 5.2 array definition question.

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

Current Time: Sat Oct 11 00:56:30 PDT 2025

Total time taken to generate the page: 1.67735 seconds