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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Any good package for mathematical function in Ada? Date: Sun, 31 May 2020 13:26:38 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <45af26dc-c35f-4a01-8115-7b30021cc064@googlegroups.com> NNTP-Posting-Host: 2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:58899 Date: 2020-05-31T13:26:38+02:00 List-Id: On 31/05/2020 12:46, reinert wrote: > I would like to use for example the bessel function from Ada. Do you mean something concrete? I don't remember how many dozens Bessel functions and integrals exist. You need all of them? > I need in case to program it from scratch? That depends on the approximation method, of which there are lots. Something universal, well, if you have coefficients of Chebyshev series e.g. from https://www.amazon.com/Special-Functions-Their-Approximations/dp/0124110371 I have an Ada implementation for: http://www.dmitry-kazakov.de/ada/components.htm#15.2 > Any hint? If you need something concrete and frequently used, you certainly could find a library and use it. Ada bindings to a mathematical library is a matter of minutes to do. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de