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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1c5054c2af5fc156,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-16 17:24:26 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Steve O'Neill Newsgroups: comp.lang.ada Subject: Emulation of MatLab functions? Date: Mon, 16 Jul 2001 20:28:33 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3B5386B1.AF0E7671@top.monad.net> X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:10037 Date: 2001-07-16T20:28:33-04:00 List-Id: I'm just wondering whether anyone has ever attempted an Ada implementation which would emulate some of the powerful vector manipulation routines provided by Matlab. I need to take a matlab model and implement it in Ada95 and it would certainly be nice to have some of the tools that Matlab provides. I'm particularly interested in the functions such as find() and sort(). Find allows one to apply a criteria against an entire array of values and it returns another array which contains the values that pass the test (or references to these). Sort does as you would expect - returns the array in sorted order. Some very powerful functionality! Anyway, I've got some thoughts on how I might emulate these in Ada but I thought that I would query the Ada crew to see if I could save myself some time and effort. Thanks, Steve