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

Home » Public Forums » archive » integration in idl
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: integration in idl [message #82697 is a reply to message #82607] Mon, 07 January 2013 14:27 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On 1/5/13 6:49 AM, sid wrote:
> Hello everyone,
> I have to do integration for this equation
> f=I(i,x)*costheta(x)*sintheta(x)
> x is the limit from 0 to 90
> this i in the above equation also varies from 0 to 35 values.
> so result f should be an array.
> How to do the integration for this kind of array.
> I wrote a function
> and used qromb for integration but it didnt work.
> this array is creating problem and I couldnt solve it. Please do help me out in this case.
> thanking you in advance,
> sid
>

Unfortunately, there's not a good vectorized way of doing this. You're
going to have to loop through the different values of i.

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: K-Mean clustering
Next Topic: Integration

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

Current Time: Wed Oct 08 17:47:32 PDT 2025

Total time taken to generate the page: 0.00455 seconds