From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ann: Mathpaqs, release Feb. 2011
Date: Tue, 22 Feb 2011 11:27:09 +0100
Date: 2011-02-22T11:27:07+01:00 [thread overview]
Message-ID: <1ib2wlicecaim$.1o25nuvllws3i.dlg@40tude.net> (raw)
In-Reply-To: ik018g$tgq$1@speranza.aioe.org
On Tue, 22 Feb 2011 01:56:30 -0800, Nasser M. Abbasi wrote:
> What packages or binding to which library should one use in Ada
> to use sparse matrices?
That depends on the type of sparseness, I guess.
> In Matlab, almost all build-in functions that work with normal matrices,
> also work as in with sparse matrices. Makes life very easy.
>
> To solve Ax=b, even when A is sparse, one can still write A\b.
I don't understand the problem here. You can define a function
function "/" (Left : My_Sparse_Matrix; Right : Vector) return Vector;
It is not very common because solver usually returns some additional
valuable information, which gets lost when the solver is wrapped into a
function.
> 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.
BTW, writing MATLAB bindings is much more complicated than doing Ada
bindings.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2011-02-22 10:27 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 [this message]
2011-02-22 10:40 ` Nasser M. Abbasi
2011-02-22 11:33 ` Dmitry A. Kazakov
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