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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c4cb2c432feebd9d X-Google-Thread: 1094ba,c4cb2c432feebd9d X-Google-Attributes: gid103376,gid1094ba,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 23 May 2006 16:17:50 -0500 Date: Tue, 23 May 2006 22:17:49 +0100 From: Martin Dowie User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.lang.fortran Subject: Re: Ada vs Fortran for scientific applications References: <44734543.80609@cits1.stanford.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 86.142.142.219 X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-DYaIUFX5YqTYpZf7UpWnSPFYK902w+rcowiufgcQlLXmGtrTpEREj+W7CIiAZ8yIDittpUwH3TVvgpU!ZXwA99YQ1BUu0JxSFQ3XTVOb4cL3T0mMaepUIMe2V9cD5wl2flaynVentVJ+EUM= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:4390 comp.lang.fortran:10152 Date: 2006-05-23T22:17:49+01:00 List-Id: Rich Townsend wrote: > Brooks Moses wrote: >> Rich Townsend wrote: >> >>> Gareth Owen wrote: >>> >>>> I think assuming anything about A*B is extremely dangerous. Just of >>>> the top of my head, Ada and Matlab think it means matrix >>>> multiplication and Fortran and Mathematica think its pointwise >>>> multiplication. >>>> >>>> It means basically nothing in C, and in C++ it means whatever the >>>> matrix class implementor wanted it to mean. >>> >>> >>> My stance on A*B is this: if A*B denotes matrix multiplication, then >>> A/B should denote matrix 'division': B^-1*A. Which means you need to >>> standardize matrix inversion/linear-equations solution into the >>> language. Which is batshit crazy. >> >> >> I believe that's how Matlab does it. >> >> Then again, for Matlab's purposes, standardizing matrix inversion and >> linear-equation solution into the language is entirely reasonable. >> > > Exactly. But I don't think you would find a single person in this > newsgroup who would support inclusion of a solver in Fortran. And the > reason would be netlib. > > In this respect, Matlab is a language *AND* a library; whereas Fortran > is just a language, and netlib is the numerics metalibrary for it. Hmmm, that sounds suspiciously like what has just been standardized within Ada (Ada2005 that is). Here is a link to the "Rationale" written by John Barnes: http://www.adaic.org/standards/05rat/html/Rat-7-6.html Cheers -- Martin