From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 529E4BC69 for ; Tue, 25 Sep 2007 13:33:01 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAMqO+EbAXQInemdsb2JhbACOKwEBCQqYQQ X-IronPort-AV: E=Sophos;i="4.20,295,1186351200"; d="scan'208";a="1428797" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 25 Sep 2007 13:33:01 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l8PBWtad018056 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 25 Sep 2007 13:33:01 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAFKO+Eba1uFin2dsb2JhbACOKwEBAQEHBAYHCBiYGQ X-IronPort-AV: E=Sophos;i="4.20,295,1186351200"; d="scan'208";a="1744015" Received: from smtp.syd.people.net.au ([218.214.225.98]) by mail2-smtp-roc.national.inria.fr with SMTP; 25 Sep 2007 13:32:54 +0200 Received: (qmail 26972 invoked from network); 25 Sep 2007 11:33:08 -0000 Received: from unknown (HELO hendrix.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 25 Sep 2007 11:33:08 -0000 Received: from hendrix (hendrix [192.168.200.99]) by hendrix.mega-nerd.net (Postfix) with SMTP id 1300A2FCF8 for ; Tue, 25 Sep 2007 21:32:52 +1000 (EST) Date: Tue, 25 Sep 2007 21:32:51 +1000 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: Re: [Caml-list] Ocaml for Scientific computing Message-Id: <20070925213251.46f8b181.mle+ocaml@mega-nerd.com> In-Reply-To: <1190718078.5901.18.camel@mikhaa> References: <1190718078.5901.18.camel@mikhaa> Reply-To: caml-list@inria.fr Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 46F8F1E7.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 algebra:01 lacaml:01 lacaml:01 someones:98 ubuntu:98 ubuntu:98 surplus:98 wrote:01 wrote:01 macosx:01 compile:01 parsing:01 caml-list:01 Alex Mikhalev wrote: > I am wondering is anyone using Ocaml for scientific computing? Yes. > I didn't > mean parsing, but for number crunching applications, like signal/image > analysis. Yes. I'm working on code for audio digital signal processing and function optimisation. I also wrote my own simple computer algebra system. > Is it suitable for this kind of tasks in general? Much better than C or C++ or GNU Octave. > I have read "Ocaml for Scientists" and although it gave me some very > good ideas, I didn't manage to repeat a number of examples with modules > from this book. I had a problem compiling or using scientific modules > (lacaml, fftw, some others) on linux and macosx and since some of these > modules look like someones graduate project, I've looked at lacaml and didn't find any particular problems. The ocaml fftw module was a little more problematic but I resolved the problem in the end. I would like to hear from > people practically using ocaml for mathematical simulations or analysis. > Preferable with OS, modules, problems encountered. I'm doing this on Ubuntu Linux, I usually use package distributed by Ubuntu but will compile my own from source if I need to. HTH, Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "... the industrial-capitalist mode of software production was doomed to be outcompeted from the moment capitalism began to create enough of a wealth surplus for many programmers to live in a post-scarcity gift culture." -- Eric S. Raymond