ph-math/src/main/java/com/helger/numbercruncher/matrix/InvertibleMatrix.java
public float norm ()
  {
    float sum = 0;

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

    return (float) Math.sqrt (sum);
  }
public float norm ()
  {
    float sum = 0;

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

    return (float) Math.sqrt (sum);
  }
public float norm ( ) { float sum = 0 ; for ( int r = 0 ; r < m_nRows ; ++ r ) { for ( int c = 0 ; c < m_nCols ; ++ c ) { final float v = m_aValues [ r ] [ c ] ; sum += v * v ; } } return ( float ) Math . sqrt ( sum ) ; }
Compute the Euclidean norm of this matrix.

@return the norm
Compute the Euclidean norm of this matrix .