title: Eigen SVD Double Cast
body: <p>I'm trying to use the EIGEN libs. In particular I'm using the SVD.</p>
  
  <p>After the calculation of the singular values I need to perform this operation:</p>
  
  <pre><code>svd.singularValues()/svd.singularValues().row(1)
  </code></pre>
  
  <p>which is a vector dived by a scalar.</p>
  
  <p>My questions are:</p>
  
  <p>1) Why this operation gives me:</p>
  
  <blockquote>
    <p>main.cpp:149:56: error: no match for ‘operator/’ (operand types are
    ‘const SingularValuesType {aka const Eigen::Matrix}’ and
    ‘Eigen::DenseBase >::ConstRowXpr {aka
    const Eigen::Block, 1, 1, false>}’)</p>
  </blockquote>
  
  <p>2) How can i copy the values contained into <code>svd.singularValues().row(1)</code> in standard "double" variable?</p>