Reduce函数对发出的特定单词计数求和。
The Reduce function sums together all counts emitted for a particular word.
至于定义嘛,实际上,就是把区域分割成许多小区域,再把一点的函数值乘以那个小区域的面积,然后对乘积求和。
And the definition, actually, is we split the region into lots of tiny little pieces, we multiply the value of a function at the point times the area of a little piece and we sum that everywhere.
这个求和叫做配分函数。
应用推荐