## Developer Reference

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

# p?heevd

Computes all eigenvalues and eigenvectors of a complex Hermitian matrix by using a divide and conquer algorithm.

## Syntax

Include Files
Description
The
p?heevd
routine
computes all eigenvalues and eigenvectors of a complex Hermitian matrix
A
by using a divide and conquer algorithm.
Input Parameters
np
= the number of rows local to a given process.
nq
= the number of columns local to a given process.
jobz
(global)
CHARACTER*1
.
Must be
'N'
or
'V'
.
Specifies if it is necessary to compute the eigenvectors:
If
jobz
=
'N'
, then only eigenvalues are computed.
If
jobz
=
'V'
, then eigenvalues and eigenvectors are computed.
uplo
(global)
CHARACTER*1
.
Must be
'U'
or
'L'
.
Specifies whether the upper or lower triangular part of the Hermitian matrix
A
is stored:
If
uplo
=
'U'
,
a
stores the upper triangular part of
A
.
If
uplo
=
'L'
,
a
stores the lower triangular part of
A
.
n
(global)
INTEGER
.
The number of rows and columns of the matrix
A
(
n
0)
.
a
(local).
COMPLEX
for
pcheevd
DOUBLE COMPLEX
for
pzheevd
.
Block cyclic array of global size
(
n
,
n
)
and local size
(
lld_a
,
LOC
c
(
ja
+
n
-1))
. On entry, the Hermitian matrix
A
.
If
uplo
=
'U'
, only the upper triangular part of
A
is used to define the elements of the Hermitian matrix.
If
uplo
=
'L'
, only the lower triangular part of
A
is used to define the elements of the Hermitian matrix.
ia
,
ja
(global)
INTEGER
.
The row and column indices in the global matrix
A
indicating the first row and the first column of the submatrix
A
, respectively.
desca
(global and local)
INTEGER
array of size
dlen_
. The array descriptor for the distributed matrix
A
. If
desca
(
ctxt_
)
is incorrect,
p?heevd
cannot guarantee correct error reporting.
iz
,