Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

p?ormrq

Multiplies a general matrix by the orthogonal matrix
Q
of the
RQ
factorization formed by
p?gerqf
.

Syntax

call psormrq
(
side
,
trans
,
m
,
n
,
k
,
a
,
ia
,
ja
,
desca
,
tau
,
c
,
ic
,
jc
,
descc
,
work
,
lwork
,
info
)
call pdormrq
(
side
,
trans
,
m
,
n
,
k
,
a
,
ia
,
ja
,
desca
,
tau
,
c
,
ic
,
jc
,
descc
,
work
,
lwork
,
info
)
Include Files
Description
The
p?ormrq
routine
overwrites the general real
m
-by-
n
distributed matrix sub (
C
) =
C
(
:
+
m
-1,
:
+
n
-1) with
side
=
'L'
side
=
'R'
trans
=
'N'
:
Q
*sub(
C
)
sub(
C
)*
Q
trans
=
'T'
:
Q
T
*sub(
C
)
sub(
C
)*
Q
T
where
Q
is a real orthogonal distributed matrix defined as the product of
k
elementary reflectors
Q
=
H
(1)
H
(2)...
H
(
k
)
as returned by
p?gerqf
.
Q
is of order
m
if
side
=
'L'
and of order
n
if
side
=
'R'
.
Input Parameters
side
(global)
CHARACTER
=
'L'
:
Q
or
Q
T
is applied from the left.
=
'R'
:
Q
or
Q
T
is applied from the right.
trans
(global)
CHARACTER
=
'N'
, no transpose,
Q
is applied.
=
'T'
, transpose,
Q
T
is applied.
m
(global)
INTEGER
.
The number of rows in the distributed matrix sub(
C
)
(
m
0)
.
n