22 float * A,
int * IA,
int * JA,
int * DESCA,
24 float * C,
int * IC,
int * JC,
int * DESCC )
26 void pstradd_( UPLO, TRANS, M, N, ALPHA, A, IA, JA, DESCA, BETA,
32 int * IA, * IC, * JA, * JC, * M, * N;
33 float * ALPHA, * BETA;
244 char DirAC, TranOp, UploC, ctop, rtop;
245 int Ai, Aj, Ci, Cj, ctxt, info, mycol, myrow, notran, npcol,
264 if( !( info = ( ( nprow == -1 ) ? -( 901 +
CTXT_ ) : 0 ) ) )
266 if( ( !upper ) && ( UploC !=
CLOWER ) )
268 PB_Cwarn( ctxt, __LINE__,
"PSTRADD",
"Illegal UPLO = %c\n", UploC );
271 else if( ( !notran ) && ( TranOp !=
CTRAN ) && ( TranOp !=
CCOTRAN ) )
273 PB_Cwarn( ctxt, __LINE__,
"PSTRADD",
"Illegal TRANS = %c\n", TranOp );
277 PB_Cchkmat( ctxt,
"PSTRADD",
"A", *M, 3, *N, 4, Ai, Aj, Ad, 9,
280 PB_Cchkmat( ctxt,
"PSTRADD",
"A", *N, 4, *M, 3, Ai, Aj, Ad, 9,
282 PB_Cchkmat( ctxt,
"PSTRADD",
"C", *M, 3, *N, 4, Ci, Cj, Cd, 14,
285 if( info ) {
PB_Cabort( ctxt,
"PSTRADD", info );
return; }
290 if( ( *M == 0 ) || ( *N == 0 ) ||
301 ((
char *)BETA), ((
char *)BETA), ((
char *) C), Ci, Cj, Cd );
306 ((
char *)BETA), ((
char * )C), Ci, Cj, Cd );
328 TRAN ), *M, *N, ((
char *) ALPHA), ((
char *) A), Ai, Aj, Ad,
329 ((
char *) BETA), ((
char *) C), Ci, Cj, Cd );