接收master发送过来的子数组。
初始化需要处理的数组,然后根据可用的worker数量,把数组分解成若干部分(子数组)。
Initializes the array and splits it up according to the number of available workers.
它还提供三种访问数组元素的方法:标准索引、创建子数组和切片(slicing),切片能产生维数更小的数组片段的视图。
It also provides three methods for accessing array elements: standard indexing, creating subarrays, and slicing, which produces a less dimensional view of an array segment.
应用推荐