Hi,

There is a simple sub-task.
https://issues.apache.org/jira/browse/HAMA-184

Here's the pseudo code, should be ported to map/reduce model.

//finds the diagonal elements of matrix A and puts them into matrix B

for (int i = 0; i < n; i++) {

  B[i][i] = A[i][i];

}


-- 
Best Regards, Edward J. Yoon @ NHN, corp.
[email protected]
http://blog.udanax.org

Reply via email to