Ejemplo n.º 1
0
 /// <summary>
 /// Performs a logical <b>AND</b> of the receiver with another bit matrix.
 /// The receiver is modified so that a bit in it has the
 /// value <code>true</code> if and only if it already had the
 /// value <code>true</code> and the corresponding bit in the other bit matrix
 /// argument has the value <code>true</code>.
 /// </summary>
 /// <param name="other">a bit matrix.</param>
 /// <exception cref="ArgumentException">if <i>columns() != other.Columns || rows() != other.Rows</i>.</exception>
 public void And(BitMatrix other)
 {
     checkDimensionCompatibility(other);
     ToBitVector().And(other.ToBitVector());
 }