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 #84939 is a reply to message #84937] Wed, 19 June 2013 05:08 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Hmm... an all-zero result is typically an indication of user error (it's
pretty difficult to get a bunch of numbers to add up to zero).

What about if, instead of
A2= INT_TABULATED(t[0:i], A1[0:i])
you do
A2= INT_TABULATED(t, A1)
?

What do you get?

In your original post you don't use bounds in the TOTAL() example, so
may as well do the same in the INT_TABULATED() one.

cheers,

paulv

On 06/19/13 05:01, fd_luni@mail.com wrote:
>> You don't really say what is "wrong" about the results you got, so it's hard to judge.
>
> I got all zeros.
>
> Maria
>
[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 01:56:58 PDT 2025

Total time taken to generate the page: 0.00612 seconds