remoteGetIndices
determines the indices of the subset of a
matrix or vector that are stored on each process.
remoteGetIndices(type = "vector", objName, objPos = ".GlobalEnv", n1,
n2 = NULL, h1 = 1, h2 = 1)
a string, one of 'vector', 'symmetric', 'triangular', or 'rectangular' giving the type of object for which one wants the indices. Note that square and symmetric matrices are both stored as lower triangles, so these options both return the same result. For square, non-symmetric matrices, use 'rectangular'.
the name to use for the object containing the indices on the slave processes.
where to do the assignment of the object, given as a character string (unlike
assign
). This can indicate an environment or a ReferenceClass
object.
a positive integer, giving the length of the vector, number of rows and columns of a symmetric or triangular matrix and number of rows of a rectangular matrix, including square, non-symmetric matrices.
a positive integer, giving the number of columns of a a rectangular matrix.
a positive integer, giving the block replication factor for a vector, a symmetric or triangular matrix, or the rows of a rectangular matrix.
a positive integer, giving the block replication factor for the columns of the rectangular matrix.
remoteGetIndices
calculates the indices as described in
localGetVectorIndices
,
localGetTriangularMatrixIndices
, and
localGetRectangularMatrixIndices
, and writes them to an
object named objName
.