title: bitwise operations between elements in a list
body: <p>I have a of list of bitwise elements, e.g. [1,1,1], and I want to do a bitwise OR operation between every element in the list.  So, e.g.</p>
  
  <p>for [1,1,1] do</p>
  
  <p>1 | 1 | 1 = 1    </p>
  
  <p>or for [1,17,1] do </p>
  
  <p>1 | 17 | 1 = 17</p>
  
  <p>How can I do this without looping?  Numpy's bitwise_or only seems to work on 2 arrays.  Is there a bitwise &amp; or | that works on every element, similar to sum, or np.mean?   Thanks.  </p>