public static double Norm1(this double[,] a) { double[] columnSums = Matrix.Sum(a, 1); return Matrix.Max(columnSums); }