예제 #1
0
 /// <returns>true when metric is diagonal and all entries on the diagonal are either +1 or -1 or 0.</returns>
 public bool IsSimpleDiagonal()
 {
     return(Util.IsSimpleDiagonal(m_matrix));
 }
예제 #2
0
 /// <returns>true when exact 'value' is anywhere on the diagonal.</returns>
 public bool HasValueOnDiagonal(double value)
 {
     return(Util.HasValueOnDiagonal(m_matrix, value));
 }