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

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

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

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

    return (float) Math.sqrt (t);
  }
Compute the Euclidean norm.

@return the norm