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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b14a804025dceb20 X-Google-Attributes: gid103376,public From: dmitry6243@my-deja.com Subject: Re: Constructors/Destructors in Ada95 Date: 2000/10/26 Message-ID: <8t903n$53q$1@nnrp1.deja.com>#1/1 X-Deja-AN: 686038322 References: <39EE160D.F0A2000@bigfoot.com> <39EF5431.BF4CD793@bigfoot.com> <39F0A6C7.E592AFFB@averstar.com> <39F4AE95.4DB04145@bigfoot.com> <39F6D201.73C006FA@acm.org> <8t6pi9$9s8$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x69.deja.com:80 (Squid/1.1.22) for client 212.79.192.251 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Oct 26 10:13:14 2000 GMT X-MyDeja-Info: XMYDJUIDdmitry6243 Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.75 [en] (WinNT; U) Date: 2000-10-26T00:00:00+00:00 List-Id: In article , Pascal Obry wrote: > > dmitry6243@my-deja.com writes: > > > In article <39F6D201.73C006FA@acm.org>, > > > > function "*" (Left, Right : Matrix) return Matrix; -- Produces a new object > > procedure "*" (Left : in out Matrix; Right : Matrix); -- Multiplies Left to > > Right "in-place" > > I'am not an expert in this field but I really fail to see how it is possible > to multiply two matrix without creating a temporary one ! So I'am not sure > your example is a good one :) It was about 15 years I wrote my last program for linear algebra. That time memory was a treasure (:-)). So I am not an expert too. In case of matrices one needs only one row/column of scratch memory, which is of course better than an allocation of the complete matrix. And there are lots of special matrices used much oftener than general dense matrices. --- Regards, Dmitry Kazakov Sent via Deja.com http://www.deja.com/ Before you buy.