This function fully supports tall arrays. For
more information, see Tall Arrays.
You can use head
and tail
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 by gather(A)
will
fit in memory, then use gather(head(A))
or gather(tail(A))
.
These commands still fully evaluate the tall array A
,
but only return a small subset of the result in memory.
This function fully supports GPU arrays. For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).
This function fully supports distributed arrays. For more
information, see Run MATLAB Functions with Distributed Arrays (Parallel Computing Toolbox).