GSL Shell 2.3.0-beta1 released.
This new release introduce General Data Table (gdt) used to store observations data in tabular form. They are very similar to the well known GNU R's data frames.
General data tables open the ways to a whole family of functions that operates on table. By using a simple declarative language you can easily create plots based on the table's data or perform statistical analysis.
A function to make linear model fit of data is introduced like the "lm" function in GNU R.
In addition now it is possible to easily create plots with multi level labels on the axis. This is very useful to plot data based on multiple nested factors.
The new functions are documented in the General Data Table's chapter
of the user manual.GSL Shell 2.2.0 released.
This new release introduce a more friendly graphical user interface. This should greatly improve the user experience especially on Windows.
In addition a much better font rendering system is now used to improve plot quality. This latter is based on the FreeType library and on the AGG library already used to render graphics.
Some usability improvements were made also on the system to add plot legends.
From the GSL point of view a new module for eigensystem was added by Benjamin Von Ardenne.
In addition a lot of improvements and bug fixes have been made by Mike Pall on LuaJIT itself.
GSL Shell 2.1.0 released.
This release introduces some new, interesting features.
A new page to show benchmarks results is now published and three new contributors have also joined the GSL Shell project.
GSL Shell 2.0.0 released.
This release fix mainly some build problems of the beta release.
Release of GSL Shel 2.0 beta1.
This new release of GSL Shell is a major change both in term of features and implementation.
First the functions are now organized into different modules for a greater clarity of the code. Then the semantic of the arithmetic operations with numbers and matrix is now much more user-friendly. The multiplication operator ‘*’ it does perform now the matrix multiplication and you can mix freely complex and real number or matrices.
Under the hood there even more important changes since GSL Shell is now based on LuaJIT2. This latter is an highly optimized implementation of the Lua programming language. LuaJIT2 is able to generate on the fly optimized machine code so that many programs can run at the speed of native code. In addition, with the FFI module, you can call directly C functions opening the way to an incredible set of new applications.
The modules about numerical integration, ODE integration and non-linear fit have been reimplemented in Lua using direct FFI call to C functions. The result is a greatly improved execution performance on par with optimized code.
Check the demos available in GSL Shell. You may check the ‘wave’ demo that simulate a quantum spinless particle in a step potential. Thanks to LuaJIT2 the demo run in real-time at an amazing speed.
Release of GSL Shell 1.1
Some bugs fixed, most notably a couple of bugs related to the X Window implementation.
Added a module to read data in CSV format.
Final Release of GSL Shell 1.0
Many bug was fixed for this final release. A function to save() a plot as an image in bitmap format is now available.
Release of GSL Shell 1.0 beta
This new release brings a lot of improvements in the graphics functions. Among the most remarkable new features you can now:
The graphical rendering code was almost completely rewritten and optimized for to be efficient both for static plot and animations.
We have also a first implementation of a 3D plotting module based on the JavaScript Pre3d library of Dean Mc Namee. This module give you the possibility to create simple 3D plots and animations with a simple interface. Just be aware that, While this module is quite functional and usable, it could nevertheless replaced in future by a more efficient implementation. The reason is not the quality of the Pre3d code, which is excellent in itself, but the usage of JavaScript/Lua for 3D graphics which is inherently inefficient in term of speed and memory usage.
From the point of view of core mathematical functions we have also some interesting new features:
new implementation of the interpolation functions with, notably, the Akima and cubic spline interpolation
improvement of the handling of mixed operation between complex and real matrix
Now GSL shell automatically promote a matrix to complex when the other operands are complex. This improvement includes the arithmetic operations, the matrix multiplications functions, and the matrix operations solve() and inv().
GSL Shell 0.10.0 released. It does includes many new features, bug fixes and a more extended set of GSL routines.
Among the most important things:
GSL Shell version 0.9.6 released.
A lot of exciting features have been introduced:
GSL Shell version alpha 0.6 released.
We have implemented a complete interface for the Fast Fourier Transform routines. You can now perform Fourier transform both of real or complex data very easily and GSL shell will select the appropriate algorithm and manage the required resources for you. The implemented interface does not introduce any significant overhead over the low-level GSL functions, data are never copied if not necessary and a smart interface has been designed to allow uniform access to half-complex arrays.
A new notation has been introduced also for function literals. Now to express:
function(x, y)
return 2*x+1
end
you can use the following syntax:
|x,y| 2*x+y
This allows to write very simple one-line definition. For example to define the complex matrix of Fourier transform you can write:
m = cnew(32, 32, |k,j| exp(2i*pi*(k-1)*(j-1)/32))
and you will obtain the following matrix:
GSL Shell version alpha 0.4 released. Now the interface for the Numerical Integration routines is complete. Now it is possible to easily integrate weighted functions like:
The integration of infinite interval is also supported including oscillatory integrand types, i.e. Fourier integrals.
Some examples of its usage:
fsin = function(x) return sin(x)/x end
-- simple integration of fsin between 0 and 24*pi
x, err = integ {f= fsin, points= {0, 24*pi}}
-- integral of exp(-x)/sqrt(x) between 0 and 5, should give
-- sqrt(pi)*erf(sqrt(5)), the demonstration is left as exercise
x, err = integ {f= function(x) return exp(-x) end, points= {0, 5},
weight = {type='alglog', alpha = -0.5}}
-- the same of the first but uses a weight to trigger oscillatory method
x, err = integ {f= function(x) return 1/(x+1) end, points= {0, 24*pi},
weight = {type='sin', omega = 1}}
-- a Fourier integral
x, err = integ {f= function(x) exp(-x*x/2)*sin(5*x) end,
points= {'inf', '+inf'},
weight = {type='sin', omega = 4.5}}
-- a famous integral, should gives sqrt(2*pi)
x, err = integ {f= function(x) exp(-x*x/2) end, points= {'inf', '+inf'}}