title: testing if a numpy array is symmetric?
body: <p>Is there a better pythonic way of checking if a ndarray is diagonally symmetric in a particular dimension? i.e for all of x</p>
  
  <pre><code>(arr[:,:,x].T==arr[:,:,x]).all()
  </code></pre>
  
  <p>I'm sure I'm missing an (duh) answer but its 2:15 here... :)</p>
  
  <p>EDIT: to clarify, I'm looking for a more 'elegant' way to do :</p>
  
  <pre><code>for x in range(xmax):
      assert (arr[:,:,x].T==arr[:,:,x]).all()
  </code></pre>