22 float * A,
int * IA,
int * JA,
int * DESCA,
24 float * C,
int * IC,
int * JC,
int * DESCC )
26 void pctradd_( 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__,
"PCTRADD",
"Illegal UPLO = %c\n", UploC );
271 else if( ( !notran ) && ( TranOp !=
CTRAN ) && ( TranOp !=
CCOTRAN ) )
273 PB_Cwarn( ctxt, __LINE__,
"PCTRADD",
"Illegal TRANS = %c\n", TranOp );
277 PB_Cchkmat( ctxt,
"PCTRADD",
"A", *M, 3, *N, 4, Ai, Aj, Ad, 9,
280 PB_Cchkmat( ctxt,
"PCTRADD",
"A", *N, 4, *M, 3, Ai, Aj, Ad, 9,
282 PB_Cchkmat( ctxt,
"PCTRADD",
"C", *M, 3, *N, 4, Ci, Cj, Cd, 14,
285 if( info ) {
PB_Cabort( ctxt,
"PCTRADD", info );
return; }
290 if( ( *M == 0 ) || ( *N == 0 ) ||
302 ((
char *)BETA), ((
char *)BETA), ((
char *) C), Ci, Cj, Cd );
307 ((
char *)BETA), ((
char * )C), Ci, Cj, Cd );
330 ((
char *) ALPHA), ((
char *) A), Ai, Aj, Ad, ((
char *) BETA),
331 ((
char *) C), Ci, Cj, Cd );