title: How to get norm of a row in Eigen?
body: <p>I want to get the norm of a row. I've written following code but it's not true!</p>
  
  <pre><code>for (int i = 0; i &lt; A.rows(); i++)
          A.row(i) = A.row(i).array() / (A.row(i).norm());
  </code></pre>
  
  <p>It is worth mentioning, type of <code>A</code> is <code>MatrixXcf</code>. In your opinion, what's the problem?</p>