Description: Matrix class. This class includes matrix, int rows, and the ranks of the number of variables int cols, matrix data array double data [][], constructor Matrix (), Matrix (int rows, int cols), Matrix (int rows, int cols, double data [] []), to obtain the value of an element methods getData (int row, int col), set the value of an element methods setData (int row, int col, double value), the calculation method of the product of two matrices multiply (Matrix m) as well as the toString () and so on.
File list (Check if you may need any files):
作业7\KeyInput.java
.....\MatrixTest.java
作业7