Description Usage Arguments Details Value
View source: R/get_local_dim.r
Given a global number of rows or columns, get the corresponding local number
of rows or columns. Pass the number of rows for a shaq
and the number
of columns for a tshaq
.
1 |
dim |
Either the global number of rows or the global number of columns. |
This assumes that the data is distributed across ranks in roughly equal
pieces. Modify the communicator by setting .pbd_env$SPMD.CT$comm
.
The number of rows/columns which is local to the calling rank.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.