comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Where I find Bessel function for Ada ?
Date: Wed, 26 Nov 2008 13:57:09 +0100
Date: 2008-11-26T13:57:09+01:00	[thread overview]
Message-ID: <ff3gaje5z87t$.c8792s1r4nz3.dlg@40tude.net> (raw)
In-Reply-To: ccf0cc26-f19d-4457-941e-de15ed0a38dd@j39g2000yqn.googlegroups.com

On Wed, 26 Nov 2008 03:05:23 -0800 (PST), gautier_niouzes@hotmail.com
wrote:

>> I want to use the modified Bessel function of order 0 in my Ada
>> program.
>>
>> Where I find it ?
> 
> It is in the Numerical Recipes in Pascal, chapter 6.4, pp 191.
> All you need to pick the right Pascal source, like bessj0.pas
> and put it through th P2Ada translator: http://p2ada.sf.net/
> The NR sources are freely available on the Internet.

Well, if there is no Ada code, then I would also consider to implement it
from scrap. There is an excellent book "Mathematical Functions and Their
Approximations" by Yudell L. Luke:

http://www.amazon.com/Mathematical-Functions-Their-Approximations-Yudell/dp/0124599508

If I correctly remember it contains coefficients of Chebyshev polynomial
approximations for various Bessel functions with a huge number of decimal
places. Chebyshev polynomes are fairly simple and efficient to sum.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2008-11-26 12:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26  8:40 Where I find Bessel function for Ada ? reinkor
2008-11-26 11:05 ` gautier_niouzes
2008-11-26 12:57   ` Dmitry A. Kazakov [this message]
2008-12-03  4:18     ` R. B. Love
2008-12-03 13:22       ` Dmitry A. Kazakov
2008-12-03 14:24         ` Hyman Rosen
2008-12-03 14:54           ` Dmitry A. Kazakov
2008-12-06 22:02       ` Nasser Abbasi
2008-12-06 22:37         ` Per Sandberg
2008-12-19 12:39         ` Colin Paul Gloster
2008-12-19 23:30           ` Jerry
2008-11-26 13:08   ` Paul Cole Gloster
2008-11-26 15:09     ` Ken Thomas
2008-11-26 16:12       ` Ludovic Brenta
2008-11-26 17:17         ` Dmitry A. Kazakov
2008-11-27  3:07 ` Jerry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox