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!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Statistics Date: Wed, 09 Apr 2014 10:52:13 +0100 Organization: A noiseless patient Spider Message-ID: References: <5342b773$0$470$edfadb0f@dtext02.news.tele.dk> <3f0e9d59-0d0e-459e-8197-cbc388c0ea78@googlegroups.com> <53449355$0$294$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="a0d4eb314a073b71869f2de305ad0700"; logging-data="25375"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eeSxtZDfgDlKj+SPCEDafYZvGtYFYjCM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:e6+DbCd6JmrGu8/bDAOqt7RK6XM= sha1:bOmBCe4Tutw5jha8t7Bs6syKmps= Xref: news.eternal-september.org comp.lang.ada:19201 Date: 2014-04-09T10:52:13+01:00 List-Id: "J-P. Rosen" writes: > Le 09/04/2014 08:37, Simon Wright a écrit : >> If you need asymmetric matrices, you might find Ada 2005 Math Extensions >> useful. >> >> http://sourceforge.net/projects/gnat-math-extn/ > Out of curiosity: it is presented as Gnat-specific. Why? It used to use Interfaces.Fortran.BLAS, which was removed in GNAT GPL 2012/GCC 4.7. AdaCore reimplemented Ada.Numerics to improve portability (to systems that don't have BLAS, LAPACK) at the expense of performance. The body of Ada_Numerics.Generic_Arrays now says with Interfaces.Fortran; with System.Generic_Array_Operations; and I think the latter is a GNAT unit? (of course, anyone could copy it; it doesn't look unusual aside from a pragma Inline_Always). Also, I don't have any other Ada 2005 compiler! The library needs BLAS and LAPACK, easy enough on Mac OS X and Debian, apparently a PITA on Windows.