Main Content
aggregate
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Aggregate the elements of each partition and subsequently the results for all partitions into a single value
Syntax
result =
aggregate(obj,zeroValue,seqOp,combOp)
Description
aggregates the
elements into a single value using given combine functions specified
by result
=
aggregate(obj
,zeroValue
,seqOp
,combOp
)seqOp
and combOp
, and a neutral “zero
value” specified by zeroValue
.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b