Skip to content
Prev 76470 / 398502 Next

"best" c++ matrix library?

* Ott Toomet <otoomet at ut.ee> [2005-08-31 19:53]:
Liboctave is a quite powerful C++ matrix library.  It is part of Octave
(www.octave.org), but you can write standalone applications with it.
Since liboctave links against standard Fortran and C libraries (lapack,
odepack, minpack, quadpack, slatec, fftw, etc), you have access to all
matrix algorithms of Octave.

Attached below is an example, showing eigenvalue computation (via the
lapack routine).  Also attached is the compilation command and the output
of the program (in my Debian sarge box).

I do not know how liboctave compares with the other libraries as regards
speed.  As far as I know, there is no efforts for gluing liboctave into
R.