naginterfaces.library.lapackeig.dorgqr

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

dorgqr generates all or part of the real orthogonal matrix from a factorization computed by dgeqrf() or dgeqp3().

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

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

Parameters
afloat, array-like, shape

Details of the vectors which define the elementary reflectors, as returned by dgeqrf() or dgeqp3().

taufloat, array-like, shape

Further details of the elementary reflectors, as returned by dgeqrf() or dgeqp3().

Returns
afloat, ndarray, shape

The matrix .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

dorgqr is intended to be used after a call to dgeqrf() or dgeqp3(). which perform a factorization of a real matrix . The orthogonal matrix is represented as a product of elementary reflectors.

This function may be used to generate explicitly as a square matrix, or to form only its leading columns.

Usually is determined from the factorization of an matrix with . The whole of may be computed by calling dorgqr with set to and set to or its leading columns by calling dorgqr with and set to .

The columns of returned by the last call form an orthonormal basis for the space spanned by the columns of ; thus dgeqrf() followed by dorgqr can be used to orthogonalize the columns of .

The information returned by the factorization functions also yields the factorization of the leading columns of , where . The orthogonal matrix arising from this factorization can be computed by calling dorgqr with set to or its leading columns by calling dorgqr with set to .

References

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