naginterfaces.library.lapackeig.zunmql¶
- naginterfaces.library.lapackeig.zunmql(side, trans, a, tau, c)[source]¶
zunmql
multiplies a general complex matrix by the complex unitary matrix from a factorization computed byzgeqlf()
.For full information please refer to the NAG Library document for f08cu
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f08/f08cuf.html
- Parameters
- sidestr, length 1
Indicates how or is to be applied to .
or is applied to from the left.
or is applied to from the right.
- transstr, length 1
Indicates whether or is to be applied to .
is applied to .
is applied to .
- acomplex, array-like, shape
Note: the required extent for this argument in dimension 1 is determined as follows: if : ; if : ; otherwise: .
On entry: details of the vectors which define the elementary reflectors, as returned by
zgeqlf()
.On exit: is modified by
zunmql
but restored on exit.- taucomplex, array-like, shape
Further details of the elementary reflectors, as returned by
zgeqlf()
.- ccomplex, array-like, shape
The matrix .
- Returns
- ccomplex, ndarray, shape
is overwritten by or or or as specified by and .
- 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: .
- (errno )
On entry, error in parameter .
Constraint: .
- Notes
zunmql
is intended to be used following a call tozgeqlf()
, which performs a factorization of a complex matrix and represents the unitary matrix as a product of elementary reflectors.This function may be used to form one of the matrix products
overwriting the result on , which may be any complex rectangular matrix.
A common application of this function is in solving linear least squares problems, as described in the F08 Introduction.
- References
Anderson, E, Bai, Z, Bischof, C, Blackford, S, Demmel, J, Dongarra, J J, Du Croz, J J, Greenbaum, A, Hammarling, S, McKenney, A and Sorensen, D, 1999, LAPACK Users’ Guide, (3rd Edition), SIAM, Philadelphia, https://www.netlib.org/lapack/lug