To give you some background, I am trying to perform an AHP calculation using Java code. I have a 15x15 matrix and I need to find its eigenvector. I want the eigenvector that corresponds to the greatest eigenvalue. Let's say I already have some method that gives me all the eigenvectors and all the eigenvalues. Let's call the eigenvector matrix V (15x15) and the eigenvalues matrix D (15x15 block diagonal). I'm confused because some of my eigenvalues are complex and so I don't exactly know how to find the maximum one. I believe I have to do something like a^2 + b^2, but this is where I need help. Do I do this per column in D? (I need the exact steps in calculating and then also find the maximum one.) Thank you.