hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Created: (HAMA-11) Adding and Subtracting Matrices
Date Tue, 29 Jul 2008 09:52:31 GMT
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.

View raw message