Is it normal for Mathematica to take over 30mins to try to compute the first eigenvector of a 100x100 matrix? The matrix is reasonably sparse - about 90% of the cells are 0s and each column sums to either 1 or 0.
The command I'm using is
m = ToExpression@Import@"http://pastebin.com/raw.php?i=yM4pUYQV";
N[Eigenvectors[m, Quartics -> True][[1]]]
My machine is an i5 3ghz and the process still isn't terminated yet. It's a quad core machine, but only one of the cores is being maxed out for over 30mins.
N[Eigenvectors[mat, Quartics -> True][[1]]]
wheremat = RandomReal[{1, 1000}, {100, 100}]
, it takes no time at all. Something to do with the matrixm
itself, I think. $\endgroup$Eigenvalues[N[matrix]]
? It will be much faster, in the sense that an instant is faster than a half hour. $\endgroup$