Article View: comp.lang.fortran
Article #6561Re: Fastest code for Gamma function
From: T.S. Lim
Date: Sun, 07 May 2000 00:00
Date: Sun, 07 May 2000 00:00
25 lines
1748 bytes
1748 bytes
In article <fGNQ4.51301$WF.2761743@bgtnsc04-news.ops.worldnet.att.net>, leowood@worldnet.att.net says... > >Hi all -- > >I need to compute the gamma probability density function g(x;a,b)=C(a,b) >x**(a-1) exp(-x/b) on the order of 10**10 calls (on many different >occasions) and thus would like to use the FASTEST algorithm available. It >must also be double precision with 14 or 15 decimal places of accuracy. >Advice/coded FORTRAN solutions greatly appreciated. Other language >solutions also welcome, if the speed and accuracy is achieved. > >Thanks, Leonard The usual algorithm Statistics people use is the routine in Applied Statistics (available at Statlib http://lib.stat.cmu.edu). No idea how fast it's for your purpose. -- T.S. Lim lim@recursive-partitioning.com www.Recursive-Partitioning.com ______________________________________________________________________ Get paid to write a review! http://recursive-partitioning.epinions.com
Technical Details
Message-ID:
<8f2r70$6af$1@nntp9.atl.mindspring.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<fGNQ4.51301$WF.2761743@bgtnsc04-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d632,8bad7910b3fe0dc6 X-Google-Attributes: gid10d632,public X-Google-Thread: 104500,8bad7910b3fe0dc6 X-Google-Attributes: gid104500,public X-Google-Thread: 1094ba,8bad7910b3fe0dc6 X-Google-Attributes: gid1094ba,public From: nospam@NOSPAM.recursive-partitioning.com (T.S. Lim) Subject: Re: Fastest code for Gamma function Date: 2000/05/07 Message-ID: <8f2r70$6af$1@nntp9.atl.mindspring.net> X-Deja-AN: 620172447 References: <fGNQ4.51301$WF.2761743@bgtnsc04-news.ops.worldnet.att.net> Content-Type: Text/Plain; charset=US-ASCII Organization: Recursive-Partitioning.com Mime-Version: 1.0 Reply-To: lim@recursive-partitioning.com Newsgroups: comp.lang.fortran,computer42.statistik,sci.stat.math