eff.ini.seceig.tri {EfficientMaxEigenpair}R Documentation

Tridiagonal matrix next to the maximal eigenpair

Description

Calculate the next to maximal eigenpair for the tridiagonal matrix whose sums of each row should be 0.

Usage

eff.ini.seceig.tri(a, b, xi = 1, digit.thresh = 6)

Arguments

a

The lower diagonal vector.

b

The upper diagonal vector.

xi

The coefficient used in the improved initials to form the convex combination of \delta_1^{-1} and (v_0,-Q*v_0)_\mu, it should between 0 and 1.

digit.thresh

The precise level of output results.

Value

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.

Note

The sums of each row of the input tridiagonal matrix should be 0.

See Also

eff.ini.seceig.general for the general conservative matrix next to the maximal eigenpair.

Examples

a = c(1:7)^2
b = c(1:7)^2

eff.ini.seceig.tri(a, b, xi = 0)
eff.ini.seceig.tri(a, b, xi = 1)
eff.ini.seceig.tri(a, b, xi = 2/5)

[Package EfficientMaxEigenpair version 0.1.4 Index]