upmtr#
Functions
-
void cupmtr(const char *side, const char *uplo, const char *trans, const INT m, const INT n, c64 *restrict AP, const c64 *restrict tau, c64 *restrict C, const INT ldc, c64 *restrict work, INT *info)#
CUPMTR 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 CHPTRD using packed storage:
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 triangular packed storage used in previous call to CHPTRD; ‘L’: Lower triangular packed storage used in previous call to CHPTRD.
intrans‘N’: No transpose, apply Q; ‘C’: Conjugate transpose, apply Q**H.
inmThe number of rows of the matrix C. m >= 0.
innThe number of columns of the matrix C. n >= 0.
inAPComplex array, dimension (m*(m+1)/2) if side = ‘L’ or (n*(n+1)/2) if side = ‘R’. The vectors which define the elementary reflectors, as returned by CHPTRD. AP is modified by the routine but restored on exit.
intauComplex array, dimension (m-1) if side = ‘L’ or (n-1) if side = ‘R’. tau(i) must contain the scalar factor of the elementary reflector H(i), as returned by CHPTRD.
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 the array C. ldc >= max(1,m).
outworkComplex array, dimension (n) if side = ‘L’ or (m) if side = ‘R’.
outinfo= 0: successful exit < 0: if info = -i, the i-th argument had an illegal value
void cupmtr(
const char* side,
const char* uplo,
const char* trans,
const INT m,
const INT n,
c64* restrict AP,
const c64* restrict tau,
c64* restrict C,
const INT ldc,
c64* restrict work,
INT* info
);
Functions
-
void zupmtr(const char *side, const char *uplo, const char *trans, const INT m, const INT n, c128 *restrict AP, const c128 *restrict tau, c128 *restrict C, const INT ldc, c128 *restrict work, INT *info)#
ZUPMTR 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 ZHPTRD using packed storage:
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 triangular packed storage used in previous call to ZHPTRD; ‘L’: Lower triangular packed storage used in previous call to ZHPTRD.
intrans‘N’: No transpose, apply Q; ‘C’: Conjugate transpose, apply Q**H.
inmThe number of rows of the matrix C. m >= 0.
innThe number of columns of the matrix C. n >= 0.
inAPComplex array, dimension (m*(m+1)/2) if side = ‘L’ or (n*(n+1)/2) if side = ‘R’. The vectors which define the elementary reflectors, as returned by ZHPTRD. AP is modified by the routine but restored on exit.
intauComplex array, dimension (m-1) if side = ‘L’ or (n-1) if side = ‘R’. tau(i) must contain the scalar factor of the elementary reflector H(i), as returned by ZHPTRD.
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 the array C. ldc >= max(1,m).
outworkComplex array, dimension (n) if side = ‘L’ or (m) if side = ‘R’.
outinfo= 0: successful exit < 0: if info = -i, the i-th argument had an illegal value
void zupmtr(
const char* side,
const char* uplo,
const char* trans,
const INT m,
const INT n,
c128* restrict AP,
const c128* restrict tau,
c128* restrict C,
const INT ldc,
c128* restrict work,
INT* info
);