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

Home » Public Forums » archive » Re: IDL is not accurate enough!
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: IDL is not accurate enough! [message #62188 is a reply to message #62177] Thu, 28 August 2008 09:42 Go to previous messageGo to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Thu, 28 Aug 2008, noahh.schwartz@gmail.com wrote:

> Hi,
>
> I've been having problems with IDL accuracy. I'm trying to perform
> calculations using the gamma function. The problem is that it grows
> VERY fast! Performing this calculation in double (namely gamma(x)/
> gamma(y) with x and y big) yields the result: NaN...
> Would it be possible to use a program like 'Mathematica' (or any
> other) and to plug it in my ILD program? Some kind of CALL_EXTERNAL
> that is to say. If it is possible, how can I do it and what is the
> best program to use?
>
> Thanks,
> Noah
>

gamma(x)/gamma(y) => exp(lngamma(x)-lngamma(y))

regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Some questions about "axis"
Next Topic: Re: Segmentation in ENVI

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

Current Time: Sat Nov 29 15:07:51 PST 2025

Total time taken to generate the page: 1.44737 seconds