dopmtr - overwrite the general real M-by-N matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'
SUBROUTINE DOPMTR( SIDE, UPLO, TRANS, M, N, AP, TAU, C, LDC, WORK, * INFO) CHARACTER * 1 SIDE, UPLO, TRANS INTEGER M, N, LDC, INFO DOUBLE PRECISION AP(*), TAU(*), C(LDC,*), WORK(*)
SUBROUTINE DOPMTR_64( SIDE, UPLO, TRANS, M, N, AP, TAU, C, LDC, * WORK, INFO) CHARACTER * 1 SIDE, UPLO, TRANS INTEGER*8 M, N, LDC, INFO DOUBLE PRECISION AP(*), TAU(*), C(LDC,*), WORK(*)
SUBROUTINE OPMTR( SIDE, UPLO, [TRANS], [M], [N], AP, TAU, C, [LDC], * [WORK], [INFO]) CHARACTER(LEN=1) :: SIDE, UPLO, TRANS INTEGER :: M, N, LDC, INFO REAL(8), DIMENSION(:) :: AP, TAU, WORK REAL(8), DIMENSION(:,:) :: C
SUBROUTINE OPMTR_64( SIDE, UPLO, [TRANS], [M], [N], AP, TAU, C, [LDC], * [WORK], [INFO]) CHARACTER(LEN=1) :: SIDE, UPLO, TRANS INTEGER(8) :: M, N, LDC, INFO REAL(8), DIMENSION(:) :: AP, TAU, WORK REAL(8), DIMENSION(:,:) :: C
#include <sunperf.h>
void dopmtr(char side, char uplo, char trans, int m, int n, double *ap, double *tau, double *c, int ldc, int *info);
void dopmtr_64(char side, char uplo, char trans, long m, long n, double *ap, double *tau, double *c, long ldc, long *info);
dopmtr overwrites the general real M-by-N matrix C with TRANS = 'T': Q**T * C C * Q**T
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).
= 'L': apply Q or Q**T from the Left;
= 'R': apply Q or Q**T from the Right.
= 'U': Upper triangular packed storage used in previous call to SSPTRD; = 'L': Lower triangular packed storage used in previous call to SSPTRD.
= 'N': No transpose, apply Q;
= 'T': Transpose, apply Q**T.
TAU(i)
must contain the scalar factor of the elementary
reflector H(i), as returned by SSPTRD.
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value