is_symmetric_cpp {SeqNet} | R Documentation |
C++ implementation to check if a matrix is symmetric
is_symmetric_cpp(m, tol = 1e-12)
m |
A matrix to check. |
tol |
A Numeric scalar >= 0. Differences smaller than tol are ignored. |
Returns TRUE if the matrix is symmetric and FALSE otherwise.