This function fully supports tall arrays. For more information, seeTall Arrays.
You can usehead
andtail
with tall arrays of any valid underlying data type (single
,double
,int8
,datetime
,table
, and so on).
If you are unsure whether the result returned bygather(A)
will fit in memory, then usegather(head(A))
orgather(tail(A))
. These commands still fully evaluate the tall arrayA
, but only return a small subset of the result in memory.
This function fully supports GPU arrays. For more information, seeRun MATLAB Functions on a GPU(Parallel Computing Toolbox).
This function fully supports distributed arrays. For more information, seeRun MATLAB Functions with Distributed Arrays(Parallel Computing Toolbox).