Keywords: slug

Next: C Interface Up: PxTRMR2D Previous: Purpose

### Arguments

UPLO
  (global input) CHARACTER1
  On entry, UPLO specifies whether we should copy the upper part or the lower part of the indicated (sub)matrix:
  = 'U':
    Copy the upper triangular part.
  = 'L':
    Copy the lower triangular part.

DIAG
  (global input) CHARACTER1
  On entry, DIAG specifies whether we should copy the diagonal.
  = 'U':
    Do NOT copy the diagonal of the (sub)matrix.
  = 'N':
    Do copy the diagonal of the (sub)matrix.

M
  (global input) INTEGER
  On entry, M specifies the number of rows of the (sub)matrix to be copied. M 0.

N
  (global input) INTEGER
  On entry, N specifies the number of columns of the (sub)matrix to be copied. N 0.

A
  (local input) REAL/COMPLEX/INTEGER array, dimension (LLD_A,LOCc(JA+N-1))
  On entry, the source matrix.

IA
  (global input) INTEGER
  On entry,the global row index of the beginning of the (sub)matrix of A to copy.
  1 IA M_A - M + 1.

JA
  (global input) INTEGER
  On entry,the global column index of the beginning of the (sub)matrix of A to copy.
  1 JA N_A - N + 1.

DESCA
  (global and local input) INTEGER array, dimension (DLEN_)
  The array descriptor for the distributed matrix A.
  Only DESCA(DTYPE_)=1 is supported, and thus DLEN_ = 9.
  If the current process is not part of the context of A, then DESCA(CTXT_) must be equal to -1.

B
  (local output) REAL/COMPLEX/INTEGER array, dimension (LLD_B,LOCc(JB+N-1))
  On exit, the defined (sub)matrix is overwritten by the indicated (sub)matrix from A.

IB
  (global input) INTEGER
  On entry, the global row index of the beginning of the (sub)matrix of B that will be overwritten.
  1 IB M_B - M + 1.

JB
  (global input) INTEGER
  On entry, the global column index of the beginning of the submatrix of B that will be overwritten.
  1 JB N_B - N + 1.

DESCB
  (global and local input) INTEGER array, dimension (DLEN_)
  The array descriptor for the distributed matrix B.
  Only DESCB(DTYPE_)=1 is supported, and thus DLEN_ = 9.
  If the calling process is not part of the context of B, then DESCB(CTXT_) must be equal to -1.

ICTXT
  (global input) INTEGER
  The context encompassing at least the union of all processes in context A and context B. All processes in the context ICTXT must call this routine, even if they do not own a piece of either matrix.

Next: C Interface Up: PxTRMR2D Previous: Purpose