Python for scientific programming?Asked by katie townley
I heard about the NumPy, SciPy and Matplotlib libraries, I heard it read on wikipedia :-) Who used them, what are the advantages over MatLab or MatCad, is it possible to process large amounts of data using complex mat transformations, and beautifully display the results.
Can be programmed in parallel for the cluster.
Data can be processed, but it is slow - I ended up staying on Scala, there are all the buns of modern languages (for example, I love tuples), and the speed is almost siplusplusovskaya.
Python will be 40 times slower. Actually, like a matlab, how I remember him. This significantly limits the range of conveniently solvable tasks.
For beautiful output and heaps of embedded scientific primitives, the same GnuScienceLibrary (including gnuplot, as its component) is attached to all possible languages, as far as I know ...
In general, I use a dynamic language (true, Ruby, not Python) to quickly (without recompilation) debug the algorithm on a small data array, and then I write the final version on Scala and compile it into a regular .jar.
To rewrite them into another programming language is an ungrateful task, since there is a lot of math, formulas, logic and other things in these functions.
You can use ctypes, but python then becomes just a convenient control construct. Actually, libraries are being implemented. For example NumPy.