@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!(obj instanceof PairSet<?, ?>))
			return false;
		final PairSet<?, ?> other = (PairSet<?, ?>) obj;
		return hasSameIndices(other) && matrix.equals(other.matrix);
	}