Python/NumPy performance
jean-louis
06/08/2012
When I bought my mac, during my PhD preparation, I decided not to install Matlab anymore, for various reasons: first, there are free and open source softwares that advantageously replace Matlab, and second, because I wanted to check whether these alternatives were viable in academic research. In this article, I want to explore (and share) my experience in replacing a precise point in Matlab, which is the MEX-file mechanism. How do I create extensions for Python/NumPy or Octave, to make the computations faster? If I can write a C code of my algorithm, can I use it under Python? Should I really do that?!! Well, without being an expert in programming, I believe my experience can enlighten these questions, if not addressing them. This article also serves as a container for personal notes and reminders.