Merge branch 'kjvdh/features/testing' into spikes/koen
[jalview.git] / src / jalview / math / MatrixI.java
index 5b93c76..840e93b 100644 (file)
@@ -48,7 +48,7 @@ public interface MatrixI
   double getValue(int i, int j);
 
   /**
-   * Sets the value at row i, colum j
+   * Sets the value at row i, column j
    * 
    * @param i
    * @param j
@@ -63,6 +63,15 @@ public interface MatrixI
    */
   double[] getRow(int i);
 
+  /**
+   * Answers all values present in the Matrix ordered by row,column
+   * 
+   * @return the double array containing the values ordered in {row values} per
+   *         column
+   */
+  double[][] getValues();
+
+
   MatrixI copy();
 
   MatrixI transpose();