This documentation is for an old version of IPython. You can find docs for newer versions here.
Classes used in scattering and gathering sequences.
Scattering consists of partitioning a sequence and sending the various pieces to individual nodes in a cluster.
A class for partitioning a sequence using a map.
getPartition(seq, p, q, n=None)¶
Returns the pth partition of q partitions of seq.
The length can be specified as
n, otherwise it is the value of