Learn R Programming

ddR (version 0.1.2)

getPartitionIdsAndOffsets: Gets the internal set of partitions, and offsets within each partition, of a set 1d or 2d-subset indices for a distributed object

Description

It returns a list of 3 elements, where the first element is a list of partitions, the second is a list of row indices, and third a a list of column indices.

Usage

getPartitionIdsAndOffsets(indices, psizes, nparts)

Arguments

indices
A sorted list of sorted vectors, where the first element are the row indices, and the second (if 2d), column indices.
psizes
Partition-sizes matrix of the distributed object.
nparts
nparts vector of the distributed object.

Details

Note: This is an internal helper function of ddR.