https://github.com/cran/ltsa
Raw File
Tip revision: 78f723c2b3cb9fea2e63beb1ee3db9c9efa2b7ee authored by A.I. McLeod on 13 August 2010, 00:00:00 UTC
version 1.3
Tip revision: 78f723c
is.toeplitz.R
`is.toeplitz` <-
function(x){
is.matrix(x)&&(nrow(x)==ncol(x))&&(max(abs(x-toeplitz(x[1,])))<.Machine$double.eps)
}

back to top