4 int *cA,
int ldrc,
BI_DistType *dist,
int rdest,
int cdest)
11 int Ng, nprow, npcol, myrow, mycol;
13 Mgridinfo(ctxt, Ng, nprow, npcol, myrow, mycol);
14 if (rdest == -1) rdest = cdest = 0;
24 cA[i] = (int) (cdest + dist[i]) % npcol;
36 rA[i] = (int) (rdest + dist[i]) % nprow;
45 dest =
Mvkpnum(ctxt, rdest, cdest);
50 k = (int) (dest + dist[i]) % Ng;