called many times, the set of returned matrices will have appropriately statistically distributed eigenvalues. This is important for channel capacity calculations. The algorithm is from F. Mezzadri, "How to generate random matrices from the classical compact groups,” arXiv Prepr. math-ph/0609050, vol. 54, no. 5, pp. 592–604, 2006.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">N</td><td>matrix dimension</td></tr>
  </table>
  </dd>
</dl>
<dl class="