New versions of Maxima and Scilab released

December 20th, 2009 | Categories: math software, matlab, Maxima, Open Source | Tags:

It’s been a great week for Open Source maths software this week with new releases of both Maxima and Scilab.

Maxima is a computer algebra system written in lisp that runs on most operating systems including Linux, Mac OS X and Windows.  The latest version, Maxima 5.20.1,  was released on Sunday 13th December and the full list of changes can be found here.  Highlights include improvements to the calculation of special functions, faster fourier transform routines and a general mechanism for functions to distribute over operators.

This last item is pretty cool since it allows you to map functions over lists in a similar manner to Mathematica.  For example, if you apply the sin function to a list in Maxima then you’ll now get a list containing the sines of each element of that list:

(%i1) sin([1,2,3]);
(%o1) [sin(1),sin(2),sin(3)]

Here are some examples of this new functionality for two-argument functions such as expintegral_e (taken from a post of Dieter Kaiser’s) include :

(%i2) expintegral_e([1,2,3],x);
(%o2) [expintegral_e(1,x),expintegral_e(2,x),expintegral_e(3,x)]

(%i3) expintegral_e(1,[x,y,z]);
(%o3) [expintegral_e(1,x),expintegral_e(1,y),expintegral_e(1,z)]

(%i4) expintegral_e([1,2,3],[x,y,z]);
(%o4) [[expintegral_e(1,x),expintegral_e(1,y),expintegral_e(1,z)],
       [expintegral_e(2,x),expintegral_e(2,y),expintegral_e(2,z)],
       [expintegral_e(3,x),expintegral_e(3,y),expintegral_e(3,z)]]

Head over to sourceforge to download Maxima for your operating system of choice. Now, onto Scilab….

Scilab is a fantastic open source numerical mathematics environment that always seems to come top of the list when people start discussing free MATLAB alternatives.  December 17th saw the release of Scilab 5.20 and the list of changes is epic (warning:pdf file).

The first new Scilab feature that caught my eye is the addition of a module called Xcos.  Xcos 1.0 is based on Scicos 4.3 which is a “graphical dynamical system modeler and simulator.”  Now I’ve not used any of this stuff before but as far as I can tell it could be considered as a free version of Simulink.  A bit of googling turned up a paper by M.G.J.M. Maassen, a student at the Eindoven University of Technology, who looked at the issue of migrating from Simulink to Scicos with respect to real time programs.  Written in 2006, this paper is slightly out of date but is a great start for anyone who is considering moving away from Simulink.

Along with other free mathematical software applications such as Octave, Sage, Python/Numpy and freemat, these new releases demonstrate that the world of free, open source mathematical applications has never looked better.

  1. December 20th, 2009 at 19:05
    Reply | Quote | #1

    I wish some of the project would join forces to create even better alternative.

    Anyhow, having the option to chose is great by itself.

    Thanks.

  2. December 22nd, 2009 at 15:41
    Reply | Quote | #2

    Hi Drazick

    I see what you mean but to be honest, I like the variety. Sage is doing a great job of pulling them all together IMHO.

    Cheers,
    Mike

  3. NAGfan
    January 15th, 2010 at 14:14
    Reply | Quote | #3

    Hi
    Were you aware NAG can link to SciLab? Sounds a powerful combo.

  4. January 15th, 2010 at 14:28
    Reply | Quote | #4

    Hi

    Yes I read about it a little while ago.

    http://www.nag.co.uk/doc/techrep/html/TR5_09/TR5_09.asp

    I prefer NAG/Python myself but then I am a little biased:

    http://www.walkingrandomly.com/?page_id=1662

    Cheers,
    Mike

  5. MySchizoBuddy
    June 26th, 2010 at 12:19
    Reply | Quote | #5

    Scilab doesn’t look native on Mac, but neither does Matlab :)

Comments are closed.