Hi, There's this function inside a DistArray
*reduce<http://dist.codehaus.org/x10/xdoc/2.0.3/x10/array/DistArray.html#reduce%28op:%28id$10:T,%20id$11:T%29%7B%7D=> *(x10.lang.Fun_0_2<T<http://dist.codehaus.org/x10/xdoc/2.0.3/x10/array/DistArray.html> ,T <http://dist.codehaus.org/x10/xdoc/2.0.3/x10/array/DistArray.html>,T<http://dist.codehaus.org/x10/xdoc/2.0.3/x10/array/DistArray.html>> op, T <http://dist.codehaus.org/x10/xdoc/2.0.3/x10/array/DistArray.html> unit) *Declaration*: reduce(op:(id$10:T, id$11:T){}=> Tunit:T): T. Could anybody explain to me what does it actually do and a sample utilization example? Is it similar to the reduce used in map reduce applications? Thanks, Han Dong h...@umbc.edu University of Maryland '10 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users