# hama-dev mailing list archives

##### Site index · List index
Message view
Top
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HAMA-13) Scalar and Matrix Multiplication
Date Tue, 02 Sep 2008 09:04:45 GMT
```
[ https://issues.apache.org/jira/browse/HAMA-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon updated HAMA-13:
-------------------------------

Resolution: Fixed
Status: Resolved  (was: Patch Available)

I just committed this.

> Scalar and Matrix Multiplication
> ---------------------------------
>
>                 Key: HAMA-13
>                 URL: https://issues.apache.org/jira/browse/HAMA-13
>             Project: Hama
>          Issue Type: Improvement
>          Components: implementation
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.1.0
>
>         Attachments: HAMA-13.patch
>
>
> There are two types of multiplication for matrices: scalar multiplication and matrix
multiplication. Scalar multiplication is easy. You just take a number (called a "scalar")
and multiply it on every entry in the matrix. For example,
> For the following matrix A, find 2A :
> 2A = 2- {[a, b], [c, d]} = {[2- a, 2- b], [2- c, - d]}
> however, matrix multiplication is quite another story. We need to multiply the ROWS of
A by the COLUMNS of B. By this I mean that I first take the first row of A and the first column
of B, and we multiply the first entries, then the second entries, and then the third entries,
and then we add the three products. The sum is one entry in the product matrix AB.
> reference : http://carbon.cudenver.edu/csprojects/CSC5809S01/Simd/parmult.html

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

```
Mime
View raw message