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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c8550b9f2cf7d40,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-05 03:45:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Is ther any sense in *= and matrices? Date: Thu, 5 Jun 2003 10:45:41 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1054809941 11273 129.241.83.78 (5 Jun 2003 10:45:41 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 5 Jun 2003 10:45:41 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:38670 Date: 2003-06-05T10:45:41+00:00 List-Id: Given prior discussion I was thinking yesterday how do one make a: *= for matrices in Ada? I mean: A *= B; or procedure Prod (A,B); At least if you define your matrix type as: type Matrix_Type is array (Positive range <>, Positive range <>) of Integer; I mean even if one define "*" for Matrix_Type one cannot do: A := A * B without getting a Constraint_Error which is reasonable. -- Preben Randhol http://www.pvv.org/~randhol/