public ISimpleBitArray Not() { var res = new SimpleBitArray(Count); for (int i = 0; i < Count; i++) { res[i] = !this[i]; } return(res); }
public ISimpleBitArray Or(ISimpleBitArray other) { CheckSameSize(this, other); var res = new SimpleBitArray(Count); for (int i = 0; i < Count; i++) { res[i] = this[i] | other[i]; } return(res); }