From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA07864; Mon, 29 Jul 2002 18:43:16 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA07779 for ; Mon, 29 Jul 2002 18:43:16 +0200 (MET DST) Received: from abel (nat.umh.ac.be [193.190.193.1]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g6TGhF514068 for ; Mon, 29 Jul 2002 18:43:15 +0200 (MET DST) Received: from abel ([127.0.0.1] helo=localhost ident=trch) by abel with esmtp (Exim 3.35 #1 (Debian)) id 17ZDft-0005pY-00; Mon, 29 Jul 2002 18:47:13 +0200 Date: Mon, 29 Jul 2002 18:47:12 +0200 (CEST) Message-Id: <20020729.184712.125871866.debian00@tiscalinet.be> To: anderson@cs.colostate.edu Cc: "O'Caml Mailing List" Subject: Re: [Caml-list] matlab-like environment From: Christophe TROESTLER In-Reply-To: <3D3E2FF8.BB7B1251@cs.colostate.edu> References: <3D3E2FF8.BB7B1251@cs.colostate.edu> Organization: Universite de Mons-Hainaut X-Spook: arrangements SRI AIEWS fissionable IDEA Geraldton PGP ASLET morse defense information warfare X-Mailer-URL: http://www.mew.org/ X-Operating-System: GNU/Linux (http://www.linux.org/) X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 23 Jul 2002, Chuck Anderson wrote: > > What is the closest set of modules out there to this? What code is > available that I could start with? Perhaps PsiLab? Have a look at http://caml.inria.fr/humps/caml.html#Mathematics I don't know whether the Psilab libraries are distributed separately (and usable with Ocaml 3.05). Also, you have to be aware that Psilab allows some kind of polymorphism for arithmetic operations (+,-,*,/) which may be tempting but the detection of the type of the arguments occurs at runtime so that is not very efficient -- and errors are therefore also given at runtime. Also complex arithmetic implementation has no provision against e.g. overflow in intermediate computations. On the other hand, Psilab comes with more numerical libraries that exist separately for OCaml right now, so it is good if you want to try things quickly. > I would like to build GUI's and plotting functions using gtk AFAIK, there is no package a la Matlab for plotting. Maybe, it's a good idea to make one! I usually use a simple interface to gnuplot I have made but, if you plan to use Gtk, see for example http://gtkextra.sourceforge.net/ (and http://scigraphica.sourceforge.net/). I suppose that developing a binding for GtkExtra would not be too difficult. > and stick with fundamental ocaml arrays. Will this limit me? Must > I eventually use bigarrays? Well, if you want to use large matrices or external libraries (Lacaml/Lapack, FFTW), you will need to use bigarrays. Hope this help, ChriS ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners