Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Re: OCaml speed
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] Re: OCaml speed
Rolf Wester schrieb am Dienstag, den 06. November 2001:
> I'm thinking about a numerical extension written in C comparable to
> the Python Numpy package.

If you want, you might consider steeling some code from (even better:
adding some code to ;) Lacaml:

  http://lacaml.sourceforge.net/

It's intended as a low-level library that should support the
Fortran-interfaces of BLAS/LAPACK with Bigarrays as close as possible +
some extras, which are written in C.

Currently only the functions that I need are implemented (mostly linear
regression stuff), but adding further ones is very easy. You may also
want to write a higher-level maths package that makes use of this
low-level library.

> The biggest problem is that there is no OCaml build in type complex
> and that the Bigarray doesn't have complex too (sometime ago I read
> that someone was thinking about adding complex numbers to the Bigarray
> module, I would appreciate this very much).

Xavier once told me that he is intending to add support for the complex
domain to the Bigarray-module. I don't know whether this will be possible
for the next release. It's not important to me, because I (currently)
don't need complex numbers.

Regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr