numroc2 {pbdBASE} | R Documentation |
A better version of NUMROC (NUMber Rows Or Columns). Returns the local dimension given global matrix + distribution parameters.
numroc2(N, NB, IPROC, NPROCS)
N |
Global number of rows/cols. |
NB |
Block size. |
IPROC |
Coordinate of the process whose local info is to be determined. |
NPROCS |
Total number of processors over which matrix is distributed. |
For advanced users only. See pbdDMAT for high-level functions.
The local dimension.