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

Home » Public Forums » archive » Number of points inside a contour curve
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: Number of points inside a contour curve [message #52030 is a reply to message #51947] Thu, 21 December 2006 07:55 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
burkina writes:

> while sum lt 0.9*tot_histo do begin
>
> sum = sum + histoden[n_histo-1-k] * (maxvalue-k)
> k = k+1
>
> endwhile

I've got two feet of snow on my (large) driveway, and
my boots are on, and I've stoked myself with Ibuprofen,
so I'm not going to check this out, but couldn't this
loop be replaced with a cumulative total (I.e., TOTAL
with the CUMULATIVE keyword set)?

Cheers,

David

P.S. Alas, the only reason I *had* so many sons
was for days like this, and with the airport closed
they can't even get here. Sigh...

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Formatting string
Next Topic: ENVI and the IDL Virtual Machine

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

Current Time: Sun Oct 12 10:44:05 PDT 2025

Total time taken to generate the page: 1.36240 seconds