PDSYGS2(l) | LAPACK routine (version 1.5) | PDSYGS2(l) |
NAME¶
PDSYGS2 - reduce a real symmetric-definite generalized eigenproblem to standard formSYNOPSIS¶
- SUBROUTINE PDSYGS2(
- IBTYPE, UPLO, N, A, IA, JA, DESCA, B, IB, JB, DESCB, INFO )
- CHARACTER
- UPLO
- INTEGER
- IA, IB, IBTYPE, INFO, JA, JB, N
- INTEGER
- DESCA( * ), DESCB( * )
- DOUBLE
- PRECISION A( * ), B( * )
PURPOSE¶
PDSYGS2 reduces a real symmetric-definite generalized eigenproblem to standard form.DTYPE_A = 1.
the BLACS process grid A is distribu-
ted over. The context itself is glo-
bal, but the handle (the integer
value) may vary.
array A.
array A.
the rows of the array.
the columns of the array.
row of the array A is distributed. CSRC_A (global) DESCA( CSRC_ ) The process column over which the
first column of the array A is
distributed.
array. LLD_A >= MAX(1,LOCr(M_A)).
LOCr( M ) = NUMROC( M, MB_A, MYROW, RSRC_A, NPROW ),
LOCc( N ) = NUMROC( N, NB_A, MYCOL, CSRC_A, NPCOL ). An upper bound for these quantities may be computed by:
LOCr( M ) <= ceil( ceil(M/MB_A)/NPROW )*MB_A
LOCc( N ) <= ceil( ceil(N/NB_A)/NPCOL )*NB_A
ARGUMENTS¶
- IBTYPE (global input) INTEGER
- = 1: compute inv(U**T)*sub( A )*inv(U) or inv(L)*sub( A )*inv(L**T); = 2 or 3: compute U*sub( A )*U**T or L**T*sub( A )*L.
- UPLO (global input) CHARACTER
-
- N (global input) INTEGER
- The order of the matrices sub( A ) and sub( B ). N >= 0.
- A (local input/local output) DOUBLE PRECISION pointer into the
- local memory to an array of dimension (LLD_A,
LOCc(JA+N-1)). On entry, this array contains the local pieces of the
N-by-N symmetric distributed matrix sub( A ). If UPLO = 'U', the leading
N-by-N upper triangular part of sub( A ) contains the upper triangular
part of the matrix, and its strictly lower triangular part is not
referenced. If UPLO = 'L', the leading N-by-N lower triangular part of
sub( A ) contains the lower triangular part of the matrix, and its
strictly upper triangular part is not referenced.
- IA (global input) INTEGER
- A's global row index, which points to the beginning of the submatrix which is to be operated on.
- JA (global input) INTEGER
- A's global column index, which points to the beginning of the submatrix which is to be operated on.
- DESCA (global and local input) INTEGER array of dimension DLEN_.
- The array descriptor for the distributed matrix A.
- B (local input) DOUBLE PRECISION pointer into the local memory
- to an array of dimension (LLD_B, LOCc(JB+N-1)). On entry, this array contains the local pieces of the triangular factor from the Cholesky factorization of sub( B ), as returned by PDPOTRF.
- IB (global input) INTEGER
- B's global row index, which points to the beginning of the submatrix which is to be operated on.
- JB (global input) INTEGER
- B's global column index, which points to the beginning of the submatrix which is to be operated on.
- DESCB (global and local input) INTEGER array of dimension DLEN_.
- The array descriptor for the distributed matrix B.
- INFO (global output) INTEGER
- = 0: successful exit
12 May 1997 | LAPACK version 1.5 |