while octave is a matlab clone for gnu/linux systems it does not offer much help to those who want to harness the speed of c/c++ programming. however development time is rather large specially when open source and standard scientific libraries are not available.

the usual trend is to test out an idea in a rapid development environment like matlab/octave/scilab and then code it in c/c++ if speed is an issue as has often happened with me. if a library existed that provided all (?) matlab functionality to a researcher then he/she could concentrate more on doing the research rather than having to invest time in developing the software tools needed for the research. after all there is no point in reinventing the wheel.

also i feel there is a need for a scientific computing framework in which the basic element is a tensor/matrix, as is the case with matlab. yes i have been using gsl/slicot for some time but working with gsl is not an “easy” task. but thank god for gsl and other open source or free libraries or else i would have been in a big soup.

as far as my understanding goes its possible to use c/c++ in matlab/octave but they usually require one to call c/c++ routines from inside of matlab/octave. however my needs are to be able to use matlab/octave from c/c++ programs. moreover if i could help it i want to rely and use free and open source software only. this is a MUST for researchers in countries like india.

### Like this:

Like Loading...

*Related*

on September 25, 2013 at 7:54 pm |JasonI am currently working on an open source C++ library that is very similar to what you describe in this post.

KeyCpp is an open source C++ library that provides MATLAB/Octave-like syntax to several useful numerical methods and also some plotting functionality. Currently there are functions for eig, ode45, fft, linsolve, svd, interp1, plot, and many other common MATLAB functions.

While there are other (very good) libraries that provide many of these functions (such as Armadillo, Eigen, etc), most are not complete numerical libraries and most of their syntax is dissimilar to MATLAB’s syntax. While KeyCpp is also not yet a complete numerical library (but is improving all the time!), the syntax is as close to MATLAB’s as the C++ language allows.

Also, if anyone has the time/desire to contribute to this project I am looking for help!

on September 25, 2013 at 10:03 pm |awhanthank you Jason for the comment. this is an old post and since then i have integrated more and more of GSL in to my work because of its association with the gnu project. since then i have learnt of eigen, armadillo, blitz and some others. i find this area quite fragmented adding to the confusion. there for i limit myself to gsl. Eigen seems to have been adopted in to many scientific computing projects. KDE uses Eigen so I expect the trend to continue. more over the python scientific computing stack has generated momentum and is replacing matlab for me atleast.

Thanks for pointing me to your project. I will definitely check it out. Great choice of license, I must say. best of luck.