22 float * A,
int * IA,
int * JA,
int * DESCA,
24 float * C,
int * IC,
int * JC,
int * DESCC )
26 void psgeadd_( TRANS, M, N, ALPHA, A, IA, JA, DESCA, BETA, C, IC, JC, DESCC )
31 int * IA, * IC, * JA, * JC, * M, * N;
32 float * 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__,
"PSGEADD",
"Illegal TRANS = %c\n", TrA );
231 PB_Cchkmat( ctxt,
"PSGEADD",
"A", *M, 2, *N, 3, Ai, Aj, Ad, 8,
234 PB_Cchkmat( ctxt,
"PSGEADD",
"A", *N, 3, *M, 2, Ai, Aj, Ad, 8,
236 PB_Cchkmat( ctxt,
"PSGEADD",
"C", *M, 2, *N, 3, Ci, Cj, Cd, 13, &info );
238 if( info ) {
PB_Cabort( ctxt,
"PSGEADD", 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),