EvenlySplitDataElements¶
Gives a distribution for X data_elements
across Y split_across
buckets.
Useful to taking things like an Array of data and dividing it up "evenly" across a number of workers.
The return value is an Array of split_across
length with each bucket being
the number of data_elements
that would fall into that bucket. In our
fork/join use case, that means that each Array bucket is the number of
data_elements to give to a worker corresponding to the bucket.
Constructors¶
create¶
Returns¶
Public Functions¶
apply¶
Parameters¶
Returns¶
eq¶
Parameters¶
- that: EvenlySplitDataElements val
Returns¶
- Bool val
ne¶
Parameters¶
- that: EvenlySplitDataElements val
Returns¶
- Bool val