Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.
The following page has been changed by udanax:
http://wiki.apache.org/hama/Architecture


== Dense Matrix ==
 For dense matrix computations, The blockpartitioned algorithms used to minimize data movement and network cost. Dense Matrix and Blocked Dense Matrix are both stored in one table with other metadata.
+ For dense matrix computations, The blockpartitioned algorithms used to minimize data movement and network cost. Dense Matrix and Blocked Dense Matrix are both stored in one table with other metadata. But, Blocked dense matrix can be synchronized by dense matrix update.

  BTW, How to synchronize them? Should we blocking when operate something?  Edward
{{{
// Generate matrix with random elements
@@ 23, +21 @@
DenseMatrix b = DenseMatrix.random(conf, 1000, 1000);
// The type of the Matrix to be blocked, must be dense.
 a.blocking();
+ a.blocking(2);
 b.blocking();
+ b.blocking(2);
DenseMatrix c = a.mult(b);
}}}