收集
执行排队操作后,将高阵列收集到记忆中
描述
执行所有计算未评估的高阵列所需的排队操作y
=聚集(X
)X
并将结果收集到记忆中y
。
MATLAB®如果记忆的结果可能会用完收集
calculation is too large. If you are unsure whether the result can fit in memory, use收集(头(x))
or收集(尾巴(x))
to perform the full calculation, but bring only a small portion of the result into memory.
利用收集
谨慎地确保在可能的情况下在计算过程中合并额外的通过数据。有关更多信息,请参阅延期对高阵列的评估。
例子
输入参数
输出参数
提示
如果您具有并行计算工具箱™,请参见
收集
(并行计算工具箱)for information about gathering分散式
andgpuarray
计算。
扩展功能
在R2016b中引入