Get the value of the distributed matrix at global indices gi x gj.
getLocal(x, gi, gj, all.rank = TRUE, gridinfo)A distributed matrix.
Global row and column indices, respectively.
Logical; if TRUE, then all processes will hold the desired
value on exit. Otherwise, only the process who owns the local
value returns this value, while every other process returns NULL.
An optional parameter; each local data lookup requires the data
contained in gridinfo(ICTXT(x)). So you may specify it
yourself (and if you are making many function calls, this is
preferable performance-wise), or the lookup will be performed
for you.
The value at global index gi x gj.