JAL-3205 added a delta parameter to Matrix.equals()
[jalview.git] / src / jalview / math / MatrixI.java
index d72890a..2c78653 100644 (file)
@@ -159,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);
 }