numroc2: numroc2

Description Usage Arguments Details Value

View source: R/coords.r

Description

A better version of NUMROC (NUMber Rows Or Columns). Returns the local dimension given global matrix + distribution parameters.

Usage

1
numroc2(N, NB, IPROC, NPROCS)

Arguments

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.

Details

For advanced users only. See pbdDMAT for high-level functions.

Value

The local dimension.


RBigData/pbdBASE documentation built on Oct. 29, 2021, 6:19 p.m.