ScaLAPACK  2.0.2
ScaLAPACK: Scalable Linear Algebra PACKage
blacs_pnum_.c File Reference
#include "Bdef.h"
Include dependency graph for blacs_pnum_.c:

Go to the source code of this file.


int Cblacs_pnum (int ConTxt, int prow, int pcol)

Function/Subroutine Documentation

int Cblacs_pnum ( int  ConTxt,
int  prow,
int  pcol 

Definition at line 4 of file blacs_pnum_.c.


   MGetConTxt(Mpval(ConTxt), ctxt);
   if ( (Mpval(prow) >= 0) && (Mpval(prow) < ctxt->cscp.Np) &&
        (Mpval(pcol) >= 0) && (Mpval(pcol) < ctxt->rscp.Np) )
      return( Mkpnum(ctxt, Mpval(prow), Mpval(pcol)) );
   else return(-1);

Here is the caller graph for this function: