unmr2#
Functions
-
void cunmr2(const char *side, const char *trans, const INT m, const INT n, const INT k, c64 *restrict A, const INT lda, const c64 *restrict tau, c64 *restrict C, const INT ldc, c64 *restrict work, INT *info)#
CUNMR2 overwrites the general complex m-by-n matrix C with.
Q * C if SIDE = ‘L’ and TRANS = ‘N’, or
Q**H* C if SIDE = ‘L’ and TRANS = ‘C’, or
C * Q if SIDE = ‘R’ and TRANS = ‘N’, or
C * Q**H if SIDE = ‘R’ and TRANS = ‘C’,
where Q is a complex unitary matrix defined as the product of k elementary reflectors
Q = H(1)**H H(2)**H … H(k)**H
as returned by CGERQF. Q is of order m if SIDE = ‘L’ and of order n if SIDE = ‘R’.
Parameters
inside‘L’: apply Q or Q**H from the Left; ‘R’: apply Q or Q**H from the Right.
intrans‘N’: apply Q (No transpose); ‘C’: apply Q**H (Conjugate transpose).
inmThe number of rows of C. m >= 0.
innThe number of columns of C. n >= 0.
inkThe number of elementary reflectors whose product defines the matrix Q. If SIDE = ‘L’, m >= k >= 0; if SIDE = ‘R’, n >= k >= 0.
inACOMPLEX*16 array, dimension (lda, m) if SIDE = ‘L’, (lda, n) if SIDE = ‘R’. The i-th row must contain the vector which defines the elementary reflector H(i), for i = 0,1,…,k-1, as returned by CGERQF in the last k rows of its array argument A. A is modified by the routine but restored on exit.
inldaThe leading dimension of A. lda >= max(1, k).
intauCOMPLEX*16 array, dimension (k). tau[i] must contain the scalar factor of the elementary reflector H(i), as returned by CGERQF.
inoutCCOMPLEX*16 array, dimension (ldc, n). On entry, the m-by-n matrix C. On exit, C is overwritten by Q*C or Q**H*C or C*Q**H or C*Q.
inldcThe leading dimension of C. ldc >= max(1, m).
outworkCOMPLEX*16 array, dimension (n) if SIDE = ‘L’, (m) if SIDE = ‘R’.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void cunmr2(
const char* side,
const char* trans,
const INT m,
const INT n,
const INT k,
c64* restrict A,
const INT lda,
const c64* restrict tau,
c64* restrict C,
const INT ldc,
c64* restrict work,
INT* info
);
Functions
-
void zunmr2(const char *side, const char *trans, const INT m, const INT n, const INT k, c128 *restrict A, const INT lda, const c128 *restrict tau, c128 *restrict C, const INT ldc, c128 *restrict work, INT *info)#
ZUNMR2 overwrites the general complex m-by-n matrix C with.
Q * C if SIDE = ‘L’ and TRANS = ‘N’, or
Q**H* C if SIDE = ‘L’ and TRANS = ‘C’, or
C * Q if SIDE = ‘R’ and TRANS = ‘N’, or
C * Q**H if SIDE = ‘R’ and TRANS = ‘C’,
where Q is a complex unitary matrix defined as the product of k elementary reflectors
Q = H(1)**H H(2)**H … H(k)**H
as returned by ZGERQF. Q is of order m if SIDE = ‘L’ and of order n if SIDE = ‘R’.
Parameters
inside‘L’: apply Q or Q**H from the Left; ‘R’: apply Q or Q**H from the Right.
intrans‘N’: apply Q (No transpose); ‘C’: apply Q**H (Conjugate transpose).
inmThe number of rows of C. m >= 0.
innThe number of columns of C. n >= 0.
inkThe number of elementary reflectors whose product defines the matrix Q. If SIDE = ‘L’, m >= k >= 0; if SIDE = ‘R’, n >= k >= 0.
inACOMPLEX*16 array, dimension (lda, m) if SIDE = ‘L’, (lda, n) if SIDE = ‘R’. The i-th row must contain the vector which defines the elementary reflector H(i), for i = 0,1,…,k-1, as returned by ZGERQF in the last k rows of its array argument A. A is modified by the routine but restored on exit.
inldaThe leading dimension of A. lda >= max(1, k).
intauCOMPLEX*16 array, dimension (k). tau[i] must contain the scalar factor of the elementary reflector H(i), as returned by ZGERQF.
inoutCCOMPLEX*16 array, dimension (ldc, n). On entry, the m-by-n matrix C. On exit, C is overwritten by Q*C or Q**H*C or C*Q**H or C*Q.
inldcThe leading dimension of C. ldc >= max(1, m).
outworkCOMPLEX*16 array, dimension (n) if SIDE = ‘L’, (m) if SIDE = ‘R’.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void zunmr2(
const char* side,
const char* trans,
const INT m,
const INT n,
const INT k,
c128* restrict A,
const INT lda,
const c128* restrict tau,
c128* restrict C,
const INT ldc,
c128* restrict work,
INT* info
);