Exemple #1
0
 /// <returns>true if 'm' is symmetric up to a small epsilon constant</returns>
 public static bool IsSymmetric(DotNetMatrix.GeneralMatrix m)
 {
     const double EPS = 1e-6;
     DotNetMatrix.GeneralMatrix Z = m.Transpose();
     Z = Z.Subtract(m);
     return (Z.NormInf() < EPS);
 }