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
Ocaml for Scientific computing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-25 (11:33)
From: Erik de Castro Lopo <mle+ocaml@m...>
Subject: Re: [Caml-list] Ocaml for Scientific computing
Alex Mikhalev wrote:

> I am wondering is anyone using Ocaml for scientific computing?


> 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

> 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.

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