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

Home » Public Forums » archive » The IDL way, summing variable sized slices of array.
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: The IDL way, summing variable sized slices of array. [message #79850 is a reply to message #79758] Thu, 05 April 2012 01:47 Go to previous message
d19997919 is currently offline  d19997919
Messages: 4
Registered: April 2012
Junior Member
Apologies for double post, can't seem to find an edit button. Just a minor bug in the above code

div=div+(div EQ 0)
drift=TEMPORARY(drift)*(div NE 0)+(div EQ 0)

Should be replaced with

drift=TEMPORARY(drift)*(div NE 0)-(div EQ 0)
div=div+(div EQ 0)
[Message index]
 
Read Message
Read Message
Previous Topic: Re: The IDL way, summing variable sized slices of array.
Next Topic: Matrix algebra and index order, A # B vs A ## B

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

Current Time: Sat Oct 11 01:52:38 PDT 2025

Total time taken to generate the page: 1.67951 seconds