title: How to detect if all the rows of a non-square matrix are orthogonal in python
body: <p>I can test the rank of a matrix using np.linalg.matrix_rank(A) . But how can I test if all the rows of A are orthogonal efficiently?</p>
  
  <p>I could take all pairs of rows and compute the inner product between them but is there a better way?</p>
  
  <p>My matrix has fewer rows than columns and the rows are not unit vectors.</p>