JAL-3393 Don't need PDF file using Illustrator. Replaced with SVG using Inkscape
[jalview.git] / src / jalview / math / MatrixI.java
index dd7aaf1..2c78653 100644 (file)
@@ -116,6 +116,10 @@ public interface MatrixI
 
   double[] getE();
 
+  void setD(double[] v);
+
+  void setE(double[] v);
+
   void print(PrintStream ps, String format);
 
   void printD(PrintStream ps, String format);
@@ -155,4 +159,14 @@ public interface MatrixI
    * @param d
    */
   void multiply(double d);
+
+  /**
+   * Answers true if the two matrices have the same dimensions, and corresponding values all differ by no
+   * more than delta (which should be a positive value), else false
+   * 
+   * @param m2
+   * @param delta
+   * @return
+   */
+  boolean equals(MatrixI m2, double delta);
 }