public float L1Norm() { float z = 0; for (int Idx = 0; Idx < Dim; Idx++) { z += Math.Abs(VectorValue[Idx]); } return z; }