naginterfaces.library.lapackeig.zungtr

naginterfaces.library.lapackeig.zungtr(uplo, a, tau)[source]

zungtr generates the complex unitary matrix , which was determined by zhetrd() when reducing a Hermitian matrix to tridiagonal form.

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

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

Parameters
uplostr, length 1

This must be the same argument as supplied to zhetrd().

acomplex, array-like, shape

Details of the vectors which define the elementary reflectors, as returned by zhetrd().

taucomplex, array-like, shape

Further details of the elementary reflectors, as returned by zhetrd().

Returns
acomplex, ndarray, shape

The unitary matrix .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: .

Notes

zungtr is intended to be used after a call to zhetrd(), which reduces a complex Hermitian matrix to real symmetric tridiagonal form by a unitary similarity transformation: . zhetrd() represents the unitary matrix as a product of elementary reflectors.

This function may be used to generate explicitly as a square matrix.

References

Golub, G H and Van Loan, C F, 1996, Matrix Computations, (3rd Edition), Johns Hopkins University Press, Baltimore