opmtr#
Functions
-
void sopmtr(const char *side, const char *uplo, const char *trans, const INT m, const INT n, f32 *restrict AP, const f32 *restrict tau, f32 *restrict C, const INT ldc, f32 *restrict work, INT *info)#
SOPMTR overwrites the general real M-by-N matrix C with.
TRANS = ‘N’: Q * C C * Q TRANS = ‘T’: Q**T * C C * Q**TSIDE = 'L' SIDE = 'R'
where Q is a real orthogonal 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 SSPTRD 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**T from the Left; = ‘R’: apply Q or Q**T from the Right.
inuplo= ‘U’: Upper triangular packed storage used in previous call to SSPTRD; = ‘L’: Lower triangular packed storage used in previous call to SSPTRD.
intrans= ‘N’: No transpose, apply Q; = ‘T’: Transpose, apply Q**T.
inmThe number of rows of the matrix C. m >= 0.
innThe number of columns of the matrix C. n >= 0.
inAPDouble precision array, dimension (m*(m+1)/2) if side = ‘L’ (n*(n+1)/2) if side = ‘R’ The vectors which define the elementary reflectors. AP is modified by the routine but restored on exit.
intauDouble precision array, dimension (m-1) if side = ‘L’ or (n-1) if side = ‘R’.
inoutCDouble precision array, dimension (ldc, n). On entry, the M-by-N matrix C. On exit, C is overwritten by Q*C or Q**T*C or C*Q**T or C*Q.
inldcThe leading dimension of the array C. ldc >= max(1, m).
outworkDouble precision 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 sopmtr(
const char* side,
const char* uplo,
const char* trans,
const INT m,
const INT n,
f32* restrict AP,
const f32* restrict tau,
f32* restrict C,
const INT ldc,
f32* restrict work,
INT* info
);
Functions
-
void dopmtr(const char *side, const char *uplo, const char *trans, const INT m, const INT n, f64 *restrict AP, const f64 *restrict tau, f64 *restrict C, const INT ldc, f64 *restrict work, INT *info)#
DOPMTR overwrites the general real M-by-N matrix C with.
TRANS = ‘N’: Q * C C * Q TRANS = ‘T’: Q**T * C C * Q**TSIDE = 'L' SIDE = 'R'
where Q is a real orthogonal 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 DSPTRD 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**T from the Left; = ‘R’: apply Q or Q**T from the Right.
inuplo= ‘U’: Upper triangular packed storage used in previous call to DSPTRD; = ‘L’: Lower triangular packed storage used in previous call to DSPTRD.
intrans= ‘N’: No transpose, apply Q; = ‘T’: Transpose, apply Q**T.
inmThe number of rows of the matrix C. m >= 0.
innThe number of columns of the matrix C. n >= 0.
inAPDouble precision array, dimension (m*(m+1)/2) if side = ‘L’ (n*(n+1)/2) if side = ‘R’ The vectors which define the elementary reflectors. AP is modified by the routine but restored on exit.
intauDouble precision array, dimension (m-1) if side = ‘L’ or (n-1) if side = ‘R’.
inoutCDouble precision array, dimension (ldc, n). On entry, the M-by-N matrix C. On exit, C is overwritten by Q*C or Q**T*C or C*Q**T or C*Q.
inldcThe leading dimension of the array C. ldc >= max(1, m).
outworkDouble precision 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 dopmtr(
const char* side,
const char* uplo,
const char* trans,
const INT m,
const INT n,
f64* restrict AP,
const f64* restrict tau,
f64* restrict C,
const INT ldc,
f64* restrict work,
INT* info
);