output the eigenvector matrix in full: JAL-616
authorjprocter <Jim Procter>
Wed, 18 Aug 2010 16:51:35 +0000 (16:51 +0000)
committerjprocter <Jim Procter>
Wed, 18 Aug 2010 16:51:35 +0000 (16:51 +0000)
src/jalview/analysis/PCA.java

index c74279b..6af3348 100755 (executable)
@@ -241,12 +241,19 @@ public class PCA implements Runnable
     eigenvector.tqli();
 
     details.append(" --- New diagonalization matrix ---\n");
+    eigenvector.print(ps);
     details.append(" --- Eigenvalues ---\n");
     eigenvector.printD(ps);
     ps.println();
-    // taps.println();
-    // taps.println("Transformed sequences = ");
-    // Matrix trans = m.preMultiply(eigenvector);
-    // trans.print(System.out);
+    /*for (int seq=0;seq<symm.rows;seq++)
+    {
+      ps.print("\"Seq"+seq+"\"");
+      for (int ev=0;ev<symm.rows; ev++)
+      {
+        
+        ps.print(","+component(seq, ev));
+      }
+      ps.println(); 
+    }*/
   }
 }