power_method_test, a C code which calls power_method(), which carries out the power method to determine the eigenvalue of maximum modulus, and a corresponding eigenvector.
The information on this web page is distributed under the MIT license.
power_method, a C code which carries out the power method for finding a dominant eigenvalue and its eigenvector.