[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] GSL Shell 2.0 beta1 release
- From: Leo Razoumov <slonik.az@...>
- Date: Fri, 4 Nov 2011 13:48:30 -0400
On Thu, Nov 3, 2011 at 17:18, Francesco Abbate <email@example.com> wrote:
> 2011/11/3 Leo Razoumov <firstname.lastname@example.org>:
>> Actually, according to
>> Francesco reimplemented quadrature in pure Lua (GSL's C version is
>> used as a guideline). FFI is used to pass an integrand function
>> implemented in C to the quadrature routine implemented in pure Lua.
>> Sort of of the exact opposite to traditional use of scripting
> uh ? not quite so, actually. I've implemented the quadrature routine
> in Lua using FFI and the resulting quadrature routine can integrate
> any Lua function.
Auch, I should had chosen my words more carefully. Integrand can be
any Lua function including a C-function wrapped via FFI interface.