unm22#
Functions
-
void cunm22(const char *side, const char *trans, const INT m, const INT n, const INT n1, const INT n2, const c64 *restrict Q, const INT ldq, c64 *restrict C, const INT ldc, c64 *restrict work, const INT lwork, INT *info)#
CUNM22 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’. The unitary matrix Q processes a 2-by-2 block structure
where Q12 is an N1-by-N1 lower triangular matrix and Q21 is an N2-by-N2 upper triangular matrix.[ Q11 Q12 ] Q = [ ] [ Q21 Q22 ],
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 the matrix C. m >= 0.
innThe number of columns of the matrix C. n >= 0.
inn1The dimension of Q12. n1 >= 0.
inn2The dimension of Q21. n2 >= 0. n1 + n2 = m if SIDE = ‘L’ and n1 + n2 = n if SIDE = ‘R’.
inQSingle complex array, dimension (ldq, m) if SIDE = ‘L’, (ldq, n) if SIDE = ‘R’.
inldqThe leading dimension of the array Q. ldq >= max(1, m) if SIDE = ‘L’; ldq >= max(1, n) if SIDE = ‘R’.
inoutCSingle complex 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 the array C. ldc >= max(1, m).
outworkSingle complex 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 >= m*n. 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 cunm22(
const char* side,
const char* trans,
const INT m,
const INT n,
const INT n1,
const INT n2,
const c64* restrict Q,
const INT ldq,
c64* restrict C,
const INT ldc,
c64* restrict work,
const INT lwork,
INT* info
);
Functions
-
void zunm22(const char *side, const char *trans, const INT m, const INT n, const INT n1, const INT n2, const c128 *restrict Q, const INT ldq, c128 *restrict C, const INT ldc, c128 *restrict work, const INT lwork, INT *info)#
ZUNM22 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’. The unitary matrix Q processes a 2-by-2 block structure
where Q12 is an N1-by-N1 lower triangular matrix and Q21 is an N2-by-N2 upper triangular matrix.[ Q11 Q12 ] Q = [ ] [ Q21 Q22 ],
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 the matrix C. m >= 0.
innThe number of columns of the matrix C. n >= 0.
inn1The dimension of Q12. n1 >= 0.
inn2The dimension of Q21. n2 >= 0. n1 + n2 = m if SIDE = ‘L’ and n1 + n2 = n if SIDE = ‘R’.
inQDouble complex array, dimension (ldq, m) if SIDE = ‘L’, (ldq, n) if SIDE = ‘R’.
inldqThe leading dimension of the array Q. ldq >= max(1, m) if SIDE = ‘L’; ldq >= max(1, n) if SIDE = ‘R’.
inoutCDouble complex 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 the array C. ldc >= max(1, m).
outworkDouble complex 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 >= m*n. 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 zunm22(
const char* side,
const char* trans,
const INT m,
const INT n,
const INT n1,
const INT n2,
const c128* restrict Q,
const INT ldq,
c128* restrict C,
const INT ldc,
c128* restrict work,
const INT lwork,
INT* info
);