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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-05 04:55:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!213.200.246.247!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Is ther any sense in *= and matrices? Date: Thu, 05 Jun 2003 13:53:35 +0200 Organization: JeLlyFish software Message-ID: References: NNTP-Posting-Host: 213.200.246.247 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: fu-berlin.de 1054814102 11806965 213.200.246.247 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:38673 Date: 2003-06-05T13:53:35+02:00 List-Id: Preben Randhol wrote: >Vinzent Hoefler wrote: >> Preben Randhol wrote: >>=20 >>>I mean even if one define "*" for Matrix_Type one cannot do: >>> >>> A :=3D A * B >>=20 >> You can, iff A and B are square matrices. > >Yes, but that is a special case. Of course it is. But because you have to write the Multiply function yourself anyway and such can take care of that issue, I don't see why this should be a problem. What is so unresonable about an instance of a generic matrix multplying function that raises Contraint_Error in case the index ranges do not match? Vinzent.