[ 
https://issues.apache.org/jira/browse/HAMA-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618921#action_12618921
 ] 

Edward J. Yoon commented on HAMA-11:
------------------------------------

-added addition map/reduce classes

> Adding and Subtracting Matrices
> -------------------------------
>
>                 Key: HAMA-11
>                 URL: https://issues.apache.org/jira/browse/HAMA-11
>             Project: Hama
>          Issue Type: Improvement
>          Components: algorithm
>            Reporter: Edward J. Yoon
>
> Matrix addition/subtraction is fairly simple, and is done entry-wise. For 
> instance:
> If Matrix A = {[a, b], [c, d]}, Matrix B = {[e, f], [g, h]},
> A + B
> Add the pairs of entries, and simplify for the final answer:
> {[a, b], [c, d]} + {[e, f], [g, h]} = {[a + e, b + f], [c + g, d + h]}
> So, we can solve this using the mapreduce by 1D row-wise partitioning.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to