title: Numpy Modular arithmetic
body: <p>How can I define in numpy a matrix that uses operations modulo 2?</p>
  
  <p>For example:</p>
  
  <pre><code>0 0       1 0       1 0
  1 1   +   0 1   =   1 0
  </code></pre>
  
  <p>Thanks! </p>