Description Usage Arguments Value Examples
Rayleigh quotient iteration algorithm to computing the maximal eigenpair of matrix Q.
1 | ray.quot.seceig.general(Q, mu, v0_tilde, zstart, digit.thresh = 6)
|
Q |
The input matrix to find the maximal eigenpair. |
mu |
A vector. |
v0_tilde |
The unnormalized initial vector \tilde{v0}. |
zstart |
The initial z_0 as an approximation of ρ(Q). |
digit.thresh |
The precise level of output results. |
A list of eigenpair object are returned, with components z, v and iter.
z |
The approximating sequence of the maximal eigenvalue. |
v |
The approximating sequence of the corresponding eigenvector. |
iter |
The number of iterations. |
1 2 3 |
$v
$v[[1]]
[1] 0.5773503 0.5773503 0.5773503
$v[[2]]
[1] -0.5144958 -0.6859943 -0.5144958
$v[[3]]
[1] 0.6491589 0.3964662 0.6491589
$v[[4]]
[1] -0.6479344 -0.4004521 -0.6479344
$v[[5]]
[1] -0.6479362 -0.4004466 -0.6479362
$z
$z[[1]]
[1] 6
$z[[2]]
[1] -5.176471
$z[[3]]
[1] -5.229846
$z[[4]]
[1] -5.236077
$z[[5]]
[1] -5.236068
$iter
[1] 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.