* Matrix operations in OCaml?
@ 2005-10-25 18:37 Oliver Bandel
2005-10-25 19:57 ` [Caml-list] " Martin Jambon
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Oliver Bandel @ 2005-10-25 18:37 UTC (permalink / raw)
To: caml-list
Hello,
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?
TIA,
Oliver
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] Matrix operations in OCaml?
2005-10-25 18:37 Matrix operations in OCaml? Oliver Bandel
@ 2005-10-25 19:57 ` Martin Jambon
2005-10-25 20:53 ` E Stabler
2005-10-25 22:31 ` Thomas Fischbacher
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Martin Jambon @ 2005-10-25 19:57 UTC (permalink / raw)
To: Oliver Bandel; +Cc: caml-list
On Tue, 25 Oct 2005, Oliver Bandel wrote:
> Hello,
>
> 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?
Markus Mottl wrote an interface to BLAS and LAPACK called Lacaml.
You'll find it but it doesn't appear in the hump(s) under
topics/science/maths and logic.
Martin
--
Martin Jambon, PhD http://martin.jambon.free.fr
Freedom for the regexps! http://martin.jambon.free.fr/micmatch-howto.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] Matrix operations in OCaml?
2005-10-25 19:57 ` [Caml-list] " Martin Jambon
@ 2005-10-25 20:53 ` E Stabler
0 siblings, 0 replies; 6+ messages in thread
From: E Stabler @ 2005-10-25 20:53 UTC (permalink / raw)
To: caml-list
Another interface to LAPACK that I have been using
for floating point matrix ops is here:
http://math.ucsb.edu/~lyons/camlFloat/
- Ed
Martin Jambon writes:
> On Tue, 25 Oct 2005, Oliver Bandel wrote:
>
> > Hello,
> >
> > 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?
>
> Markus Mottl wrote an interface to BLAS and LAPACK called Lacaml.
>
> You'll find it but it doesn't appear in the hump(s) under
> topics/science/maths and logic.
>
>
> Martin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] Matrix operations in OCaml?
2005-10-25 18:37 Matrix operations in OCaml? Oliver Bandel
2005-10-25 19:57 ` [Caml-list] " Martin Jambon
@ 2005-10-25 22:31 ` Thomas Fischbacher
2005-10-26 1:48 ` Vincenzo Ciancia
2005-10-26 7:24 ` [Caml-list] " Jon Harrop
3 siblings, 0 replies; 6+ messages in thread
From: Thomas Fischbacher @ 2005-10-25 22:31 UTC (permalink / raw)
To: Oliver Bandel; +Cc: caml-list
On Tue, 25 Oct 2005, Oliver Bandel wrote:
> Hello,
>
> 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?
Depends on what you want to do:
* Large, parallel sparse matrix calculations (MPI and such)
* Efficient single-machine large linear algebra (lapack/blas)
* "Just Inverting 4x4 matrices" and such
There are solutions for all those situations.
--
regards, tf@cip.physik.uni-muenchen.de (o_
Thomas Fischbacher - http://www.cip.physik.uni-muenchen.de/~tf //\
(lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y) V_/_
(if (= x 0) y (g g (- x 1) (* x y)))) n 1)) (Debian GNU)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Matrix operations in OCaml?
2005-10-25 18:37 Matrix operations in OCaml? Oliver Bandel
2005-10-25 19:57 ` [Caml-list] " Martin Jambon
2005-10-25 22:31 ` Thomas Fischbacher
@ 2005-10-26 1:48 ` Vincenzo Ciancia
2005-10-26 7:24 ` [Caml-list] " Jon Harrop
3 siblings, 0 replies; 6+ messages in thread
From: Vincenzo Ciancia @ 2005-10-26 1:48 UTC (permalink / raw)
To: caml-list
Oliver Bandel wrote:
> Hello,
>
> 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?
>
Thanks to Markus Mottl for all the ocaml software packages he mantains :)
http://ocaml.info/home/home004.html
I think that "lacaml" is what you're looking for. I didn't find it on the
hump but maybe it's well hidden.
Bye
Vincenzo
--
Please note that I do not read the e-mail address used in the from field but
I read vincenzo_ml at yahoo dot it
Attenzione: non leggo l'indirizzo di posta usato nel campo from, ma leggo
vincenzo_ml at yahoo dot it
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] Matrix operations in OCaml?
2005-10-25 18:37 Matrix operations in OCaml? Oliver Bandel
` (2 preceding siblings ...)
2005-10-26 1:48 ` Vincenzo Ciancia
@ 2005-10-26 7:24 ` Jon Harrop
3 siblings, 0 replies; 6+ messages in thread
From: Jon Harrop @ 2005-10-26 7:24 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-26 7:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-25 18:37 Matrix operations in OCaml? Oliver Bandel
2005-10-25 19:57 ` [Caml-list] " Martin Jambon
2005-10-25 20:53 ` E Stabler
2005-10-25 22:31 ` Thomas Fischbacher
2005-10-26 1:48 ` Vincenzo Ciancia
2005-10-26 7:24 ` [Caml-list] " Jon Harrop
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).