Description Usage Arguments Value Examples
Finds a dominant eigenvalue and its corresponding eigenvector of a square matrix by applying the Power Method with scaling
1 | power_method(X, v = NULL, eps = 1e-06, maxiter = 100)
|
X |
a numeric matrix |
v |
optional starting vector |
eps |
convergence threshold |
maxiter |
maximum number of iterations |
a list containing the eigenvector, eigenvalue, and iterations
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.