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

Home » Public Forums » archive » replace integration by summation
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: replace integration by summation [message #84981 is a reply to message #84972] Thu, 20 June 2013 09:28 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
> There is any other way to avoid the loop in INT_TABULATED function? It seems that my idea to use cumulative it doesn't work.

Well, it didn't work the way you've implemented it. Take a look at those notes I posted. You answer is there, assuming the trapezoidal (or rectangle) method works for your data. Look at eq (5.17) and the associated code below. Add a /CUMULATIVE to that command, and this should be what you're looking for.

Again, these methods of integration are not the same as used by INT_TABULATED and will not (in general) give you the same answers.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: convert .dat to .fits
Next Topic: GRID3 Problems

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

Current Time: Fri Oct 10 10:24:00 PDT 2025

Total time taken to generate the page: 0.36588 seconds