title: converting type double[][] to float
body: <p>I have a function signature like:</p>
  
  <pre><code>static public double[][] G2Sweep(int row1, int row2, double[][] mtx)
  {
      mtx = (float) mtx;
  }
  </code></pre>
  
  <p>But I need to covert the double[][] matrix into float values. How is this done as the code can't explicitly convert it?</p>