2014-07-21 16:39 GMT+02:00 Serge Stinckwich <serge.stinckwich@gmail.com>:
In fact it was a typo, this is an external package developed by Nicolas Cellier : http://www.squeaksource.com/Smallapack.html Sorry, not integrated with SciSmalltalk at the moment.
Regards,
On Mon, Jul 21, 2014 at 4:34 PM, Ben Coman <btc@openinworld.com> wrote:
Serge Stinckwich wrote:
Dear all,
we are to happy to announce SciSmalltalk v0.12
SciSmalltalk is a new Smalltalk project, similar to existing scientific libraries like NumPy, SciPy for Python or SciRuby for Ruby. SciSmalltalk already provide the following basic functionalities:
- complex and quaternions extensions, - random number generators, - fuzzy algorithms, - LAPACK linear algebra package,
This is interesting. Googling "SciSmalltalk LAPACK" showed very little. Do you mean you have FFI bindings to Fortan libraries of... http://www.netlib.org/lapack/ ?
Maybe using NativeBoost? cheers, Ben
Hi Ben, Smallapack would definitely have its place in SciSmalltalk. It's currently using FFI because that's what existed at the time of writing. But it would be interesting to rewrite the foreign call with NativeNoost. The bad news is that there are a lot of entry points! The good news is that most of the foreign calls were generated, so a slight adaptation of the generator for using NativeBoost instead of FFI should do the trick... Or we can attempt an automatic translation FFI->NativeBoost (the range types used in LAPACK is quite limited, so it seems feasible). Does it exist? The second point is that some LAPACK functions take more than 15 parameters, so a Compiler hack is necessary to transform these calls into a single parameter array at the Smalltalk level. The hack exists but is written for the Old Compiler. No problem in Pharo 3.0. For Pharo 4.0, it's possible to port the same principle to the New Compiler, but at first glance it's far less simple (many more classes to modify/derivate). Or in the interim, make the Old Compiler a separate package and declare a dependency on the Old Compiler... Nicolas
- Didier Besset's numerical methods, - Ordinary Differential Equation (ODE) Solver).
Everything is available here: https://github.com/SergeStinckwich/SciSmalltalk All the code is available under the MIT licence.
We have more than 424 green unit tests and we run a CI job here: https://ci.inria.fr/pharo-contribution/job/SciSmalltalk/
This version should work on Pharo 2.0/3.0/4.0 and also Squeak 4.5 (to be confirmed).
We are a small community, we are looking for more volunteers to contribute code and documentation. Please join us at : https://groups.google.com/forum/#!forum/scismalltalk
Regards,
-- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/