Description: ( 1) the design and preparation of matrix representing a class Matrix. This category includes matrix ranks number variable int rows and int cols, double data matrix data array [ ] [ ], tectonic method Matrix ( ), Matrix ( int rows, int cols ), Matrix ( int rows, int cols, double data [ ] [ ] ), to obtain an element value method of the getData ( int row, int Col ), set a certain element value method of the setData ( int row, int col, double value ), calculate the product of two matrices method for multiply ( Matrix m ) and toString ( ) etc..( 2 ) preparation of class MatrixTest, and in this class to create a two matrix object, computing the product.( 3) through debugging procedures after completing the experiment report.
To Search:
File list (Check if you may need any files):
Matrix.java
MatrixTest.java