codistributed

阵列的访问元素并行池工人分布

构造函数

codistributedcodistributed.build

您也可以明确的SPMD代码或任何的几个MATLAB功能的通信工作任务创建codistributed阵列。

(___, 'codistributed') 兰特(___, 'codistributed')
(___, 'codistributed') 兰迪(___, 'codistributed')
天道酬勤(___, 'codistributed') randn(___, 'codistributed')
为NaN(___, 'codistributed') codistributed.cell
那些(___, 'codistributed') codistributed.spalloc
真正(___, 'codistributed') codistributed.speye
(___, 'codistributed') 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函数:

功能 描述
classUnderlying 阵列中的元素的类(数据类型)
iscodistributed 如果阵列被codistributed指示
是真实的 指示如果阵列元素是实
长度 矢量的长度或最大数组维度
为ndims 阵列中的维数
尺寸 阵列尺寸的大小

介绍了在R2008b