naginterfaces.library.lapackeig.zgbbrd

naginterfaces.library.lapackeig.zgbbrd(vect, m, kl, ku, ab, c)[source]

zgbbrd reduces a complex band matrix to real upper bidiagonal form.

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

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

Parameters
vectstr, length 1

Indicates whether the matrices and/or are generated.

Neither nor is generated.

is generated.

is generated.

Both and are generated.

mint

, the number of rows of the matrix .

klint

The number of subdiagonals, , within the band of .

kuint

The number of superdiagonals, , within the band of .

abcomplex, array-like, shape

The original band matrix .

ccomplex, array-like, shape

Note: the required extent for this argument in dimension 1 is determined as follows: if : ; if : ; otherwise: .

An matrix .

Returns
abcomplex, ndarray, shape

is overwritten by values generated during the reduction.

dfloat, ndarray, shape

The diagonal elements of the bidiagonal matrix .

efloat, ndarray, shape

The superdiagonal elements of the bidiagonal matrix .

qcomplex, ndarray, shape

If or , contains the unitary matrix .

If or , is not referenced.

ptcomplex, ndarray, shape

The unitary matrix , if or . If or , is not referenced.

ccomplex, ndarray, shape

is overwritten by . If , is not referenced.

Raises
NagValueError
(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: .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

zgbbrd reduces a complex band matrix to real upper bidiagonal form by a unitary transformation: . The unitary matrices and , of order and respectively, are determined as a product of Givens rotation matrices, and may be formed explicitly by the function if required. A matrix may also be updated to give .

The function uses a vectorizable form of the reduction.