getidxs: Parallelizing work assignment.

Description Usage Arguments Details Value Author(s)

View source: R/Rdsm.R

Description

Assigns to an Rdsm thread its portion of a set of indices, for the purpose of partitioning work to the threads.

Usage

1

Arguments

m

The sequence 1:m will be partitioned, and one portion will be assigned to the calling thread.

Details

The range 1:m will be partitioned into r subranges, the i-th of which will be used by thread i to determine which work that thread has been assigned.

Value

The subrange assigned to the invoking thread.

Author(s)

Norm Matloff


Rdsm documentation built on May 1, 2019, 10:52 p.m.