English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
linear algebra libraries?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-01-14 (20:17)
From: Brian Rogoff <bpr@b...>
Subject: Re: linear algebra libraries?
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 


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 


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