3 import java.io.PrintStream;
5 public interface MatrixI
8 * Answers the number of columns
15 * Answers the number of rows
22 * Answers the value at row i, column j
28 double getValue(int i, int j);
31 * Answers a copy of the values in the i'th row
35 double[] getRow(int i);
41 MatrixI preMultiply(MatrixI m);
43 MatrixI postMultiply(MatrixI m);
49 void print(PrintStream ps, String format);
51 void printD(PrintStream ps, String format);
53 void printE(PrintStream ps, String format);
55 void tqli() throws Exception;