Description Usage Arguments Value Examples
View source: R/powerful.seceig.tri.R
Calculate the next to maximal eigenpair for the tridiagonal matrix by Thomas algorithm.
1 | powerful.seceig.tri(a, b, digit.thresh = 6)
|
a |
The lower diagonal vector. |
b |
The upper diagonal vector. |
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 eigenfunction of the corresponding eigenvector. |
iter |
The number of iterations. |
1 2 3 4 | nn = 8
a = c(1:(nn - 1))^2
b = c(1:(nn - 1))^2
powerful.seceig.tri(a, b, digit.thresh = 6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.