class DenseMatrix implements Serializable {

	public double sum() {
		double s = 0.;
		for (int i = 0; i < this.data.length; i++) {
			s += this.data[i];
		}
		return s;
	}

	public  DenseMatrix(int m, int n);
	public  DenseMatrix(int m, int n, double[] data);
	public  DenseMatrix(int m, int n, double[] data, boolean inRowMajor);
	public  DenseMatrix(double[][] data);

}