Description Usage Arguments Value
C++ implementation to check if a matrix is an adjacency matrix
1 |
m |
A matrix to check. |
Returns 0 if the matrix is an adjacency matrix. If the matrix is not square, returns 1; if the diagonal entries are not all zero, returns 2; if the matrix is not symmetric, returns 3; if the matrix contains values other than 0 or 1, returns 4.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.