ph-math/src/main/java/com/helger/numbercruncher/matrix/RowVector.java
public float norm ()
  {
    double t = 0;
    for (int c = 0; c < m_nCols; ++c)
    {
      final float v = m_aValues[0][c];
      t += v * v;
    }

    return (float) Math.sqrt (t);
  }
public float norm ()
  {
    double t = 0;
    for (int c = 0; c < m_nCols; ++c)
    {
      final float v = m_aValues[0][c];
      t += v * v;
    }

    return (float) Math.sqrt (t);
  }
public float norm ( ) { double t = 0 ; for ( int c = 0 ; c < m_nCols ; ++ c ) { final float v = m_aValues [ 0 ] [ c ] ; t += v * v ; } return ( float ) Math . sqrt ( t ) ; }
Compute the Euclidean norm.

@return the norm
Compute the Euclidean norm .