ph-math/src/main/java/com/helger/numbercruncher/matrix/SquareMatrix.java
@Override
  protected void set (final float values[][])
  {
    super.set (values);
    m_nRows = m_nCols = Math.min (m_nRows, m_nCols);
  }
@Override
  protected void set (final float values[][])
  {
    super.set (values);
    m_nRows = m_nCols = Math.min (m_nRows, m_nCols);
  }
@ Override protected void set ( final float values [ ] [ ] ) { super . set ( values ) ; m_nRows = m_nCols = Math . min ( m_nRows , m_nCols ) ; }
Set this square matrix from a 2-d array of values. If the values are not
square, only the upper left square is used.

@param values
the 2-d array of values
Set this square matrix from a 2 - d array of values . If the values are not square only the upper left square is used .