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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b19fa62fdce575f9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-03 12:56:31 PST Path: bga.com!news.sprintlink.net!hookup!news.mathworks.com!europa.eng.gtefsd.com!paladin.american.edu!auvm!VNET.IBM.COM!vinall Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: comp.lang.ada Disclaimer: This posting represents the poster's views, not those of IBM News-Software: UReply 3.1 Message-ID: <9412032053.AA12515@ajpo.sei.cmu.edu> Date: Sat, 3 Dec 1994 12:49:59 PST Sender: Ada programming language From: Paige Vinall Organization: PL/I Development, IBM Subject: Re: Why don't large companies use Ada? Comments: To: info-ada@ajpo.sei.cmu.edu Date: 1994-12-03T12:49:59-08:00 List-Id: In INFO-ADA Digest - 3 Dec 1994 - Special issue (item 14)No. Keith Thompson writes: >If you're writing new PL/I or Ada code to interface to existing Fortran >libraries, all you should need to do is swap the indices; there should >be no need to physically transpose the arrays themselves. This should Or you can use ISUB defining in PL/I. It is a very cool feature which will transpose the matrix for you. It allows one copy of the matrix and then you can define various views of the matrix. For example- dcl a(0:5, 0:9) float bin; dcl A_transpose(0:9, 0:5) float bin def a(2sub, 1sub); Matrix A is the real data and A_transpose is a view of the data transposed. You can now use A with your PL/I program but pass A_transpose to the Fortran routine. However, a real transposed version of the matrix will be created at each call statement so the performance would be bad if there were frequent calls to Fortran. Paige Vinall - PL/I Development Manager, IBM Internet: vinall@vnet.ibm.com, Phone: (408) 463-2106