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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,80532c203ced41ef X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ann: Mathpaqs, release Feb. 2011 Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <838f49da-9a83-49d1-b42e-64b45f9b2917@x13g2000vbe.googlegroups.com> <1ib2wlicecaim$.1o25nuvllws3i.dlg@40tude.net> Date: Tue, 22 Feb 2011 12:33:06 +0100 Message-ID: <1raralz4504m2$.1mwiu22cgxle0.dlg@40tude.net> NNTP-Posting-Date: 22 Feb 2011 12:33:06 CET NNTP-Posting-Host: 5d0a886c.newsspool1.arcor-online.net X-Trace: DXC=<[_YM=TZhIWPU8j_I0DN6_ic==]BZ:af^4Fo<]lROoRQ<`=YMgDjhgR>21F 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