Developer Reference

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

p?laqge

Scales a general rectangular matrix, using row and column scaling factors computed by
p?geequ
.

Syntax

call pslaqge
(
m
,
n
,
a
,
ia
,
ja
,
desca
,
r
,
c
,
rowcnd
,
colcnd
,
amax
,
equed
)
call pdlaqge
(
m
,
n
,
a
,
ia
,
ja
,
desca
,
r
,
c
,
rowcnd
,
colcnd
,
amax
,
equed
)
call pclaqge
(
m
,
n
,
a
,
ia
,
ja
,
desca
,
r
,
c
,
rowcnd
,
colcnd
,
amax
,
equed
)
call pzlaqge
(
m
,
n
,
a
,
ia
,
ja
,
desca
,
r
,
c
,
rowcnd
,
colcnd
,
amax
,
equed
)
Description
The
p?laqge
routine
equilibrates a general
m
-by-
n
distributed matrix sub(
A
) =
A
(
ia
:
ia
+
m
-1
,
ja
:
ja
+
n
-1)
using the row and scaling factors in the vectors
r
and
c
computed by
p?geequ
.
Input Parameters
m
(global)
INTEGER
.
The number of rows in the distributed matrix sub(
A
).
(
m
0)
.
n
(global)
INTEGER
.
The number of columns in the distributed matrix sub(
A
).
(
n
0)
.
a
(local).
REAL
for
pslaqge
DOUBLE PRECISION
for
pdlaqge
COMPLEX
for
pclaqge
COMPLEX*16
for
pzlaqge
.
Pointer into the local memory to an array of size
(
lld_a
,
LOCc
(
ja
+
n
-1))
.
On entry, this array contains the distributed matrix sub(
A
).
ia
,
ja
(global)
INTEGER
.
The row and column indices in the global matrix
A
indicating the first row and the first column of the matrix sub(
A
), respectively.
desca
(global and local)
INTEGER
array of size
dlen_
. The array descriptor for the distributed matrix
A
.
r
(local).
REAL
for
pslaqge
DOUBLE PRECISION
for
pdlaqge
COMPLEX
for
pclaqge