naginterfaces.library.lapackeig.zhbgst

naginterfaces.library.lapackeig.zhbgst(vect, uplo, n, ka, kb, ab, bb)[source]

zhbgst reduces a complex Hermitian-definite generalized eigenproblem to the standard form , where and are band matrices, is a complex Hermitian matrix, and has been factorized by zpbstf().

For full information please refer to the NAG Library document for f08us

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f08/f08usf.html

Parameters
vectstr, length 1

Indicates whether is to be returned.

is not returned.

is returned.

uplostr, length 1

Indicates whether the upper or lower triangular part of is stored.

The upper triangular part of is stored.

The lower triangular part of is stored.

nint

, the order of the matrices and .

kaint

If , the number of superdiagonals, , of the matrix .

If , the number of subdiagonals, , of the matrix .

kbint

If , the number of superdiagonals, , of the matrix .

If , the number of subdiagonals, , of the matrix .

abcomplex, array-like, shape

The upper or lower triangle of the Hermitian band matrix .

bbcomplex, array-like, shape

The banded split Cholesky factor of as specified by , and and returned by zpbstf().

Returns
abcomplex, ndarray, shape

The upper or lower triangle of is overwritten by the corresponding upper or lower triangle of as specified by .

xcomplex, ndarray, shape

The matrix , if .

If , is not referenced.

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

To reduce the complex Hermitian-definite generalized eigenproblem to the standard form , where , and are banded, zhbgst must be preceded by a call to zpbstf() which computes the split Cholesky factorization of the positive definite matrix : . The split Cholesky factorization, compared with the ordinary Cholesky factorization, allows the work to be approximately halved.

This function overwrites with , where and is a unitary matrix chosen (implicitly) to preserve the bandwidth of . The function also has an option to allow the accumulation of , and then, if is an eigenvector of , is an eigenvector of the original system.

References

Crawford, C R, 1973, Reduction of a band-symmetric generalized eigenvalue problem, Comm. ACM (16), 41–44

Kaufman, L, 1984, Banded eigenvalue solvers on vector machines, ACM Trans. Math. Software (10), 73–86