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=2.0 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a83584e000bc28fa X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.238.165 with SMTP id vl5mr561117pbc.8.1345303389846; Sat, 18 Aug 2012 08:23:09 -0700 (PDT) Path: p10ni89458067pbh.1!nntp.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: ada lapack Date: Sat, 18 Aug 2012 10:22:55 -0500 Organization: Aioe.org NNTP Server 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> Reply-To: nma@12000.org NNTP-Posting-Host: 9ii5QNw33OfeoTzEH8w9ug.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 X-Notice: Filtered by postfilter v. 0.8.2 X-Received-Bytes: 2291 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-08-18T10:22:55-05:00 List-Id: On 8/18/2012 8:48 AM, Ada novice wrote: > Thanks. This is rather unfortunate to see that one cannot use the many operators >and functions in Ada.Numerics.Generic_Complex_Arrays in example file example01.adb >automatically. Adding two matrices is simple but other functions are not so easy to implement. > > YC > I already found this "issue" and mentioned it before here in this newsgroup when I was working on the Ada Lapack package by Wasu Chaopanon. see http://coding.derkeiler.com/Archive/Ada/comp.lang.ada/2012-07/msg00290.html "The Ada lapack binding defines its own Matrix types. However, it does not define operators (multiply, add, etc.. ) to work on these types similar to Ada's Real Vectors and Matrices in the Ada.Numerics.Real_Arrays package" Yes. Each time a new type is made, one in Ada, you must define a new set of operators on this type. --Nasser