I want to find dominant eigenvalue using Power Method. I could not figure out how to find number of iteration.. Is there anyway to count number of output after run the code?
This is my code to solve the problem that attached (power iteration--my code.nb).
everything is fine.. it is not an efficient way to use stopping criteria in this way..
Thanks in advance..
(power iteration.nb has someone else's code I tried.)