22 double * A,
int * IA,
int * JA,
int * DESCA,
24 double * C,
int * IC,
int * JC,
int * DESCC )
26 void pdgeadd_( TRANS, M, N, ALPHA, A, IA, JA, DESCA, BETA, C, IC, JC, DESCC )
31 int * IA, * IC, * JA, * JC, * M, * N;
32 double * ALPHA, * BETA;
204 char DirA, DirC, ctop, rtop;
205 int Ai, Aj, Ci, Cj, TrA, ctxt, info, mycol, myrow, npcol, nprow,
223 if( !( info = ( ( nprow == -1 ) ? -( 801 +
CTXT_ ) : 0 ) ) )
225 if( ( !notran ) && ( TrA !=
CTRAN ) && ( TrA !=
CCOTRAN ) )
227 PB_Cwarn( ctxt, __LINE__,
"PDGEADD",
"Illegal TRANS = %c\n", TrA );
231 PB_Cchkmat( ctxt,
"PDGEADD",
"A", *M, 2, *N, 3, Ai, Aj, Ad, 8,
234 PB_Cchkmat( ctxt,
"PDGEADD",
"A", *N, 3, *M, 2, Ai, Aj, Ad, 8,
236 PB_Cchkmat( ctxt,
"PDGEADD",
"C", *M, 2, *N, 3, Ci, Cj, Cd, 13, &info );
238 if( info ) {
PB_Cabort( ctxt,
"PDGEADD", info );
return; }
243 if( ( *M == 0 ) || ( *N == 0 ) ||
254 ((
char *)BETA), ((
char *) C), Ci, Cj, Cd );
259 ((
char * )C), Ci, Cj, Cd );
288 ((
char *) ALPHA), ((
char *) A), Ai, Aj, Ad,
289 ((
char *) BETA), ((
char *) C), Ci, Cj, Cd );
294 ((
char *) A), Ai, Aj, Ad, ((
char *) BETA), ((
char *) C),