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!news.glorb.com!news.aset.psu.edu!news.cse.psu.edu!elk.ncren.net!scrotar.nss.udel.edu!not-for-mail From: Rich Townsend Newsgroups: comp.lang.ada,comp.lang.fortran Subject: Re: Ada vs Fortran for scientific applications Date: Tue, 23 May 2006 14:40:17 -0400 Organization: University of Delaware Message-ID: References: <44734543.80609@cits1.stanford.edu> NNTP-Posting-Host: shayol.bartol.udel.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: scrotar.nss.udel.edu 1148409566 20738 128.175.14.63 (23 May 2006 18:39:26 GMT) X-Complaints-To: abuse@udel.edu NNTP-Posting-Date: Tue, 23 May 2006 18:39:26 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060417) X-Accept-Language: en-us, en In-Reply-To: <44734543.80609@cits1.stanford.edu> Xref: g2news2.google.com comp.lang.ada:4381 comp.lang.fortran:10144 Date: 2006-05-23T14:40:17-04:00 List-Id: 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. cheers, Rich