Registered Member
|
Hi all,
im quite new to programming, but got an assignment which involves diagonalizing and calculating the eigenvalues and vectors of a hermitian 8x8 matrices. In my search I came across Eigen, as a package which should be able to do this for me. While I get the basic gist of how this package works (tried some basic arithmatic with real matrices) I have no idea how to go about my eigenvalues of the complex matrices.. So far, I set up a class for this which looks like this:
This is an extract of my "hamiltonian" class, with the part which i dont get. Due to numerical errors owing to the precision of "double", my matrix wont be strictly hermitian. Can I still calculate its eigenvalues and vectors, and if so, what would be the correct implementation of this ComplexEigenSolver module? Would be great if anyone had any ideas. This http://eigen.tuxfamily.org/dox/classEig ... olver.html is what the documentation says, but this didnt really help me.. Regards. (ps: is this the correct forum for this post?) |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]