Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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:

  http://www.ffconsultancy.com/products/ocaml_for_scientists

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:

  http://www.ffconsultancy.com/products/ocaml_for_scientists/complete/

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists