incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r685417 - /incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java
Date Wed, 13 Aug 2008 02:12:03 GMT
Author: edwardyoon
Date: Tue Aug 12 19:12:03 2008
New Revision: 685417

URL: http://svn.apache.org/viewvc?rev=685417&view=rev
Log: (empty)

Modified:
    incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java

Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java?rev=685417&r1=685416&r2=685417&view=diff
==============================================================================
--- incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java (original)
+++ incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java Tue Aug
12 19:12:03 2008
@@ -40,21 +40,24 @@
 
     Matrix c = a.add(b);
 
-    System.out.println("Matrix A");
+    System.out.println("\nMatrix A");
+    System.out.println("----------------------");
     for(int i =  0; i < row; i++) {
       for(int j =  0; j < row; j++) {
         System.out.println(a.get(i, j));
       }
     }
     
-    System.out.println("Matrix B");
+    System.out.println("\nMatrix B");
+    System.out.println("----------------------");
     for(int i =  0; i < row; i++) {
       for(int j =  0; j < row; j++) {
         System.out.println(b.get(i, j));
       }
     }
     
-    System.out.println("Matrix C");
+    System.out.println("\nC = A + B");
+    System.out.println("----------------------");
     for(int i =  0; i < row; i++) {
       for(int j =  0; j < row; j++) {
         System.out.println(c.get(i, j));



Mime
View raw message