title: c++ OpenCV Turn a Mat into a 1 Dimensional Array
body: <p>I have this <code>Mat</code>:</p>
  
  <pre><code>Mat testDataMat(386, 2, CV_32FC1, testDataFloat);
  </code></pre>
  
  <p>Which takes in from:</p>
  
  <pre><code>float testDataFloat[386][2];
  </code></pre>
  
  <p>But I can't figure out how to turn it into a 1 Dimensional Array.</p>
  
  <p>Any help?</p>