Newmat is a matrix manipulation library for C++. It can be used with various C++ compilers.
Here we will go through how to use newmat with Code::Blocks in Ubuntu. I’m using Ubuntu 9.10 Karmic Koala with newmat 10 and Code::Blocks 8.02, however other versions may also work. Here is how you can do it.