fold
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Aggregate elements of each partition and the subsequent results for all partitions
matlab.compiler.mlspark.RDD.fold will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
Syntax
result =
fold(obj,zeroValue,func)
Description
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016bSee Also
foldByKey | groupBy | collect | parallelize