comp.lang.ada
 help / color / mirror / Atom feed
From: "E. Robert Tisdale" <edwin@netwood.net>
Subject: Re: The Ada Scalar, Vector, Matrix and Tensor arithmetic library?
Date: 1999/12/04
Date: 1999-12-04T00:00:00+00:00	[thread overview]
Message-ID: <38498EB1.306427C8@netwood.net> (raw)
In-Reply-To: 82buhr$8q61@news.cis.okstate.edu

David Starner wrote:

> On 4 Dec 1999 20:32:24 GMT,
> David Starner <dvdeug@x8b4e53cd.dhcp.okstate.edu> wrote:
> > An Ada binding is inappropriate.
> > Stuff like this is usually written in inline generics
> > in languages like C++ & Ada for high speed
>
> Let's try that sentence again.
> "Matrix libraries are usually written in
> the language they are intended to be used in
> to take advantage of inline generics that give it decent speed.
> (This is only true for languages that have good inline generics,
>  like C++ and Ada.)"

No one actually cares how matrix libraries are implemented
except that the implementation should be optimized
appropriately for the target platform and problem domain.
Only the Application Programmer's Interface (API)
is really important.
If the application programmer uses a standard API,
it should be possible to port the application to any platform
where there is a library that supports the standard API.
There are other good reasons for a standard API.
The application programmer may use one version of the library
to compile quickly and do extensive run time error checking
to aid in debugging then recompile with another version of the library
which compiles more slowly but does a better job of optimizing
and omits all of the run time error checking
once all testing and debugging is completed.

All of the existing vector and matrix libraries in Ada
are older implementations.
None of the have all the capabilities of SVMT
or other modern libraries based upon vector, matrix
and tensor "views" of a one dimensional array of numbers.
The API for each existing Ada library was designed
around a particular implementation which precludes
any other implementation.

E. Robert Tisdale <edwin@netwood.net>






  reply	other threads:[~1999-12-04  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-04  0:00 The Ada Scalar, Vector, Matrix and Tensor arithmetic library? E. Robert Tisdale
1999-12-04  0:00 ` David Starner
1999-12-04  0:00   ` David Starner
1999-12-04  0:00     ` E. Robert Tisdale [this message]
1999-12-04  0:00       ` David Starner
1999-12-05  0:00         ` E. Robert Tisdale
1999-12-05  0:00           ` David Starner
1999-12-05  0:00             ` E. Robert Tisdale
1999-12-06  0:00               ` Robert A Duff
1999-12-06  0:00                 ` E. Robert Tisdale
1999-12-05  0:00             ` David C. Hoos, Sr.
     [not found]               ` <01bf3f36$43ebbd50$022a6282@dieppe>
1999-12-05  0:00                 ` E. Robert Tisdale
1999-12-05  0:00                   ` David Starner
1999-12-06  0:00                     ` E. Robert Tisdale
1999-12-06  0:00                       ` David Starner
     [not found]                 ` <01bf3f36$c5ad0e20$022a6282@dieppe>
1999-12-05  0:00                   ` Greg Martin
1999-12-05  0:00                 ` David Starner
1999-12-05  0:00                   ` David C. Hoos, Sr.
1999-12-06  0:00                     ` E. Robert Tisdale
1999-12-07  0:00                   ` SIMD extensions in Ada :-(. Was: " Vladimir Olensky
1999-12-07  0:00                     ` Gautier
replies disabled

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