Hi,

I'm trying to find a way to calculate the eigenvalues and eigenvectors for a square symmetrical matrix. I have used MATLAB to do this before and the solution was as simple as;

[V,D] = eig(A)

I'm wondering if there is a simple solution like this in c++. I am aware there is no function to calculate eigensolutions in the c++ math library, but is there an alternative library I can simply "include". I have tried searching the web, and have come across lots of matrix libraries, but I don't understand how to go about using them in my program.

Any help you can offer me would be really appreciated.

Thanks