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
MatrixI copy();
/**
+ * 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();
+
+ /**
* Returns a new matrix which is the transpose of this one
*
* @return
double[] getE();
+ void setD(double[] v);
+
+ void setE(double[] v);
+
void print(PrintStream ps, String format);
void printD(PrintStream ps, String format);
* @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);
}