comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ann: Mathpaqs, release Feb. 2011
Date: Tue, 22 Feb 2011 12:33:06 +0100
Date: 2011-02-22T12:33:06+01:00	[thread overview]
Message-ID: <1raralz4504m2$.1mwiu22cgxle0.dlg@40tude.net> (raw)
In-Reply-To: ik03qj$419$1@speranza.aioe.org

On Tue, 22 Feb 2011 02:40:17 -0800, Nasser M. Abbasi wrote:

> On 2/22/2011 2:27 AM, Dmitry A. Kazakov wrote:
> 
>>> Is it possible to do something like this in Ada? There are number
>>> of sparse libraries out there, but googling around, do not see
>>> an Ada binding at this time.
> 
>> Do you see MATLAB bindings instead? You seem comparing MATLAB libraries
>> with non-Ada ones.
> 
> I was really asking a simple question :)

It is not a simple question, or I didn't understand you. Sparse matrices is
a huge research area with an uncounted number of algorithms and their
implementations.

> In Ada, how can one work with sparse matrices? Say I want to make Ax=b,
> where A is sparse, and solve for x.

Ax=b is an equation. Both Ada and MATLAB are imperative languages, you
cannot "make" equations there. 

> How would you do that in Ada 2005? What libraries/bindings etc... does
> one need to use.

Whatever library that solves the problem of this class with the required
size and accuracy. Either you find a library or write it by yourself. That
has little to do with the language. Except that it would be difficult to
implement anything efficiently in MATLAB. MATLAB plug-ins are normally
written not in MATLAB itself.

> Using Sparse matrices is so common in matlab world, since it is build-in,
> and I was just giving an example, that is all.

Sparse matrices are impossible to build in. It is only possible to do
certain categories of sparse matrices. I don't know which ones MATLAB has.
Are you asking why Ada does not include them in the standard library?

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2011-02-22 11:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21 18:43 Ann: Mathpaqs, release Feb. 2011 Gautier write-only
2011-02-21 23:59 ` Nasser M. Abbasi
2011-02-22  2:34   ` Gautier write-only
2011-02-22  9:56     ` Nasser M. Abbasi
2011-02-22 10:27       ` Dmitry A. Kazakov
2011-02-22 10:40         ` Nasser M. Abbasi
2011-02-22 11:33           ` Dmitry A. Kazakov [this message]
2011-02-22 20:45             ` Nasser M. Abbasi
2011-02-22 21:03               ` Dmitry A. Kazakov
2011-02-23 14:38               ` Simon Wright
2011-02-24  9:51                 ` comp.lang.php
2011-02-25 21:09                   ` Simon Wright
2011-02-26  0:21                     ` Nasser M. Abbasi
2011-02-26  7:53                       ` Simon Wright
2011-02-26 18:38                       ` Gautier write-only
2011-02-26 20:59                         ` Simon Wright
2011-02-22 17:35           ` Simon Wright
2011-02-22 17:21       ` Gautier write-only
replies disabled

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