Test if a Matrix or other Object is Symmetric
Generic function to test if
object is symmetric or not. Currently only a matrix method is implemented.
## S3 method for class 'matrix':
isSymmetric((object, tol = 100 * .Machine$double.eps, ...))
- any R object; a
matrix for the matrix method.
- numeric scalar >= 0. Smaller differences are not considered, see
- further arguments passed to methods; the matrix method passes these to
matrix method is used inside
eigen by default to test symmetry of matrices up to rounding error, using
all.equal. It might not be appropriate in all situations.
Note that a matrix is only symmetric if its
colnames are identical.
logical indicating if
object is symmetric or not.
Documentation reproduced from R 3.0.1. License: GPL-2.