|
Size: 1374
Comment: converted to 1.6 markup
|
← Revision 13 as of 2009-12-02 08:00:25 ⇥
Size: 63
Comment: removing old data
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| == Abstract definition of matrix multiplication == In the following tables, matrix [[http://wiki.apache.org/hama-data/attachments/MatrixMultiply/attachments/matrix_a.gif]] represents the quantities of the materials P and Q to produce products M and N. Matrix [[http://wiki.apache.org/hama-data/attachments/MatrixMultiply/attachments/matrix_b.gif]] represents the prices of the materials P and Q of the suppliers C1 and C2. In this case, the first row of the second column of AB, aq + bs, represents the total cost of the producing product A. ||<bgcolor="#ececec"> Product\Resource ||<bgcolor="#ececec">{{{ }}} P {{{ }}}||<bgcolor="#ececec">{{{ }}} Q {{{ }}}|| ||<bgcolor="#ececec">{{{ }}} M {{{ }}}||{{{ }}} a {{{ }}}||{{{ }}} b {{{ }}}|| ||<bgcolor="#ececec">{{{ }}} N {{{ }}}||{{{ }}} c {{{ }}}||{{{ }}} d {{{ }}}|| ||<bgcolor="#ececec"> Resource\Company ||<bgcolor="#ececec">{{{ }}} C1 {{{ }}}||<bgcolor="#ececec">{{{ }}} C2 {{{ }}}|| ||<bgcolor="#ececec">{{{ }}} P {{{ }}}||{{{ }}} p {{{ }}}||{{{ }}} q {{{ }}}|| ||<bgcolor="#ececec">{{{ }}} Q {{{ }}}||{{{ }}} r {{{ }}}||{{{ }}} s {{{ }}}|| |
See how to multiply matrices using Map/Reduce