tmp/getidxs: Parallelizing work assignment.

getidxsR Documentation

Parallelizing work assignment.

Description

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

Usage

getidxs(m)

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


matloff/Rdsm documentation built on June 13, 2025, 8 p.m.