Matrix computation in Matlab/Octave style

Are you craving for Matlab/Octave style expressions in Python? (For example, A*B is matrix multiplication, not elementwise.) Now you can. I've just made a package MatPy and started a SourceForge project for it. It is implemented as wrappers around the Numeric and Gnuplot packages. You can find the source codes, tests and docs on the home page http://MatPy.sourceforge.net The main reason I have written this package is that I'm tired of dealing with NewAxis and have "Frame not aligned" exceptions. Now matrices and vectors behave as one would expect from linear algebra. Examples:
There are also matrix and elementwise versions of functions: expm and exp, sqrtm and sqrt, etc. Questions, comments, suggestions and helps are all very welcome. It is a future plan to have an efficient interface to Octave to leverage its large code base. Enjoy! Huaiyu <hzhu@users.sourceforge.net>
participants (1)
-
Huaiyu Zhu