public static double Norm2(this double[,] a) { return new SingularValueDecomposition(a, false, false).TwoNorm; }