Eigen is the Linear Algebra Library for C++
If you're using Mac OS X and homebrew. to install
$ brew install eigen3
and add CPLUS_INCLUDE_PATH.
export CPLUS_INCLUDE_PATH=/usr/local/include/eigen3:$CPLUS_INCLUDE_PATH
add it to your .bashrc or .zshrc