From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 8C9E2BB9A for ; Wed, 26 Oct 2005 09:29:05 +0200 (CEST) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9Q7T5mO007339 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 26 Oct 2005 09:29:05 +0200 Received: from [80.229.56.224] (helo=chetara) by ptb-relay03.plus.net with esmtp (Exim) id 1EUfiY-0001nG-T5 for caml-list@yquem.inria.fr; Wed, 26 Oct 2005 08:29:03 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Matrix operations in OCaml? Date: Wed, 26 Oct 2005 08:24:44 +0100 User-Agent: KMail/1.7.2 References: <20051025183737.GA565@first.in-berlin.de> In-Reply-To: <20051025183737.GA565@first.in-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510260824.45700.jon@ffconsultancy.com> X-Miltered: at nez-perce with ID 435F3041.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 oliver:01 bandel:01 ocaml:01 matrices:01 algebra:01 mottl:01 lacaml:01 lapack:01 lacaml:01 compilation:01 frog:98 wrote:01 wrote:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 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