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,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-03 14:03:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1054674233 12.234.13.56 (Tue, 03 Jun 2003 21:03:53 GMT) NNTP-Posting-Date: Tue, 03 Jun 2003 21:03:53 GMT Organization: AT&T Broadband Date: Tue, 03 Jun 2003 21:03:53 GMT Xref: archiver1.google.com comp.lang.ada:38554 Date: 2003-06-03T21:03:53+00:00 List-Id: > A += B I may have missed something here - is the compiler supposed to know that A and B are matrices, and generate code to add elements, or is it just supposed to generate a call to procedure "+="(Left : in out Matrices; Right : in Matrices) If the former, what if the elements of the matrices are themselves, say, vectors, or complex numbers in polar form? If the former, would you want to translate 'A B' as (A,B) for arbitrary , or is this only for += and -= ? BTW, how often does "A := A+B;" occur in actual high performance matrix arithmetic code?