ph-math/src/main/java/com/helger/numbercruncher/matrix/Matrix.java
public float [] [] copyValues2D ()
  {
    final float v[][] = new float [m_nRows] [m_nCols];

    for (int r = 0; r < m_nRows; ++r)
    {
      for (int c = 0; c < m_nCols; ++c)
      {
        v[r][c] = m_aValues[r][c];
      }
    }

    return v;
  }
public float [] [] copyValues2D ()
  {
    final float v[][] = new float [m_nRows] [m_nCols];

    for (int r = 0; r < m_nRows; ++r)
    {
      for (int c = 0; c < m_nCols; ++c)
      {
        v[r][c] = m_aValues[r][c];
      }
    }

    return v;
  }
public float [ ] [ ] copyValues2D ( ) { final float v [ ] [ ] = new float [ m_nRows ] [ m_nCols ] ; for ( int r = 0 ; r < m_nRows ; ++ r ) { for ( int c = 0 ; c < m_nCols ; ++ c ) { v [ r ] [ c ] = m_aValues [ r ] [ c ] ; } } return v ; }
Copy the values of this matrix.

@return the copied values
Copy the values of this matrix .