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!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: Ann: Mathpaqs, release Feb. 2011 Date: Tue, 22 Feb 2011 01:56:30 -0800 Organization: Aioe.org NNTP Server Message-ID: References: <838f49da-9a83-49d1-b42e-64b45f9b2917@x13g2000vbe.googlegroups.com> Reply-To: nma@12000.org NNTP-Posting-Host: tUYQ4Ty9mMw9Pdc8TJRFQA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news2.google.com comp.lang.ada:18504 Date: 2011-02-22T01:56:30-08:00 List-Id: On 2/21/2011 6:34 PM, Gautier write-only wrote: > > So I guess the next question would be: why not using Real_Vector and > Real_Matrix by default ? My answer would be: > - you can use the package also with an Ada 95 compiler, even one which > doesn't yet has been extended with the new 2005 math packages OK, makes sense. > - more important: you can use non-trivial matrix types, like band > matrices or sparse matrices. > What packages or binding to which library should one use in Ada to use sparse matrices? 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. 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. I think Ada is much behind when it comes to ready to use functions and libraries for computational science. Too bad, since the language itself is probably the best for this sort of thing. thanks, --Nasser