@Override
	public int countZero() {
		int count = 0;
		for (int i = 1; i <= m; i++) {
			for (int j = 1; j <= n; j++) {
				if (Double.compare(matrix.get(i, j), 0.0) == 0) {
					count += 1;
				}
			}
		}
		return count;
	}