From: Johann Hibschman <johann / physics.berkeley.edu>
Subject: [ruby-talk:04053] Re: What are you using Ruby for?
Date: 15 Jul 2000 21:51:11 -0700

Hi,

> > 5) Numerical computation
> 
> Ooh, now that got my attention.  What kind of numerical computation?

I use Ruby for non-linear analysis, matrix manipulation and so on.
I call LAPACK/BLAS routines from Ruby.
And I am trying to make a useful Ruby numerical library.

> As for myself, I don't use Ruby, at least not yet.  I'm just here
> keeping an eye on it.  I use Python, mostly as an interactive

Sorry I cannot use Python...

> numerical workbench and scripting engine for c++ numerical codes,
> using SWIG to automatically wrap the C++ classes.  Numeric Python is a
> wonderful tool; is there anything like it for Ruby?

NArray is one of that kind of tool.
It's available in RAA.

> The fact that functions are not first class in Ruby still bothers me,
> so I haven't experimented with it that much.

Hmmm...
I use method object instead.

(({method(:f).call(x)})) is equivalent to (({f(x)})).

--
rubikitch