caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nils Becker <nils.becker@bioquant.uni-heidelberg.de>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Is there any numpy / pandas like library in OCaml?
Date: Mon, 19 Oct 2015 13:34:00 +0200	[thread overview]
Message-ID: <n02ke2$gfr$1@ger.gmane.org> (raw)
In-Reply-To: <CANQp=sQuHXHyA+1xt7+4s7jTd6NZ5xuZD=aco2u0v6i4Nu-=hA@mail.gmail.com>

On 17/10/15 16:55, Dan Stark wrote:
> Hi
> 
> NumPy and Pandas are quite famous in scientific computing with Python.
> 
> I am just wondering whether OCaml has such a library?

there is also this:

http://akabe.github.io/slap/

which implements matrices whose dimensions are encoded in the type.

fwiw, for special functions one can interface to c libraries relatively
easily using ctypes. e.g. Rmath has a lot.

hdf5 support has just arrived,
https://opam.ocaml.org/packages/hdf5/hdf5.0.1/


i too would absolutely love to have something like numpy and something
like pandas in ocaml. the features i would want from ocaml-numpy are a
nice compact array slicing syntax, something like broadcasting, indexing
of arrays with int arrays or lists, and some magic that knows how to
choose the appropriate BLAS routines for common matrix operations. for a
pandas equivalent, flexible indexing would be the most important thing.
and printing a nice readable short output on screen with minimal effort.




      parent reply	other threads:[~2015-10-19 11:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-17 14:55 Dan Stark
2015-10-17 15:11 ` Tao Stein
2015-10-17 15:23   ` Markus Mottl
2015-10-17 15:37     ` Daniel Bünzli
2015-10-18  7:12       ` Francois Berenger
2015-10-19 11:34 ` Nils Becker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='n02ke2$gfr$1@ger.gmane.org' \
    --to=nils.becker@bioquant.uni-heidelberg.de \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).