comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dale@cs.rmit.edu.au>
Subject: Re: efficient vector/matrix operations in Ada
Date: Tue, 07 Aug 2001 12:18:10 +1000
Date: 2001-08-07T12:18:10+10:00	[thread overview]
Message-ID: <dale-4856A4.12181007082001@news.rmit.edu.au> (raw)
In-Reply-To: 3B6F40C1.FD215D1D@sneakemail.com

Russ wrote:

> Since Ada has no arithmetic assignment operators, are vector/matrix
> operations in Ada simply inefficient, or do Ada programmers resort to
> tacky, ambiguous expressions like
> 
>     PlusEquals(A,B);


Tacky it may be, but it doesn't have to be ambiguous, if you use
named parameter association...

 
   Add (To => A, Item => B);


Note that using '+' in C++ can be just as efficient as += by using
templates.

Dale



  reply	other threads:[~2001-08-07  2:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-07  1:13 efficient vector/matrix operations in Ada Russ
2001-08-07  2:18 ` Dale Stanbrough [this message]
2001-08-07  2:21 ` tmoran
2001-08-07  3:04   ` Russ P.
2001-08-10 16:54     ` B.Gaffney
2001-08-13  7:50       ` Dmitry Kazakov
2001-08-13 19:45       ` Russ
2001-08-13 20:23         ` Larry Hazel
2001-08-13 21:26           ` Ted Dennison
2001-08-14  4:46           ` Russ
2001-08-14  5:28             ` David Starner
2001-08-14  8:17             ` Alexander Boucke
2001-08-14  8:56             ` Lutz Donnerhacke
2001-08-14 10:54             ` Jacob Sparre Andersen
2001-08-13 21:30         ` Ted Dennison
2001-08-14  4:56           ` Russ
2001-08-14  7:32             ` efficient vector/matrix operations in Fortran, was Re: ... " tmoran
2001-08-14 14:05             ` efficient vector/matrix operations " Ted Dennison
  -- strict thread matches above, loose matches on Subject: below --
2001-08-07 11:36 Gautier Write-only-address
2001-08-14 12:37 Gautier Write-only-address
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox