comp.lang.ada
 help / color / mirror / Atom feed
From: Colin Paul Gloster <Colin_Paul_Gloster@ACM.org>
Subject: Re: Where I find Bessel function for Ada ?
Date: Fri, 19 Dec 2008 12:39:40 +0000
Date: 2008-12-19T12:39:40+00:00	[thread overview]
Message-ID: <Pine.WNT.4.64.0812191227180.1556@abril> (raw)
In-Reply-To: <YDC_k.8911$x%.65@nlpi070.nbdc.sbc.com>

On Sat, 6 Dec 2008, Nasser Abbasi wrote:

|-----------------------------------------------------------------------------|
|"[..]                                                                        |
|> On 2008-11-26 06:57:09 -0600, "Dmitry A. Kazakov"                          |
|> <mailbox@dmitry-kazakov.de> said:                                          |
|>                                                                            |
|>> 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:                                        |
|>>                                                                           |
|....                                                                         |
|[..]                                                                         |
|                                                                             |
|That is the problem with using Ada for scientific software.                  |
|                                                                             |
|The language is great for scientific software implementation, but it comes   |
|with limited number of related functions ready to use.                       |
|                                                                             |
|It is not practical for someone to implement these functions from scratch    |
|each time they want to use one in their scientific application. It takes a   |
|long time to develop robust mathematical functions.                          |
|                                                                             |
|Is it not possible to link to some C library which has the implementation of |
|this function? I am sure there is some C code out there which does this.     |
|Write a binding to it?"                                                      |
|-----------------------------------------------------------------------------|

It is possible to link Ada code to code written in another
language. However widely used C and FORTRAN code from for example
"Numerical Recipes" is not robust, so to write robust scientific
software one would need to find a robust implementation. If a robust
implementation has not already been found, then writing it yourself is
not so much a drawback of Ada because you would need to do it anyway
no matter what language you would be using.

When using C or FORTRAN, which libraries have you found to be robust?
(I do not need to ask you which libraries have you used for
Mathematica; Maple; nor MATLAB. ;) )



  parent reply	other threads:[~2008-12-19 12:39 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
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 [this message]
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