From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6d7a86bff9319841 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!Colin_Paul_Gloster From: Colin Paul Gloster Newsgroups: comp.lang.ada Subject: Re: Where I find Bessel function for Ada ? Date: Fri, 19 Dec 2008 12:39:40 +0000 Organization: A noiseless patient Spider Message-ID: References: <2008120222180516807-rblove@airmailnet> Reply-To: Colin Paul Gloster Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.eternal-september.org U2FsdGVkX1+Y9xyjKQwktrkuhBi7CO4Icpn8C0SxtYc+nUWHc4BSDluoE+eAXHesyGbDsVtvFq6MyrjNW2cOyyHvh16ieUZkLsN9iao5lfG0wtzUf1Mn7dUU8s8dHyB2lwjwDItAYOeTL8uR5RE4BA== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Fri, 19 Dec 2008 12:27:15 +0000 (UTC) In-Reply-To: X-Auth-Sender: U2FsdGVkX1+Clzb+x/Lf1BAf5hg3pVY0OT7V0W5q6Yi2AXBFkJtKmgS68Ea/41IsTjh5bCJUQLs= Cancel-Lock: sha1:2NSXPhy31MG34ZvLkHYVYeMPnsE= X-X-Sender: Colin_Paul_Gloster@gian.fis.uc.pt Xref: g2news2.google.com comp.lang.ada:4018 Date: 2008-12-19T12:39:40+00:00 List-Id: On Sat, 6 Dec 2008, Nasser Abbasi wrote: |-----------------------------------------------------------------------------| |"[..] | |> On 2008-11-26 06:57:09 -0600, "Dmitry A. Kazakov" | |> 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. ;) )