remoteGetIndices {bigGP}R Documentation

Determine Indices of Vector or Matrix Elements Stored on all Processes

Description

remoteGetIndices determines the indices of the subset of a matrix or vector that are stored on each process.

Usage

remoteGetIndices(type = "vector", objName, objPos = ".GlobalEnv", n1,
 n2 = NULL, h1 = 1, h2 = 1)

Arguments

type

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'.

objName

the name to use for the object containing the indices on the slave processes.

objPos

where to do the assignment of the object, given as a character string (unlike assign). This can indicate an environment or a ReferenceClass object.

n1

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.

n2

a positive integer, giving the number of columns of a a rectangular matrix.

h1

a positive integer, giving the block replication factor for a vector, a symmetric or triangular matrix, or the rows of a rectangular matrix.

h2

a positive integer, giving the block replication factor for the columns of the rectangular matrix.

Details

remoteGetIndices calculates the indices as described in localGetVectorIndices, localGetTriangularMatrixIndices, and localGetRectangularMatrixIndices, and writes them to an object named objName.


[Package bigGP version 0.1.8 Index]