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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,a83584e000bc28fa X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.205.130.14 with SMTP id hk14mr888607bkc.5.1345322762079; Sat, 18 Aug 2012 13:46:02 -0700 (PDT) Received: by 10.180.103.197 with SMTP id fy5mr1161926wib.1.1345322761623; Sat, 18 Aug 2012 13:46:01 -0700 (PDT) Path: m12ni114323bkm.0!nntp.google.com!news1.google.com!7no23291390wig.0!news-out.google.com!q11ni187225919wiw.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: ada lapack Date: Sat, 18 Aug 2012 23:45:59 +0300 Organization: Tidorum Ltd Message-ID: References: <12f929e9-eea3-4dc9-b10d-71e4f5732e0d@googlegroups.com> <615dd222-9c8b-4878-94f7-b1cd4792bd3e@googlegroups.com> <36bc4009-6240-4797-991c-b72ec290cedc@googlegroups.com> <12606f3f-aec1-489c-8325-18e13007b6a6@googlegroups.com> <11959826-e12e-4455-b9d9-1ac4dcaf2952@googlegroups.com> <3bdbf14a-52ff-4b72-9e7b-42b543538959@googlegroups.com> <5865849c-3897-4be5-8d54-1de2e1acc3a7@googlegroups.com> <781001a0-3a99-40ac-bc5b-c8337124b29b@googlegroups.com> Mime-Version: 1.0 X-Trace: individual.net BsWe18XrszuvEyKvPddJrA6jChAi9kKPrdSy0wmq9NiyJMFiW/AI/5Kq9cqO8QS3hT Cancel-Lock: sha1:bjxHqFnKvpx2BhYWVVd4Ui/TQRs= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-08-18T23:45:59+03:00 List-Id: On 12-08-18 19:33 , Ada novice wrote: > Yes Nasser I do remember that post of yours well. That's a pity. > > I hope that someone can come up with a solution to this problem. It's > unblievable that one has to "reinvent the wheel". Of course in the > same program, one would want to be able to mix the lapack codes with > those of Ada numerics seamlessly. The problem is that Ada_Lapack is a conversion from Fortran to Fortran-style Ada, and not a true native Ada implementation. I wonder why Ada_Lapack needs convention-Fortran matrices, when it does not use any Fortran code. Perhaps the reason is the frequent use in Ada_Lapack of "for X'Address use Y", where X is an array. Yuck. But writing a native Ada clone of LAPACK could be a lot of work, and might need some deep understanding of how the Fortran LAPACK works. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .