阵列的访问元素并行池工人分布
codistributed
,codistributed.build
您也可以明确的SPMD代码或任何的几个MATLAB功能的通信工作任务创建codistributed阵列。
|
|
|
|
|
|
|
codistributed.cell |
|
codistributed.spalloc |
|
codistributed.speye |
|
codistributed.sprand |
codistributed.sprandn |
池中的工人之间,分割阵列,是从工人codistributed数组对象访问。
工人Codistributed阵列所创建的内SPMD
通信作业的任务的函数内声明或从可以作为客户端上的分布式阵列进行访问。
天道酬勤 | 无限的数组 |
为NaN | 不-A-数的数组 |
classUnderlying | 内gpuArray或分布式数组元素的类 |
codistributed.cell | 创建codistributed单元阵列 |
codistributed.colon | 分布式结肠手术 |
codistributed.spalloc | 分配空间稀疏矩阵codistributed |
codistributed.speye | 创建codistributed稀疏矩阵 |
codistributed.sprand | 创建均匀分布的伪随机值的codistributed稀疏数组 |
codistributed.sprandn | 创建均匀分布的伪随机值的codistributed稀疏数组 |
眼 | 单位矩阵 |
假 | 逻辑0(假)的阵列 |
收集 | 转移分布式阵列或gpuArray到本地工作区 |
getCodistributor | Codistributor对象现有codistributed阵列 |
getLocalPart | codistributed阵列的局部部分 |
globalIndices | 对于codistributed阵列的本地部分全球指数 |
isaUnderlying | 真,如果分布阵列的基础元素是指定类的 |
iscodistributed | 真正的codistributed阵列 |
那些 | 那些数组 |
兰特 | 兰特值数组 |
兰迪 | 随机整数数组 |
randn | randn值数组 |
重新分配 | 重新分配codistributed阵列与另一分配方案 |
疏 | 创建稀疏分布或codistributed矩阵 |
真正 | 的逻辑1阵列(真) |
零 | 零的数组 |
对于codistributed阵列的方法有太多来港上市。最像和行为一样内置MATLAB函数。看到与分布阵列运行MATLAB功能。
另外,方法中有几个用于检查阵列本身的特性。大多数行为类似于同名MATLAB函数:
功能 | 描述 |
---|---|
|
阵列中的元素的类(数据类型) |
iscodistributed |
如果阵列被codistributed指示 |
是真实的 |
指示如果阵列元素是实 |
长度 |
矢量的长度或最大数组维度 |
为ndims |
阵列中的维数 |
尺寸 |
阵列尺寸的大小 |