18
18
isSymmetric <- function(object, ...) UseMethod("isSymmetric")
21
22
if(!is.matrix(object)) return(FALSE) ## we test for symmetric *matrix*
22
23
## cheap pretest: is it square?
27
28
all.equal.numeric(object, Conj(t(object)), tolerance = tol, ...)