From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA11866 for caml-red; Sun, 14 Jan 2001 21:17:54 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA04322 for ; Fri, 12 Jan 2001 18:13:16 +0100 (MET) Received: from shell5.ba.best.com (shell5.ba.best.com [206.184.139.136]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f0CHDFL06370 for ; Fri, 12 Jan 2001 18:13:15 +0100 (MET) Received: from localhost (bpr@localhost) by shell5.ba.best.com (8.9.3/8.9.2/best.sh) with ESMTP id JAA26321; Fri, 12 Jan 2001 09:13:11 -0800 (PST) Date: Fri, 12 Jan 2001 09:13:11 -0800 (PST) From: Brian Rogoff To: Markus Mottl cc: OCAML Subject: Re: linear algebra libraries? In-Reply-To: <20010111200035.A2615@miss.wu-wien.ac.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: weis@pauillac.inria.fr On Thu, 11 Jan 2001, Markus Mottl wrote: > Hello, > > I wonder whether there are already any well-designed linear algebra > libraries for OCaml (i.e. with good support for vector and matrix > computations): I'd need one for implementing linear regression > methods. The library needs not be terribly fast (though I wouldn't mind > if it is ;), but should be well-behaved even when fed weird data (like > ill-conditioned matrices). > > If I can't find any suitable library, I wouldn't mind interfacing a fast > C-library - but which? Library recommendations welcome! I remember using Meschach many years ago in a different life, and it was pretty good for "non-huge" matrices. You can find it at ftp://ftpmaths.anu.edu.au/pub/meschach/meschach.html It's C, not Fortran. Should be easy enough to hook to OCaml. I think it would be more interesting to write a native OCaml library. Christophe Rafalli has already started something in numerical linear algebra but its just a start, at http://www.lama.univ-savoie.fr/sitelama/Membres/pages_web//RAFFALLI/formel.html I don't work in this field any more but if you want to specify the interfaces and need someone to implement some of the algorithms I can find some time to hack. -- Brian