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,b375f07e05d12c7a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-14 00:32:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: efficient vector/matrix operations in Fortran, was Re: ... in Ada References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Tue, 14 Aug 2001 07:32:01 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 997774321 24.7.82.199 (Tue, 14 Aug 2001 00:32:01 PDT) NNTP-Posting-Date: Tue, 14 Aug 2001 00:32:01 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:11892 Date: 2001-08-14T07:32:01+00:00 List-Id: >but not have the operators one really needs for efficient code? The existence of Fortran, which has long been used successfully for highly efficient vector/matrix code, demonstrates that += is not required. One possible reason is that significant matrix/vector programs don't normally spend a lot of their time doing a += b type O(n**2) operations, but rather spend their time doing O(n**3) operations. += would be of minor benefit in that case. --------------------------------- "Premature optimization is the root of all evil" Knuth (?)