unmtr#
Functions
-
void cunmtr(const char *side, const char *uplo, const char *trans, const INT m, const INT n, const c64 *restrict A, const INT lda, const c64 *restrict tau, c64 *restrict C, const INT ldc, c64 *restrict work, const INT lwork, INT *info)#
CUNMTR overwrites the general complex M-by-N matrix C with.
TRANS = ‘N’: Q * C C * Q TRANS = ‘C’: Q**H * C C * Q**HSIDE = 'L' SIDE = 'R'
where Q is a complex unitary matrix of order nq, with nq = m if SIDE = ‘L’ and nq = n if SIDE = ‘R’. Q is defined as the product of nq-1 elementary reflectors, as returned by CHETRD:
if UPLO = ‘U’, Q = H(nq-1) … H(2) H(1);
if UPLO = ‘L’, Q = H(1) H(2) … H(nq-1).
Parameters
inside= ‘L’: apply Q or Q**H from the Left; = ‘R’: apply Q or Q**H from the Right.
inuplo= ‘U’: Upper triangle of A contains elementary reflectors from CHETRD; = ‘L’: Lower triangle of A contains elementary reflectors from CHETRD.
intrans= ‘N’: No transpose, apply Q; = ‘C’: Conjugate transpose, apply Q**H.
inmThe number of rows of C. m >= 0.
innThe number of columns of C. n >= 0.
inAComplex array, dimension (lda, m) if SIDE = ‘L’, (lda, n) if SIDE = ‘R’. The vectors which define the elementary reflectors, as returned by CHETRD.
inldaThe leading dimension of A. lda >= max(1, m) if SIDE = ‘L’; lda >= max(1, n) if SIDE = ‘R’.
intauComplex array, dimension (m-1) if SIDE = ‘L’, (n-1) if SIDE = ‘R’. TAU(i) must contain the scalar factor of the elementary reflector H(i), as returned by CHETRD.
inoutCComplex 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 array, dimension (max(1, lwork)). On exit, if info = 0, work[0] returns the optimal lwork.
inlworkThe dimension of the array work. If SIDE = ‘L’, lwork >= max(1, n); if SIDE = ‘R’, lwork >= max(1, m). For optimum performance lwork >= n*nb if SIDE = ‘L’, and lwork >= m*nb if SIDE = ‘R’, where nb is the optimal blocksize. If lwork = -1, then a workspace query is assumed.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void cunmtr(
const char* side,
const char* uplo,
const char* trans,
const INT m,
const INT n,
const c64* restrict A,
const INT lda,
const c64* restrict tau,
c64* restrict C,
const INT ldc,
c64* restrict work,
const INT lwork,
INT* info
);
Functions
-
void zunmtr(const char *side, const char *uplo, const char *trans, const INT m, const INT n, const c128 *restrict A, const INT lda, const c128 *restrict tau, c128 *restrict C, const INT ldc, c128 *restrict work, const INT lwork, INT *info)#
ZUNMTR overwrites the general complex M-by-N matrix C with.
TRANS = ‘N’: Q * C C * Q TRANS = ‘C’: Q**H * C C * Q**HSIDE = 'L' SIDE = 'R'
where Q is a complex unitary matrix of order nq, with nq = m if SIDE = ‘L’ and nq = n if SIDE = ‘R’. Q is defined as the product of nq-1 elementary reflectors, as returned by ZHETRD:
if UPLO = ‘U’, Q = H(nq-1) … H(2) H(1);
if UPLO = ‘L’, Q = H(1) H(2) … H(nq-1).
Parameters
inside= ‘L’: apply Q or Q**H from the Left; = ‘R’: apply Q or Q**H from the Right.
inuplo= ‘U’: Upper triangle of A contains elementary reflectors from ZHETRD; = ‘L’: Lower triangle of A contains elementary reflectors from ZHETRD.
intrans= ‘N’: No transpose, apply Q; = ‘C’: Conjugate transpose, apply Q**H.
inmThe number of rows of C. m >= 0.
innThe number of columns of C. n >= 0.
inAComplex array, dimension (lda, m) if SIDE = ‘L’, (lda, n) if SIDE = ‘R’. The vectors which define the elementary reflectors, as returned by ZHETRD.
inldaThe leading dimension of A. lda >= max(1, m) if SIDE = ‘L’; lda >= max(1, n) if SIDE = ‘R’.
intauComplex array, dimension (m-1) if SIDE = ‘L’, (n-1) if SIDE = ‘R’. TAU(i) must contain the scalar factor of the elementary reflector H(i), as returned by ZHETRD.
inoutCComplex 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 array, dimension (max(1, lwork)). On exit, if info = 0, work[0] returns the optimal lwork.
inlworkThe dimension of the array work. If SIDE = ‘L’, lwork >= max(1, n); if SIDE = ‘R’, lwork >= max(1, m). For optimum performance lwork >= n*nb if SIDE = ‘L’, and lwork >= m*nb if SIDE = ‘R’, where nb is the optimal blocksize. If lwork = -1, then a workspace query is assumed.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void zunmtr(
const char* side,
const char* uplo,
const char* trans,
const INT m,
const INT n,
const c128* restrict A,
const INT lda,
const c128* restrict tau,
c128* restrict C,
const INT ldc,
c128* restrict work,
const INT lwork,
INT* info
);