Learn R Programming

bigGP (version 0.1.8)

getDistributedVectorLength: Find Length of Subset of Vector or Matrix Stored on Slave Process

Description

getDistributedVectorLength, getDistributedTriangularMatrixLength, and getDistributedRectangularLength are internal auxiliary functions that find the length of the vector needed to store the subset of a vector or matrix contained on a given slave process.

Usage

getDistributedVectorLength(n, h = 1)
getDistributedTriangularMatrixLength(n, h = 1)
getDistributedRectangularMatrixLength(n1, n2, h1 = 1, h2 = 1)

Arguments

n

length of vector.

h

replication factor.

n1

number of rows.

n2

number of columns.

h1

replication factor for the rows.

h2

replication factor for the columns.