Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Matrix operations in OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-10-26 (07:29)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Matrix operations in OCaml?
On Tuesday 25 October 2005 19:37, Oliver Bandel wrote:
> on OCaml linkdb and on the Hump I didn't found
> libraries to work on matrices/matrix's, so
> to have a library to do linear algebra
> calcualtions.
> Is there something like that or do I have to
> implement it by my own?

Mottl et al. kindly wrote lacaml to interface to LAPACK. The lacaml page is 
linked to from the bottom of the page of my OCaml book:

Basic use (including compilation) is described on p173 and the "Eigen 
problems" example on p236-239 demonstrates the use of lacaml. The 33-line 
OCaml program is freely available on-line:

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists