Developer Reference

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

p?ormrz

Multiplies a general matrix by the orthogonal matrix from a reduction to upper triangular form formed by
p?tzrzf
.

Syntax

call psormrz
(
side
,
trans
,
m
,
n
,
k
,
l
,
a
,
ia
,
ja
,
desca
,
tau
,
c
,
ic
,
jc
,
descc
,
work
,
lwork
,
info
)
call pdormrz
(
side
,
trans
,
m
,
n
,
k
,
l
,
a
,
ia
,
ja
,
desca
,
tau
,
c
,
ic
,
jc
,
descc
,
work
,
lwork
,
info
)
Include Files
Description
This
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?tzrzf
.
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
(global)
INTEGER
.
The number of columns in the distributed matrix
sub(
C
)
(
n
0)
.
k
(global)
INTEGER
.
The number of elementary reflectors whose product defines the matrix
Q
. Constraints:
If
side
=
'L'
,
m
k
≥0
If
side
=
'R'
,
n
k
≥0
.
l
(global)
The columns of the distributed matrix sub(
A
) containing the meaningful part of the Householder reflectors.
If