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 10:23:56 -0400 Organization: University of Delaware Message-ID: References: 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 1148394186 16426 128.175.14.63 (23 May 2006 14:23:06 GMT) X-Complaints-To: abuse@udel.edu NNTP-Posting-Date: Tue, 23 May 2006 14:23:06 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060417) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news2.google.com comp.lang.ada:4369 comp.lang.fortran:10119 Date: 2006-05-23T10:23:56-04:00 List-Id: Gareth Owen wrote: > Paul Van Delst writes: > > >>At the risk of igniting a language war (not my intent) and/or exposing >>my ignorance of Ada, I find the former misleading. To me, A*B suggests >>a regular old multiplication of two arrays, rather than a matix >>multiplication. > > > 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. cheers, Rich