I'm having some problems using Armadillo library..
I installed armadillo, lapack and blas by apt-get apt-get install libblas-devapt-get install liblapack-devapt-get install libarmadillo-dev
#include <iostream>
#include <armadillo>
usingnamespace std;
usingnamespace arma;
int main()
{
mat m;
vec eigval;
m << 1 << 1 << endr
<< 1 << 1 << endr;
cout << m << endl;
return 0;
}
But if I need to use some decomposition or factorisation (ex: eig_sym(eigval, m);)
i got the linker error: undefined reference to `wrapper_cheev_'
Anyone can help me?