title: floor of a matrix in OpenCV 2.4.3
body: <p>I have a matrix of type Mat. I want to calculate floor of the Mat. I have searched the Operations on Arrays and The core functionality documentation.</p>
  
  <p>Below is a sample code</p>
  
  <pre><code>Mat M = (Mat_&lt;double&gt;(3,3) &lt;&lt; 1.2, 0.3, 0.9, 2.3, 1.1, 0.7, 10.2, 10,3, 8.0, 11.6);
  </code></pre>
  
  <p>I am looking for something like</p>
  
  <p><code>floor(M, M)</code> or </p>
  
  <pre><code>M = floor(M)
  </code></pre>
  
  <p>Can anyone tell me how to do this? Platform C++</p>