protected void set ( final float values [ ] [ ] ) { m_nRows = values . length ; m_nCols = values [ 0 ] . length ; m_aValues = values ; for ( int r = 1 ; r < m_nRows ; ++ r ) { m_nCols = Math . min ( m_nCols , values [ r ] . length ) ; } }
Set this matrix from a 2 - d array of values . If the rows do not have the same length then the matrix column count is the length of the shortest row .