This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Errors while trying to run an example - new eigen user

Tags: None
(comma "," separated)
blackparade
Registered Member
Posts
2
Karma
0
Hello everyone!

Im just getting started into eigen and trying to run the first example found here:

http://eigen.tuxfamily.org/dox-devel/classEigen_1_1EigenSolver.html

However im getting error messages cause the compiler cant find the classes MatrixXd, VectorXcd, MatrixXcd, MatrixXcd and EigenSolver even when im including Eigen/Core. For the Eigensolver class I read in the documentation that including Eigen/Eigenvalues is needed, but it doesnt exist in the /Eigen directory.

I downloaded the version 2.0.15 from the eigen main page.

Could someone tell me please how to make it work?

Thanks in advance :)
manuels
Registered Member
Posts
47
Karma
0
You are using version 2 of Eigen, but this documentation is about the developer version (version 3).
Probably you did not specify
Code: Select all
using namespace Eigen;
in your code.
blackparade
Registered Member
Posts
2
Karma
0
Ah...i was using the wrong version ._.

Its working now ^-^

thx ;D


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient