package basicUtils;

/**
 * Created by Xiangxi on 2016/12/6.
 * Contact him on zxx_1996@qq.com
 */
public class Matrix {
    //TODO: all the methods in this class are remained for implementation
    public Matrix(double[][] data) {

    }
    public Matrix(int m, int n, double initial) {

    }
    public Matrix add(Matrix rhm) {

        return null;
    }
    public Matrix sub(Matrix rhm) {
        return null;
    }
    public Matrix multiply(Matrix rhm) {
        return null;
    }
    public Matrix multiply(double scalar) {
        return null;
    }
    public Matrix reduce() {
        return null;
    }
    public Matrix linearSolve(Matrix y) {
        return null;
    }
    public Matrix leastSquareSolve(Matrix y) {
        return null;
    }
    public Matrix transpose() {
        return null;
    }
    public double determinant() {
        return 0;
    }
    public Matrix inverse() {
        return null;
    }
    public Matrix[] svd() {
        return null;
    }
    public Matrix copy() {
        return null;
    }
    public Matrix subMatrix(int lx, int ly, int rx, int ry) {
        return null;
    }
    public Matrix columnUnion(Matrix rhm) {
        return null;
    }
}

@@ -279,24 +279,85 @@
 initial) %7B%0A%0A
+    %7D%0A    public double%5B%5D%5B%5D rawData() %7B%0A        return null;%0A
     %7D%0A    pu

Add one more method in Matrix.java that provides data in double[][] form